Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for demonte (0.13 sec)

  1. internal/event/arn_test.go

    func TestParseARN(t *testing.T) {
    	testCases := []struct {
    		s           string
    		expectedARN *ARN
    		expectErr   bool
    	}{
    		{"", nil, true},
    		{"arn:minio:sqs:::", nil, true},
    		{"arn:minio:sqs::1:webhook:remote", nil, true},
    		{"arn:aws:sqs::1:webhook", nil, true},
    		{"arn:minio:sns::1:webhook", nil, true},
    		{"arn:minio:sqs::1:webhook", &ARN{TargetID{"1", "webhook"}, ""}, false},
    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/config/lambda/event/arn_test.go

    	testCases := []struct {
    		s           string
    		expectedARN *ARN
    		expectErr   bool
    	}{
    		{"", nil, true},
    		{"arn:minio:s3-object-lambda:::", nil, true},
    		{"arn:minio:s3-object-lambda::1:webhook:remote", nil, true},
    		{"arn:aws:s3-object-lambda::1:webhook", nil, true},
    		{"arn:minio:sns::1:webhook", nil, true},
    		{"arn:minio:s3-object-lambda::1:webhook", &ARN{TargetID{"1", "webhook"}, ""}, false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top