Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 5,714 for nvalid (0.28 sec)

  1. pkg/registry/storage/csinode/storage/storage_test.go

    	csiNode.ObjectMeta = metav1.ObjectMeta{GenerateName: "foo"}
    	test.TestCreate(
    		// valid
    		csiNode,
    		// invalid
    		&storageapi.CSINode{
    			ObjectMeta: metav1.ObjectMeta{Name: "*BadName!"},
    			Spec: storageapi.CSINodeSpec{
    				Drivers: []storageapi.CSINodeDriver{
    					{
    						Name:         "invalid-name-!@#$%^&*()",
    						NodeID:       "invalid-node-!@#$%^&*()",
    						TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/patches/patches_test.go

    		},
    		{
    			name:            "invalid: missing extension",
    			fileName:        "etcd",
    			expectedWarning: true,
    		},
    		{
    			name:          "invalid: unknown patch type",
    			fileName:      "etcd+foo.json",
    			expectedError: true,
    		},
    		{
    			name:          "invalid: missing patch type",
    			fileName:      "etcd+.json",
    			expectedError: true,
    		},
    	}
    
    	for _, tc := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. internal/crypto/sse_test.go

    			"X-Minio-Internal-Server-Side-Encryption-Iv":             "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=",
    		},
    		ExpectedErr: nil,
    	},
    	{ // 1 - Valid HTTP headers but invalid metadata entries for bucket/object2
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    		want: field.ErrorList{
    			field.Invalid(endpointField, "https://www.foo.com", fmt.Sprintf(unsupportedSchemeErrFmt, "https")),
    		},
    	}, {
    		desc: "invalid url",
    		in:   &apiserver.KMSConfiguration{Endpoint: "unix:///foo\n.socket"},
    		want: field.ErrorList{
    			field.Invalid(endpointField, "unix:///foo\n.socket", fmt.Sprintf(invalidURLErrFmt, `parse "unix:///foo\n.socket": net/url: invalid control character in URL`)),
    		},
    	}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  5. pkg/apis/discovery/validation/validation_test.go

    					AppProtocol: utilpointer.String("--"),
    				}},
    				Endpoints: []discovery.Endpoint{{
    					Addresses: generateIPAddresses(1),
    					Hostname:  utilpointer.String("valid-123"),
    				}},
    			},
    		},
    		"invalid-hints": {
    			expectedErrors: 1,
    			endpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressTypeIPv4,
    				Ports: []discovery.EndpointPort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue49043.go

    package p
    
    // The example from the issue.
    type (
    	N[P any] M /* ERROR "invalid recursive type" */ [P]
    	M[P any] N[P]
    )
    
    // A slightly more complicated case.
    type (
    	A[P any] B /* ERROR "invalid recursive type" */ [P]
    	B[P any] C[P]
    	C[P any] A[P]
    )
    
    // Confusing but valid (note that `type T *T` is valid).
    type (
    	N1[P any] *M1[P]
    	M1[P any] *N1[P]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 512 bytes
    - Viewed (0)
  7. cni/test/install_k8s_test.go

    		},
    		{
    			name:                   "Skip invalid .conf file for first valid .conf file",
    			chainedCNIPlugin:       true,
    			resultFileName:         "01-minikube_cni.conflist",
    			expectedOutputFile:     testDataDir + "/expected/minikube_cni.conflist.expected",
    			expectedPostCleanFile:  testDataDir + "/expected/minikube_cni.conflist.clean",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 27 18:01:48 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

    		},
    		"invalid clear deletionTimestamp": {
    			Old:          metav1.ObjectMeta{Name: "test", ResourceVersion: "1", DeletionTimestamp: &now},
    			New:          metav1.ObjectMeta{Name: "test", ResourceVersion: "1"},
    			ExpectedNew:  metav1.ObjectMeta{Name: "test", ResourceVersion: "1"},
    			ExpectedErrs: []string{"field.deletionTimestamp: Invalid value: \"null\": field is immutable"},
    		},
    		"invalid change deletionTimestamp": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/edwards25519_test.go

    }
    
    func TestInvalidEncodings(t *testing.T) {
    	// An invalid point, that also happens to have y > p.
    	invalid := "efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f"
    	p := NewGeneratorPoint()
    	if out, err := p.SetBytes(decodeHex(invalid)); err == nil {
    		t.Error("expected error for invalid point")
    	} else if out != nil {
    		t.Error("SetBytes did not return nil on an invalid encoding")
    	} else if p.Equal(B) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    			oldAnnotationValue: strPtr("invalid"),
    			validateError:      okFn,
    		},
    		{
    			name:               "invalid annotation to missing",
    			group:              "sigs.k8s.io",
    			annotationValue:    "",
    			oldAnnotationValue: strPtr("invalid"),
    			validateError: func(t *testing.T, errors field.ErrorList) {
    				t.Helper()
    				if len(errors) == 0 {
    					t.Fatal("expected errors, got none")
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top