Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,141 for valid (0.11 sec)

  1. pkg/util/flag/flags_test.go

    			expectErr: true,
    			expectVal: defaultIPPort,
    		},
    		{
    			desc:      "valid ipv6 1",
    			argc:      "blah --ipport=::1",
    			expectVal: "::1",
    		},
    		{
    			desc:      "valid ipv6 2",
    			argc:      "blah --ipport=::",
    			expectVal: "::",
    		},
    		{
    			desc:      "valid ipv6 with port",
    			argc:      "blah --ipport=[::1]:8080",
    			expectVal: "[::1]:8080",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "twenty",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial001_py310.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "twenty",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/apis/discovery/validation/validation_test.go

    					Protocol: protocolPtr(api.ProtocolTCP),
    				}},
    				Endpoints: []discovery.Endpoint{{
    					Addresses: generateIPAddresses(1),
    					Hostname:  utilpointer.String("valid-123"),
    					NodeName:  utilpointer.String("valid-node-name"),
    				}},
    			},
    		},
    
    		// expected failures
    		"bad-node-name": {
    			expectedErrors: 1,
    			endpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclaim_test.go

    				return claim
    			},
    		},
    		"valid-add-allocation": {
    			oldClaim: validClaim,
    			update: func(claim *resource.ResourceClaim) *resource.ResourceClaim {
    				claim.Status.DriverName = "valid"
    				claim.Status.Allocation = &resource.AllocationResult{
    					ResourceHandles: []resource.ResourceHandle{
    						{
    							DriverName: "valid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy

        }
    
        def "returns parameter invalid when more than one getter for property"() {
            when:
            ToolingParameterProxy.validateParameter(InvalidParameter7)
    
            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)
  7. internal/jwt/parser.go

    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    // claims interface, additionally validates "accessKey" fields.
    func (c *StandardClaims) Valid() error {
    	if err := c.StandardClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" && c.Subject == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. pkg/webhooks/validation/server/server_test.go

    				Object:    runtime.RawExtension{Raw: valid},
    				Operation: kube.Create,
    			},
    			allowed: true,
    		},
    		{
    			name:  "valid update",
    			admit: wh.validate,
    			in: &kube.AdmissionRequest{
    				Kind:      metav1.GroupVersionKind{Kind: collections.Mock.Kind()},
    				Object:    runtime.RawExtension{Raw: valid},
    				Operation: kube.Update,
    			},
    			allowed: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. cni/test/install_k8s_test.go

    			expectedPostCleanFile:  testDataDir + "/expected/minikube_cni.conflist.clean",
    			cniConfDirOrderedFiles: []string{"minikube_cni.conf", "calico.conflist"},
    		},
    		{
    			name:                   "Skip non-json file for first valid .conf file",
    			chainedCNIPlugin:       true,
    			resultFileName:         "01-minikube_cni.conflist",
    			expectedOutputFile:     testDataDir + "/expected/minikube_cni.conflist.expected",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 27 18:01:48 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. pkg/registry/apps/controllerrevision/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store)
    	test.TestGet(newControllerRevision("valid", metav1.NamespaceDefault, newObject(), 0))
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	test.TestList(newControllerRevision("valid", metav1.NamespaceDefault, newObject(), 0))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 5.6K bytes
    - Viewed (0)
Back to top