Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,344 for valid (2.24 sec)

  1. cmd/kubeadm/app/util/config/cluster_test.go

    		expectedError     bool
    	}{
    		{
    			name:              "valid - with embedded cert",
    			kubeconfigContent: kubeletConfFiles["configWithEmbeddedCert"],
    		},
    		{
    			name:              "invalid - linked cert missing",
    			kubeconfigContent: kubeletConfFiles["configWithLinkedCert"],
    			expectedError:     true,
    		},
    		{
    			name:              "valid - with linked cert",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    				{
    					Error: fmt.Errorf("valueExpression ''this is not valid CEL' resulted in error: <nil>"),
    					ExpressionAccessor: &AuditAnnotationCondition{
    						ValueExpression: "'this is not valid CEL",
    					},
    				},
    			},
    			auditAnnotations: []PolicyAuditAnnotation{
    				{
    					Action: AuditAnnotationActionError,
    					Error:  "valueExpression ''this is not valid CEL' resulted in error: <nil>",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    	})
    }
    
    func TestCitadelClient(t *testing.T) {
    	testCases := map[string]struct {
    		server       mockCAServer
    		expectedCert []string
    		expectedErr  string
    		expectRetry  bool
    	}{
    		"Valid certs": {
    			server:       mockCAServer{Certs: fakeCert, Err: nil},
    			expectedCert: fakeCert,
    			expectedErr:  "",
    		},
    		"Error in response": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/fields/selector_test.go

    		"skipped hasTerm":           {&hasTerm{"a", "b"}, "test", "", false},
    		"valid hasTerm":             {&hasTerm{"test", "b"}, "test", "b", true},
    		"valid hasTerm no value":    {&hasTerm{"test", ""}, "test", "", true},
    		"valid notHasTerm":          {&notHasTerm{"test", "b"}, "test", "", false},
    		"valid notHasTerm no value": {&notHasTerm{"test", ""}, "test", "", false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 08:00:38 UTC 2017
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/decl.go

    		check.funcDecl(obj, d)
    	default:
    		panic("unreachable")
    	}
    }
    
    // validCycle reports whether the cycle starting with obj is valid and
    // reports an error if it is not.
    func (check *Checker) validCycle(obj Object) (valid bool) {
    	// The object map contains the package scope objects and the non-interface methods.
    	if debug {
    		info := check.objMap[obj]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/handling-errors.md

                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    вы получите текстовую версию:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` или `ValidationError`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    		} else {
    			cat = mapped
    		}
    	case disallowedSTD3Valid:
    		if p.useSTD3Rules {
    			cat = disallowed
    		} else {
    			cat = valid
    		}
    	case deviation:
    		if !p.transitional {
    			cat = valid
    		}
    	case validNV8, validXV8:
    		// TODO: handle V2008
    		cat = valid
    	}
    	return cat
    }
    
    func validateFromPunycode(p *Profile, s string) error {
    	if !norm.NFC.IsNormalString(s) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	ErrorTypeInvalid ErrorType = "FieldValueInvalid"
    	// ErrorTypeNotSupported is used to report unknown values for enumerated
    	// fields (e.g. a list of valid values).  See NotSupported().
    	ErrorTypeNotSupported ErrorType = "FieldValueNotSupported"
    	// ErrorTypeForbidden is used to report valid (as per formatting rules)
    	// values which would be accepted under some conditions, but which are not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. src/go/scanner/scanner.go

    }
    
    func (s *Scanner) scanRune() string {
    	// '\'' opening already consumed
    	offs := s.offset - 1
    
    	valid := true
    	n := 0
    	for {
    		ch := s.ch
    		if ch == '\n' || ch < 0 {
    			// only report error if we don't have one already
    			if valid {
    				s.error(offs, "rune literal not terminated")
    				valid = false
    			}
    			break
    		}
    		s.next()
    		if ch == '\'' {
    			break
    		}
    		n++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		return nil, fmt.Errorf("could not read valid configmap %q from namespace %q: %v - "+
    			"Use --meshConfigFile or re-run "+command+" with `-i <istioSystemNamespace> and ensure valid MeshConfig exists",
    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    	// values in the data are strings, while proto might use a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top