Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewResourceSet (0.15 sec)

  1. cmd/bucket-policy-handlers_test.go

    		Statements: []policy.BPStatement{
    			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{
    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