- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WithEnum (0.18 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go
b.MultipleOf = &value return b } // WithEnum adds the given value to the Enum field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Enum field. func (b *JSONSchemaPropsApplyConfiguration) WithEnum(values ...v1.JSON) *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
b.MultipleOf = &value return b } // WithEnum adds the given value to the Enum field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Enum field. func (b *JSONSchemaPropsApplyConfiguration) WithEnum(values ...v1beta1.JSON) *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/controller/openapi/v2/conversion_test.go
}, { name: "enum", in: &apiextensions.JSONSchemaProps{ Enum: []apiextensions.JSON{apiextensions.JSON(testStr), apiextensions.JSON(testStr2)}, }, expected: new(spec.Schema). WithEnum(testStr, testStr2), }, { name: "maxProperties", in: &apiextensions.JSONSchemaProps{ MaxProperties: &testInt64, }, expected: new(spec.Schema). WithMaxProperties(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)