Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for validations (0.27 sec)

  1. pkg/apis/admissionregistration/validation/validation_test.go

    		},
    
    		expectedError: `spec.validations: Required value: validations or auditAnnotations must contain at least one item`,
    	}, {
    		name: "Invalid Validations Reason",
    		config: &admissionregistration.ValidatingAdmissionPolicy{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "config",
    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicySpec{
    				Validations: []admissionregistration.Validation{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    								apiVersion:
    									type: string
    									x-kubernetes-validations:
    									- rule: self == "v1"
    								kind:
    									type: string
    									x-kubernetes-validations:
    									- rule: self == "Pod"
    					subField:
    						type: object
    						properties:
    							apiVersion:
    								type: string
    								x-kubernetes-validations:
    								- rule: self == "v1"
    							kind:
    								type: string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. fastapi/routing.py

                    This affects the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
                    [FastAPI docs for Query Parameters and String Validations](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#exclude-from-openapi).
                    """
                ),
            ] = True,
            generate_unique_id_function: Annotated[
                Callable[[APIRoute], str],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  4. fastapi/applications.py

                    This affects the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
                    [FastAPI docs for Query Parameters and String Validations](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#exclude-from-openapi).
                    """
                ),
            ] = True,
            swagger_ui_parameters: Annotated[
                Optional[Dict[str, Any]],
                Doc(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go

    func (m *Validation) Reset()      { *m = Validation{} }
    func (*Validation) ProtoMessage() {}
    func (*Validation) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2c49182728ae0af5, []int{15}
    }
    func (m *Validation) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Validation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 117.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.pb.go

    func (m *Validation) Reset()      { *m = Validation{} }
    func (*Validation) ProtoMessage() {}
    func (*Validation) Descriptor() ([]byte, []int) {
    	return fileDescriptor_7f7c65a4f012fb19, []int{22}
    }
    func (m *Validation) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Validation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 187.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/generated.pb.go

    func (m *Validation) Reset()      { *m = Validation{} }
    func (*Validation) ProtoMessage() {}
    func (*Validation) Descriptor() ([]byte, []int) {
    	return fileDescriptor_3205c7dc5bf0c9bf, []int{24}
    }
    func (m *Validation) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *Validation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 200.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1alpha1_openapi.json

    "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.4K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1beta1_openapi.json

    "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.7K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    }
    
    var _ error = Validation{}
    
    // WrapError turns an error into a Validation
    func WrapError(e error) Validation {
    	return Validation{Err: e}
    }
    
    // ValidateFunc defines a validation func for an API proto.
    type ValidateFunc func(config config.Config) (Warning, error)
    
    // IsValidateFunc indicates whether there is a validation function with the given name.
    func IsValidateFunc(name string) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top