Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for JSONSchemas (0.36 sec)

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

    func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
    	*out = *in
    	if in.Schema != nil {
    		in, out := &in.Schema, &out.Schema
    		*out = (*in).DeepCopy()
    	}
    	if in.JSONSchemas != nil {
    		in, out := &in.JSONSchemas, &out.JSONSchemas
    		*out = make([]JSONSchemaProps, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    		schema.Properties[def] = jsonSchema
    	}
    	if schema.Items != nil {
    		dropOptionalOldSelfField(schema.Items.Schema)
    		for i, jsonSchema := range schema.Items.JSONSchemas {
    			dropOptionalOldSelfField(&jsonSchema)
    			schema.Items.JSONSchemas[i] = jsonSchema
    		}
    	}
    }
    
    func specHasOptionalOldSelf(spec *apiextensions.CustomResourceDefinitionSpec) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go

    func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
    	*out = *in
    	if in.Schema != nil {
    		in, out := &in.Schema, &out.Schema
    		*out = (*in).DeepCopy()
    	}
    	if in.JSONSchemas != nil {
    		in, out := &in.JSONSchemas, &out.JSONSchemas
    		*out = make([]JSONSchemaProps, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go

    func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
    	*out = *in
    	if in.Schema != nil {
    		in, out := &in.Schema, &out.Schema
    		*out = (*in).DeepCopy()
    	}
    	if in.JSONSchemas != nil {
    		in, out := &in.JSONSchemas, &out.JSONSchemas
    		*out = make([]JSONSchemaProps, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go

    		in, out := &in.Schema, &out.Schema
    		*out = new(spec.Schema)
    		if err := ConvertJSONSchemaPropsWithPostProcess(*in, *out, postProcess); err != nil {
    			return err
    		}
    	}
    	if in.JSONSchemas != nil {
    		in, out := &in.JSONSchemas, &out.Schemas
    		*out = make([]spec.Schema, len(*in))
    		for i := range *in {
    			if err := ConvertJSONSchemaPropsWithPostProcess(&(*in)[i], &(*out)[i], postProcess); err != nil {
    				return err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:23:28 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    // or an array of JSONSchemaProps. Mainly here for serialization purposes.
    type JSONSchemaPropsOrArray struct {
    	Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
    	// +listType=atomic
    	JSONSchemas []JSONSchemaProps `protobuf:"bytes,2,rep,name=jSONSchemas"`
    }
    
    // OpenAPISchemaType is used by the kube-openapi generator when constructing
    // the OpenAPI spec of this type.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  7. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XValidations
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,JSONSchemas
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,Schema
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    // or an array of JSONSchemaProps. Mainly here for serialization purposes.
    type JSONSchemaPropsOrArray struct {
    	Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
    	// +listType=atomic
    	JSONSchemas []JSONSchemaProps `protobuf:"bytes,2,rep,name=jSONSchemas"`
    }
    
    // OpenAPISchemaType is used by the kube-openapi generator when constructing
    // the OpenAPI spec of this type.
    //
    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/apis/apiextensions/types_jsonschema.go

    // JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps
    // or an array of JSONSchemaProps. Mainly here for serialization purposes.
    type JSONSchemaPropsOrArray struct {
    	Schema      *JSONSchemaProps
    	JSONSchemas []JSONSchemaProps
    }
    
    // JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
    // Defaults to true for the boolean property.
    type JSONSchemaPropsOrBool struct {
    	Allows bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:23:23 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    						Schema: spec.BooleanProperty(),
    					},
    				},
    			},
    		},
    		{
    			name: "items array props",
    			in: &apiextensions.JSONSchemaProps{
    				Items: &apiextensions.JSONSchemaPropsOrArray{
    					JSONSchemas: []apiextensions.JSONSchemaProps{
    						{Type: "boolean"},
    						{Type: "string"},
    					},
    				},
    			},
    			expectError: true, // rejected by kube validation and NewStructural
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
Back to top