Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for MaxProperties (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    			if propsType != nil {
    				var maxProperties int64
    				if s.MaxProperties() != nil {
    					maxProperties = zeroIfNegative(*s.MaxProperties())
    				} else {
    					maxProperties = estimateMaxAdditionalPropertiesFromMinSize(propsType.MinSerializedSize)
    				}
    				return apiservercel.NewMapType(apiservercel.StringType, propsType, maxProperties)
    			}
    			return nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go

    		in, out := &in.MultipleOf, &out.MultipleOf
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(float64)
    			**out = **in
    		}
    	}
    
    	if in.MaxProperties != nil {
    		in, out := &in.MaxProperties, &out.MaxProperties
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinProperties != 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    	// schema based on MaxProperties or MaxItems limits present on parent schemas, If all parent
    	// map and array schemas have MaxProperties or MaxItems limits declared MaxCardinality is
    	// an int pointer representing the product of these limits.  If least one parent map or list schema
    	// does not have a MaxProperties or MaxItems limits set, the MaxCardinality is nil, indicating
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

            "pattern": "patternValue",
            "maxItems": 16,
            "minItems": 17,
            "uniqueItems": true,
            "multipleOf": 19.5,
            "enum": [
              "enumValue"
            ],
            "maxProperties": 21,
            "minProperties": 22,
            "required": [
              "requiredValue"
            ],
            "items": [
              {}
            ],
            "allOf": [
              {}
            ],
            "oneOf": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/deepcopy.go

    		in, out := &in.MultipleOf, &out.MultipleOf
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(float64)
    			**out = **in
    		}
    	}
    
    	if in.MaxProperties != nil {
    		in, out := &in.MaxProperties, &out.MaxProperties
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinProperties != 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)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/deepcopy.go

    	}
    
    	if in.Enum != nil {
    		out.Enum = make([]JSON, len(in.Enum))
    		for i := range in.Enum {
    			out.Enum[i] = runtime.DeepCopyJSONValue(in.Enum[i])
    		}
    	}
    
    	if in.MaxProperties != nil {
    		in, out := &in.MaxProperties, &out.MaxProperties
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinProperties != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml

          externalDocs:
            description: descriptionValue
            url: urlValue
          format: formatValue
          id: idValue
          items:
          - {}
          maxItems: 16
          maxLength: 13
          maxProperties: 21
          maximum: 9.5
          minItems: 17
          minLength: 14
          minProperties: 22
          minimum: 11.5
          multipleOf: 19.5
          nullable: true
          oneOf:
          - {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go

    	ret.MultipleOf = v.MultipleOf
    	if v.Enum != nil {
    		ret.Enum = make([]interface{}, 0, len(v.Enum))
    		for i := range v.Enum {
    			ret.Enum = append(ret.Enum, v.Enum[i].Object)
    		}
    	}
    	ret.MaxProperties = v.MaxProperties
    	ret.MinProperties = v.MinProperties
    	ret.Required = v.Required
    	for i := range v.AllOf {
    		ret.AllOf = append(ret.AllOf, *v.AllOf[i].toKubeOpenAPI())
    	}
    	for i := range v.AnyOf {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    	return func(maxProperties *int64) *schema.Structural {
    		return &schema.Structural{
    			Generic: schema.Generic{
    				Type: "object",
    			},
    			AdditionalProperties: &schema.StructuralOrBool{Structural: item},
    			ValueValidation: &schema.ValueValidation{
    				MaxProperties: maxProperties,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    	}
    	if in.Enum != nil {
    		in, out := &in.Enum, &out.Enum
    		*out = make([]JSON, len(*in))
    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	if in.MaxProperties != nil {
    		in, out := &in.MaxProperties, &out.MaxProperties
    		*out = new(int64)
    		**out = **in
    	}
    	if in.MinProperties != nil {
    		in, out := &in.MinProperties, &out.MinProperties
    		*out = new(int64)
    		**out = **in
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top