Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Walser (0.15 sec)

  1. internal/event/arn_test.go

    		arn          ARN
    		expectedData []byte
    		expectErr    bool
    	}{
    		{ARN{}, []byte("<ARN></ARN>"), false},
    		{ARN{TargetID{"1", "webhook"}, ""}, []byte("<ARN>arn:minio:sqs::1:webhook</ARN>"), false},
    		{ARN{TargetID{"1", "webhook"}, "us-east-1"}, []byte("<ARN>arn:minio:sqs:us-east-1:1:webhook</ARN>"), false},
    	}
    
    	for i, testCase := range testCases {
    		data, err := xml.Marshal(testCase.arn)
    		expectErr := (err != nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  2. internal/arn/arn_test.go

    				ResourceID:   "my-role",
    			},
    			wantErr: false,
    		},
    		{
    			name: "valid resource ID must succeed",
    			args: args{
    				resourceID:   "-my-role",
    				serverRegion: "us-east-1",
    			},
    			want: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "-my-role",
    			},
    			wantErr: false,
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top