- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for parseConfig (0.12 sec)
-
cmd/sts-handlers.go
if len(form) == 0 { return nil } sessionPolicyStr := form.Get(stsPolicy) if len(sessionPolicyStr) == 0 { return nil } sessionPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(sessionPolicyStr))) if err != nil { return err } // Version in policy must not be empty if sessionPolicy.Version == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
type objectLockConfig Config parsedConfig := objectLockConfig{} if err := d.DecodeElement(&parsedConfig, &start); err != nil { return err } if parsedConfig.ObjectLockEnabled != Enabled { return fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element") } *config = Config(parsedConfig) return nil } // ToRetention - convert to Retention type.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0)