Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. pkg/apis/networking/validation/validation.go

    					allErrs = append(allErrs, field.Invalid(portPath.Child("endPort"), *port.EndPort, msg))
    				}
    			}
    		} else {
    			if port.EndPort != nil {
    				allErrs = append(allErrs, field.Invalid(portPath.Child("endPort"), *port.EndPort, "may not be specified when `port` is non-numeric"))
    			}
    			for _, msg := range validation.IsValidPortName(port.Port.StrVal) {
    				allErrs = append(allErrs, field.Invalid(portPath.Child("port"), port.Port.StrVal, msg))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 14:48:01 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. 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)
  4. src/go/types/stmt.go

    		check.expr(nil, &v, e)
    		if x.mode == invalid || v.mode == invalid {
    			continue L
    		}
    		check.convertUntyped(&v, x.typ)
    		if v.mode == invalid {
    			continue L
    		}
    		// Order matters: By comparing v against x, error positions are at the case values.
    		res := v // keep original v unchanged
    		check.comparison(&res, x, token.EQL, true)
    		if res.mode == invalid {
    			continue L
    		}
    		if v.mode != constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: meshwide-httpbin
      namespace: istio-system # valid: it applies to whole mesh
    spec:
      {}
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: meshwide-httpbin-v1
      namespace: istio-system # invalid: no pods running anywhere in the mesh
    spec:
      selector:
        matchLabels:
          version: bogus-version
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top