Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBucketAccessPolicyToPolicy (0.22 sec)

  1. cmd/policy_test.go

    			if !reflect.DeepEqual(result, testCase.expectedResult) {
    				t.Fatalf("case %v: result: expected: %+v, got: %+v\n", i+1, testCase.expectedResult, result)
    			}
    		}
    	}
    }
    
    func TestBucketAccessPolicyToPolicy(t *testing.T) {
    	case1PolicyInfo := &miniogopolicy.BucketAccessPolicy{
    		Version:    policy.DefaultVersion,
    		Statements: getReadOnlyStatement("mybucket", "myobject*"),
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top