Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CELSchemaContext (0.49 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    // ChildAdditionalPropertiesContext returns nil, nil if this CELSchemaContext is nil, otherwise it constructs and returns
    // a CELSchemaContext for the properties of an object if this CELSchemaContext is an object.
    // schema must be non-nil and have a non-nil schema.AdditionalProperties.
    func (c *CELSchemaContext) ChildAdditionalPropertiesContext(propsSchema *apiextensions.JSONSchemaProps) *CELSchemaContext {
    	if c == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			allowDefaults:            opts.allowDefaults,
    			disallowDefaultsReason:   opts.disallowDefaultsReason,
    			requireValidPropertyType: opts.requireValidPropertyType,
    		}
    
    		var celContext *CELSchemaContext
    		var structuralSchemaInitErrs field.ErrorList
    		if opts.requireStructuralSchema {
    			if ss, err := structuralschema.NewStructural(schema); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (1)
Back to top