Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,714 for nvalid (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/invalid-aes-gcm.yaml

    Rita Zhang <******@****.***> 1677726350 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 00:36:07 UTC 2023
    - 158 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/kms/invalid-config-type.yaml

    Rita Zhang <******@****.***> 1677726350 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 00:36:07 UTC 2023
    - 269 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy

        }
    
        def "returns parameter invalid when it is not an interface"() {
            when:
            ToolingParameterProxy.validateParameter(InvalidParameter6)
    
            then:
            IllegalArgumentException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/validation_test.go

    				},
    			},
    		},
    	}
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			if got := c.instance.Validate(); (got == nil) != c.valid {
    				t.Fatalf("%s failed: got valid=%v but wanted valid=%v: %v", c.name, got == nil, c.valid, got)
    			}
    		})
    	}
    }
    
    func TestServiceValidate(t *testing.T) {
    	ports := PortList{
    		{Name: "http", Port: 80, Protocol: protocol.HTTP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 23 19:35:35 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go

    func IsValidIPv4Address(fldPath *field.Path, value string) field.ErrorList {
    	var allErrors field.ErrorList
    	ip := netutils.ParseIPSloppy(value)
    	if ip == nil || ip.To4() == nil {
    		allErrors = append(allErrors, field.Invalid(fldPath, value, "must be a valid IPv4 address"))
    	}
    	return allErrors
    }
    
    // IsValidIPv6Address tests that the argument is a valid IPv6 address.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 16:08:43 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. internal/auth/credentials.go

    func (cred Credentials) IsImpliedPolicy() bool {
    	if cred.IsServiceAccount() {
    		return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy"
    	}
    	return false
    }
    
    // IsValid - returns whether credential is valid or not.
    func (cred Credentials) IsValid() bool {
    	// Verify credentials if its enabled or not set.
    	if cred.Status == AccountOff {
    		return false
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    	}
    
    	t.Logf("Trying to create invalid CR")
    	invalid := &unstructured.Unstructured{}
    	if err := yaml.Unmarshal([]byte(invalidEmbeddedResourceInstance), &invalid.Object); err != nil {
    		t.Fatal(err)
    	}
    	unstructured.SetNestedField(invalid.Object, "invalid", "metadata", "name")
    	unstructured.SetNestedField(invalid.Object, "x y", "metadata", "labels", "foo")
    	_, err = fooClient.Create(context.TODO(), invalid, metav1.CreateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleValidationIntegrationTest.groovy

            and:
            failure.assertHasCause("Failed to apply plugin class 'MyPlugin'")
            failure.assertHasCause('''Type MyPlugin.Rules is not a valid rule source:
    - Method strings() is not a valid rule method: The declared model element path 'foo. bar' is not a valid path: Model path 'foo. bar' is invalid due to invalid name component.''')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. pkg/apis/networking/validation/validation_test.go

    		},
    		"valid name, valid controller, valid Namespace scope": {
    			ingressClass: makeValidIngressClass("test123", "foo.co/bar",
    				setParams(makeIngressClassParams(nil, "foo", "bar", utilpointer.String("Namespace"), utilpointer.String("foo-ns"))),
    			),
    			expectedErrs: field.ErrorList{},
    		},
    		"valid name, valid controller, valid scope, invalid namespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		ip       string
    		expected bool
    	}{
    		{"invalid missing address", "", false},
    		{"invalid missing decimal points in IPv4 address", "1234", false},
    		{"invalid incomplete IPv4 address", "1.2", false},
    		{"invalid IPv4 CIDR provided instead of IPv4 address", "1.2.3.4/16", false},
    		{"valid IPv4 address", "1.2.3.4", true},
    		{"valid IPv6 address", "2001:db8::1", true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top