Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for XPreserveUnknownFields (0.39 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go

    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(ExternalDocumentation)
    			(*in).DeepCopyInto(*out)
    		}
    	}
    
    	if in.XPreserveUnknownFields != nil {
    		in, out := &in.XPreserveUnknownFields, &out.XPreserveUnknownFields
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(bool)
    			**out = **in
    		}
    	}
    
    	if in.XMapType != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

    							Extensions: structuralschema.Extensions{XPreserveUnknownFields: true},
    						},
    						"pruning": {
    							Generic: structuralschema.Generic{Type: "object"},
    						},
    					},
    				},
    				"preserving": {
    					Generic:    structuralschema.Generic{Type: "object"},
    					Extensions: structuralschema.Extensions{XPreserveUnknownFields: true},
    					Properties: map[string]structuralschema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas.go

    //
    // Schemas with XPreserveUnknownFields not exposed unless they are objects. Array and "maps" schemas
    // are not exposed if their items or additionalProperties schemas are not exposed. Object Properties are not exposed
    // if their schema is not exposed.
    //
    // The CEL declaration for objects with XPreserveUnknownFields does not expose unknown fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/deepcopy.go

    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(ExternalDocumentation)
    			(*in).DeepCopyInto(*out)
    		}
    	}
    
    	if in.XPreserveUnknownFields != nil {
    		in, out := &in.XPreserveUnknownFields, &out.XPreserveUnknownFields
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(bool)
    			**out = **in
    		}
    	}
    
    	if in.XListMapKeys != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go

    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(ExternalDocumentation)
    			(*in).DeepCopyInto(*out)
    		}
    	}
    
    	if in.XPreserveUnknownFields != nil {
    		in, out := &in.XPreserveUnknownFields, &out.XPreserveUnknownFields
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(bool)
    			**out = **in
    		}
    	}
    
    	if in.XListMapKeys != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion.go

    				s.Properties = nil
    
    				changed = true
    			}
    
    			if s.XPreserveUnknownFields {
    				// unknown fields break if items or properties are set in kubectl
    				s.Items = nil
    				s.Properties = nil
    
    				changed = true
    			}
    
    			if s.Items == nil && s.Type == "array" {
    				// kubectl cannot cope with array without item schema, e.g. due to XPreserveUnknownFields case above
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 09 20:23:50 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go

    		XListType:         s.XListType,
    		XMapType:          s.XMapType,
    	}
    
    	if s.XPreserveUnknownFields != nil {
    		if !*s.XPreserveUnknownFields {
    			return nil, fmt.Errorf("internal error: 'x-kubernetes-preserve-unknown-fields' must be true or undefined")
    		}
    		ret.XPreserveUnknownFields = true
    	}
    
    	return ret, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. api/api-rules/apiextensions_violation_exceptions.list

    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XMapType
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XPreserveUnknownFields
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XValidations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go

    func validateExtensions(x *Extensions, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	if x.XIntOrString && x.XPreserveUnknownFields {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("x-kubernetes-preserve-unknown-fields"), x.XPreserveUnknownFields, "must be false if x-kubernetes-int-or-string is true"))
    	}
    	if x.XIntOrString && x.XEmbeddedResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    //
    // Schemas with XPreserveUnknownFields not exposed unless they are objects. Array and "maps" schemas
    // are not exposed if their items or additionalProperties schemas are not exposed. Object Properties are not exposed
    // if their schema is not exposed.
    //
    // The CEL declaration for objects with XPreserveUnknownFields does not expose unknown fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top