Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPolicyConfig (0.08 sec)

  1. cmd/bucket-metadata-sys.go

    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return time.Time{}, err
    	}
    	return meta.Created.UTC(), nil
    }
    
    // GetPolicyConfig returns configured bucket policy
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetPolicyConfig(bucket string) (*policy.BucketPolicy, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top