Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for XValidations (0.34 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    	return s.messageExpression
    }
    
    func (s *Structural) XValidations() []common.ValidationRule {
    	if len(s.Structural.XValidations) == 0 {
    		return nil
    	}
    	result := make([]common.ValidationRule, len(s.Structural.XValidations))
    	for i, v := range s.Structural.XValidations {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    func (in *ValidationExtensions) DeepCopyInto(out *ValidationExtensions) {
    	*out = *in
    	if in.XValidations != nil {
    		in, out := &in.XValidations, &out.XValidations
    		*out = make(v1.ValidationRules, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go

    	if s == nil {
    		return nil, nil
    	}
    
    	ret := &ValidationExtensions{}
    	if err := apiextensionsv1.Convert_apiextensions_ValidationRules_To_v1_ValidationRules(&s.XValidations, &ret.XValidations, nil); err != nil {
    		return nil, err
    	}
    
    	return ret, nil
    }
    
    // validateUnsupportedFields checks that those fields rejected by validation are actually unset.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    // used for validation rather than structure.
    type ValidationExtensions struct {
    	// x-kubernetes-validations describes a list of validation rules for expression validation.
    	// Use the v1 struct since this gets serialized as an extension.
    	XValidations apiextensionsv1.ValidationRules
    }
    
    // +k8s:deepcopy-gen=true
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/03-gopls.yml

        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/complete.go

    )
    
    // validateStructuralCompleteness checks that all value validations in s have
    // a structural counterpart so that every value validation applies to a value
    // with a known schema:
    // - validations for specific properties must have that property (or additionalProperties under an option) structurally defined
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/defaultrevisionvalidatingadmissionpolicy.yaml

          expression: "object.kind == 'WasmPlugin'"
        - name: isProxyConfig
          expression: "object.kind == 'ProxyConfig'"
        - name: isTelemetry
          expression: "object.kind == 'Telemetry'"
      validations:
        - expression: "!variables.isEnvoyFilter"
        - expression: "!variables.isWasmPlugin"
        - expression: "!variables.isProxyConfig"
        - expression: |
            !(
              variables.isTelemetry && (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 19:46:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. manifests/charts/istiod-remote/templates/validatingadmissionpolicy.yaml

          expression: "object.kind == 'WasmPlugin'"
        - name: isProxyConfig
          expression: "object.kind == 'ProxyConfig'"
        - name: isTelemetry
          expression: "object.kind == 'Telemetry'"
      validations:
        - expression: "!variables.isEnvoyFilter"
        - expression: "!variables.isWasmPlugin"
        - expression: "!variables.isProxyConfig"
        - expression: |
            !(
              variables.isTelemetry && (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 19:46:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top