- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createState (0.17 sec)
-
cmd/iam-object-store.go
} if p.Version == 0 { // This means that policy was in the old version (without any // timestamp info). We fetch the mod time of the file and save // that as create and update date. p.CreateDate = objInfo.ModTime p.UpdateDate = objInfo.ModTime } m[policy] = p return nil } }
Go - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
cmd/iam-store.go
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, CreateDate: now, UpdateDate: now, } }
Go - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 74.4K bytes - Viewed (2) -
cmd/iam.go
return nil, err } pdata, err := json.Marshal(d.Policy) if err != nil { return nil, err } return &madmin.PolicyInfo{ PolicyName: policyName, Policy: pdata, CreateDate: d.CreateDate, UpdateDate: d.UpdateDate, }, nil } // ListPolicies - lists all canned policies. func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
Go - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Wed Apr 10 22:37:42 GMT 2024 - 64.4K bytes - Viewed (1)