- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for WithMaxProperties (0.2 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go
} return b } // WithMaxProperties sets the MaxProperties field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the MaxProperties field is set to the value of the last call. func (b *JSONSchemaPropsApplyConfiguration) WithMaxProperties(value int64) *JSONSchemaPropsApplyConfiguration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 28 12:38:10 UTC 2023 - 25.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go
} return b } // WithMaxProperties sets the MaxProperties field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the MaxProperties field is set to the value of the last call. func (b *JSONSchemaPropsApplyConfiguration) WithMaxProperties(value int64) *JSONSchemaPropsApplyConfiguration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 28 12:38:10 UTC 2023 - 25.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
"field": stringType, }), "mapOfMap": withMaxProperties(mapType(ptr.To( withMaxProperties(mapType(&stringType), ptr.To[int64](10)))), ptr.To[int64](10)), "mapOfObj": mapType(objectTypePtr(map[string]schema.Structural{ "field2": stringType, })), "mapOfListMap": withMaxProperties(mapType( ptr.To(withMaxItems(listMapType([]string{"k"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go
WithEnum(testStr, testStr2), }, { name: "maxProperties", in: &apiextensions.JSONSchemaProps{ MaxProperties: &testInt64, }, expected: new(spec.Schema). WithMaxProperties(testInt64), }, { name: "minProperties", in: &apiextensions.JSONSchemaProps{ MinProperties: &testInt64, }, expected: new(spec.Schema). WithMinProperties(testInt64), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 14:34:26 UTC 2023 - 23.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
schema: []*apiextensions.JSONSchemaProps{ withMaxProperties(genMapSchema(), int64ptr(5)), withMaxItems(genArraySchema(), int64ptr(5)), }, expectedMaxCardinality: uint64ptr(25), }, { name: "unbounded array inside bounded map", schema: []*apiextensions.JSONSchemaProps{ withMaxProperties(genMapSchema(), int64ptr(5)), genArraySchema(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
if s.ValueValidation == nil { s.ValueValidation = &schema.ValueValidation{} } s.ValueValidation.MaxItems = maxItems return s } func withMaxProperties(s schema.Structural, maxProperties *int64) schema.Structural { if s.ValueValidation == nil { s.ValueValidation = &schema.ValueValidation{} } s.ValueValidation.MaxProperties = maxProperties return s
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)