- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for policyDocs (0.07 sec)
-
cmd/iam-object-store.go
) func (iamOS *IAMObjectStore) loadPolicyDocConcurrent(ctx context.Context, policies ...string) ([]PolicyDoc, error) { policyDocs := make([]PolicyDoc, len(policies)) g := errgroup.WithNErrs(len(policies)) for index := range policies { index := index g.Go(func() error { policyName := path.Dir(policies[index]) policyDoc, err := iamOS.loadPolicy(ctx, policyName) if err != nil && !errors.Is(err, errNoSuchPolicy) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
cmd/iam-store.go
} // PolicyDoc represents an IAM policy with some metadata. type PolicyDoc struct { Version int `json:",omitempty"` Policy policy.Policy CreateDate time.Time `json:",omitempty"` UpdateDate time.Time `json:",omitempty"` } func newPolicyDoc(p policy.Policy) PolicyDoc { now := UTCNow().Round(time.Millisecond) return PolicyDoc{ Version: 1, Policy: p,
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/admin-handlers-users.go
return } policyDoc, err := globalIAMSys.InfoPolicy(name) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } // Is the new API version being requested? infoPolicyAPIVersion := r.Form.Get("v") if infoPolicyAPIVersion == "2" { buf, err := json.MarshalIndent(policyDoc, "", " ") if err != nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0)