Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,291 for validations (0.15 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go

    func (in *Validation) DeepCopyInto(out *Validation) {
    	*out = *in
    	if in.Reason != nil {
    		in, out := &in.Reason, &out.Reason
    		*out = new(v1.StatusReason)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validation.
    func (in *Validation) DeepCopy() *Validation {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.json

                ],
                "x-kubernetes-list-type": "x-kubernetes-list-typeValue",
                "x-kubernetes-map-type": "x-kubernetes-map-typeValue",
                "x-kubernetes-validations": [
                  {
                    "rule": "ruleValue",
                    "message": "messageValue",
                    "messageExpression": "messageExpressionValue",
                    "reason": "reasonValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go

    			errs = append(errs, newErrs...)
    		}
    	}
    
    	// validate x-kubernetes-validations rules
    	if celValidator := a.customResourceStrategy.celValidator; celValidator != nil {
    		if has, err := hasBlockingErr(errs); has {
    			errs = append(errs, err)
    		} else {
    			err, _ := celValidator.Validate(ctx, nil, a.customResourceStrategy.structuralSchema, uNew.Object, uOld.Object, celconfig.RuntimeCELCostBudget)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 22:16:10 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-fields.md

    # Body - Fields
    
    The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    
    ## Import `Field`
    
    First, you have to import it:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/fake/clientset_generated.go

    )
    
    // NewSimpleClientset returns a clientset that will respond with the provided objects.
    // It's backed by a very simple object tracker that processes creates, updates and deletions as-is,
    // without applying any validations and/or defaults. It shouldn't be considered a replacement
    // for a real clientset and is mostly useful in simple unit tests.
    func NewSimpleClientset(objects ...runtime.Object) *Clientset {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 06:03:32 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go

    	}
    }
    
    func (x *ValidationExtensions) toKubeOpenAPI(ret *spec.Schema) {
    	if x == nil {
    		return
    	}
    
    	if len(x.XValidations) > 0 {
    		ret.VendorExtensible.AddExtension("x-kubernetes-validations", x.XValidations)
    	}
    }
    
    func (v *ValueValidation) toKubeOpenAPI(ret *spec.Schema) {
    	if v == nil {
    		return
    	}
    
    	ret.Format = v.Format
    	ret.Maximum = v.Maximum
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion.go

    				s.ValueValidation.Required, changed = nil, true
    			}
    
    			return changed
    		},
    		// we drop all junctors above, and hence, never reach nested value validations
    		NestedValueValidation: nil,
    	}
    	mapper.Visit(out)
    
    	return out
    }
    
    func filterOut(ss []string, x string) ([]string, bool) {
    	var filtered []string
    	for i, s := range ss {
    		if s == x {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 09 20:23:50 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    	// x-kubernetes-validations describes a list of validation rules written in the CEL expression language.
    	// This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.
    	// +patchMergeKey=rule
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=rule
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake/clientset_generated.go

    )
    
    // NewSimpleClientset returns a clientset that will respond with the provided objects.
    // It's backed by a very simple object tracker that processes creates, updates and deletions as-is,
    // without applying any validations and/or defaults. It shouldn't be considered a replacement
    // for a real clientset and is mostly useful in simple unit tests.
    func NewSimpleClientset(objects ...runtime.Object) *Clientset {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 21:36:26 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. docs/en/mkdocs.yml

        - tutorial/index.md
        - tutorial/first-steps.md
        - tutorial/path-params.md
        - tutorial/query-params.md
        - tutorial/body.md
        - tutorial/query-params-str-validations.md
        - tutorial/path-params-numeric-validations.md
        - tutorial/body-multiple-params.md
        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top