Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for West (0.15 sec)

  1. cmd/config-current_test.go

    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region != globalMinioDefaultRegion {
    		t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region)
    	}
    
    	// Set new region and verify.
    	config.SetRegion(globalServerConfig, "us-west-1")
    	site, err := config.LookupSite(
    		globalServerConfig[config.SiteSubSys][config.Default],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser_test.go

    		},
    		// Test Case - 7.
    		// Test case with invalid region.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"Z7IXGOO6BZ0REAN1Q26I",
    				UTCNow().Format(yyyymmdd),
    				"us-west-2",
    				"s3",
    				"aws4_request"),
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrAuthorizationHeaderMalformed,
    		},
    		// Test Case - 8.
    		// Test case with invalid request version.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  3. cmd/signature-v4_test.go

    				"X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":    fmt.Sprintf(credentialTemplate, "Z7IXGOO6BZ0REAN1Q26I", now.Format(yyyymmdd), "us-west-1"),
    			},
    			region:   "us-west-1",
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should NOT fail with an invalid region if it doesn't verify it.
    		{
    			queryParams: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  4. internal/config/help.go

    			Optional:    true,
    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    
    	RegionHelp = HelpKVS{
    		HelpKV{
    			Key:         RegionName,
    			Type:        "string",
    			Description: `[DEPRECATED] name of the location of the server e.g. "us-west-rack2"`,
    			Optional:    true,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. internal/event/config_test.go

    		err := xml.Unmarshal(testCase.data, result)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(result, testCase.expectedResult) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    		{"X-Amz-Content-Sha256", "", "", "", false},
    
    		// Test case - 2.
    		// Test case with "X-Amz-Content-Sha256" not set so we can skip.
    		{"", "", "", "", true},
    
    		// Test case - 3.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD"
    		// When "X-Amz-Content-Sha256" header is set to  "UNSIGNED-PAYLOAD", validation of content sha256 has to be skipped.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range headerTests {
    		h := &FileHeader{
    			Name:  test.name,
    			Extra: test.extra,
    		}
    		_, err := w.CreateHeader(h)
    		if err != test.wanterr {
    			t.Errorf("error=%v, want %v", err, test.wanterr)
    		}
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/test-util_test.go

    }
    
    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	testCases := []*TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend with signature v2.
    		{serverType: "ErasureSD", signer: signerV2},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	tutil "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/version"
    )
    
    const (
    	testIstioDiscoveryChartPath = "charts/istio-control/istio-discovery/templates"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
Back to top