Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 5,714 for nvalid (0.35 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/validation.go

    		}
    		if len(u.Fragment) != 0 {
    			allErrors = append(allErrors, field.Invalid(fldPath, u.Fragment, "fragments are not permitted in the URL"))
    		}
    		if len(u.RawQuery) != 0 {
    			allErrors = append(allErrors, field.Invalid(fldPath, u.RawQuery, "query parameters are not permitted in the URL"))
    		}
    	}
    	return allErrors
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 19 23:14:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/telemetry-invalid-provider.yaml

    zirain <******@****.***> 1667573761 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 04 14:56:01 UTC 2022
    - 230 bytes
    - Viewed (0)
  3. pkg/apis/policy/validation/validation_test.go

    				x[i] = byte('a')
    			}
    			return string(x)
    		}(256),
    	}
    	for _, s := range valid {
    		if !IsValidSysctlPattern(s) {
    			t.Errorf("%q expected to be a valid sysctl pattern", s)
    		}
    	}
    	for _, s := range invalid {
    		if IsValidSysctlPattern(s) {
    			t.Errorf("%q expected to be an invalid sysctl pattern", s)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go

    			expectedOutput: "foo",
    		},
    		{
    			name:               "valid output format and invalid --template argument results in a parsing from the printer",
    			outputFormat:       "jsonpath",
    			templateArg:        "{invalid}",
    			expectedParseError: "unrecognized identifier invalid",
    		},
    		{
    			name:          "no printer is matched on an invalid outputFormat",
    			outputFormat:  "invalid",
    			expectNoMatch: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    		validateErrs func(t *testing.T, errs field.ErrorList)
    	}{{
    		name: "bunch-of-invalid-fields",
    		conditions: []metav1.Condition{{
    			Type:               ":invalid",
    			Status:             "unknown",
    			ObservedGeneration: -1,
    			LastTransitionTime: metav1.Time{},
    			Reason:             "invalid;val",
    			Message:            "",
    		}},
    		validateErrs: func(t *testing.T, errs field.ErrorList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/misannotated.yaml

        # no such Istio annotation
        networking.istio.io/exportThree: bar
        # Valid Istio annotation
        networking.istio.io/exportTo: baz
    spec:
      ports:
      - name: http
        port: 8000
        targetPort: 80
      selector:
        app: httpbin
    ---
    # K8s object with invalid Istio annotations
    apiVersion: v1
    kind: Pod
    metadata:
      name: invalid-annotations
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 21:10:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/ipset_test.go

    		name    string
    		vstring string
    		valid   bool
    	}{
    		{"4.0 < 6.0 is invalid", "4.0", false},
    		{"5.1 < 6.0 is invalid", "5.1", false},
    		{"5.2 < 6.0 is invalid", "5.1.2", false},
    		{"7 is not a valid version", "7", false},
    		{"6.0 is valid since >= 6.0", "6.0", true},
    		{"6.1 is valid since >= 6.0", "6.1", true},
    		{"6.19 is valid since >= 6.0", "6.19", true},
    		{"7.0 is valid since >= 6.0", "7.0", true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token_test.go

    	}
    
    	// test valid; should not fail
    	// for some reason Secrets().Delete() does not fail even for this dummy config
    	if err = RunDeleteTokens(&buf, client, []string{"abcdef.1234567890123456", "abcdef.2345678901234567"}); err != nil {
    		t.Errorf("RunDeleteToken() failed for a valid token: %v", err)
    	}
    
    	// test invalid token; should fail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top