Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,312 for valid (0.06 sec)

  1. cmd/kubeadm/app/util/version_test.go

    		parsingError bool
    	}
    	cases := []T{
    		{
    			name:   "valid version with label and metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid version with label and extra metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a.extra",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid patch version with label and extra metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. tests/test_query.py

            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["query", "query"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "42.5",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token_test.go

    		extraGroups   []string
    		printJoin     bool
    		expectedError bool
    	}{
    		{
    			name:          "valid: empty token",
    			token:         "",
    			usages:        []string{"signing", "authentication"},
    			extraGroups:   []string{"system:bootstrappers:foo"},
    			expectedError: false,
    		},
    		{
    			name:          "valid: non-empty token",
    			token:         "abcdef.1234567890123456",
    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. tests/scanner_valuer_test.go

    		Name:     sql.NullString{String: "name", Valid: true},
    		Gender:   &sql.NullString{String: "M", Valid: true},
    		Age:      sql.NullInt64{Int64: 18, Valid: true},
    		Male:     sql.NullBool{Bool: true, Valid: true},
    		Height:   sql.NullFloat64{Float64: 1.8888, Valid: true},
    		Birthday: sql.NullTime{Time: time.Now(), Valid: true},
    		Allergen: NullString{sql.NullString{String: "Allergen", Valid: true}},
    		Password: EncryptedData("pass1"),
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/ipset/ipset.go

    		//check if IP and Protocol of Entry is valid.
    		if valid := e.checkIPandProtocol(set); !valid {
    			return false
    		}
    	case HashIPPortIP:
    		//check if IP and Protocol of Entry is valid.
    		if valid := e.checkIPandProtocol(set); !valid {
    			return false
    		}
    
    		// IP2 can not be empty for `hash:ip,port,ip` type ip set
    		if netutils.ParseIPSloppy(e.IP2) == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top