Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for JSONSchemas (0.11 sec)

  1. 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)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.JSONSchemas = append(m.JSONSchemas, JSONSchemaProps{})
    			if err := m.JSONSchemas[len(m.JSONSchemas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 244.4K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

    // or an array of JSONSchemaProps. Mainly here for serialization purposes.
    message JSONSchemaPropsOrArray {
      optional JSONSchemaProps schema = 1;
    
      // +listType=atomic
      repeated JSONSchemaProps jSONSchemas = 2;
    }
    
    // JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
    // Defaults to true for the boolean property.
    message JSONSchemaPropsOrBool {
      optional bool allows = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

    // or an array of JSONSchemaProps. Mainly here for serialization purposes.
    message JSONSchemaPropsOrArray {
      optional JSONSchemaProps schema = 1;
    
      // +listType=atomic
      repeated JSONSchemaProps jSONSchemas = 2;
    }
    
    // JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.
    // Defaults to true for the boolean property.
    message JSONSchemaPropsOrBool {
      optional bool allows = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    				OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    					Type:         "array",
    					XListType:    strPtr("map"),
    					XListMapKeys: []string{"key"},
    					Items: &apiextensions.JSONSchemaPropsOrArray{
    						JSONSchemas: []apiextensions.JSONSchemaProps{
    							{
    								Type: "string",
    							}, {
    								Type: "integer",
    							},
    						},
    					},
    				},
    			},
    			expectedErrors: []validationMatch{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top