Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewResource (0.11 sec)

  1. cmd/bucket-policy-handlers_test.go

    			policy.NewBPStatement(
    				"",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    				policy.NewActionSet(policy.GetBucketLocationAction, policy.ListBucketAction),
    				policy.NewResourceSet(policy.NewResource(bucketName)),
    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    func getAnonWriteOnlyBucketPolicy(bucketName string) *policy.BucketPolicy {
    	return &policy.BucketPolicy{
    		Version: policy.DefaultVersion,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top