- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for MultipleOf (0.15 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go
MaxLength: s.MaxLength, MinLength: s.MinLength, Pattern: s.Pattern, MaxItems: s.MaxItems, MinItems: s.MinItems, UniqueItems: s.UniqueItems, MultipleOf: s.MultipleOf, MaxProperties: s.MaxProperties, MinProperties: s.MinProperties, Required: s.Required, Not: not, } for _, e := range s.Enum {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go
} // WithMultipleOf sets the MultipleOf 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 MultipleOf field is set to the value of the last call. func (b *JSONSchemaPropsApplyConfiguration) WithMultipleOf(value float64) *JSONSchemaPropsApplyConfiguration { b.MultipleOf = &value return b }
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/apiserver/pkg/cel/common/adaptor.go
// Validations contains OpenAPI validation that the CEL library uses. type Validations interface { Pattern() string Minimum() *float64 IsExclusiveMinimum() bool Maximum() *float64 IsExclusiveMaximum() bool MultipleOf() *float64 MinItems() *int64 MaxItems() *int64 MinLength() *int64 MaxLength() *int64 MinProperties() *int64 MaxProperties() *int64 Required() []string Enum() []any Nullable() bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go
} // WithMultipleOf sets the MultipleOf 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 MultipleOf field is set to the value of the last call. func (b *JSONSchemaPropsApplyConfiguration) WithMultipleOf(value float64) *JSONSchemaPropsApplyConfiguration { b.MultipleOf = &value return b }
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/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.json
"maxLength": 13, "minLength": 14, "pattern": "patternValue", "maxItems": 16, "minItems": 17, "uniqueItems": true, "multipleOf": 19.5, "enum": [ "enumValue" ], "maxProperties": 21, "minProperties": 22, "required": [ "requiredValue" ],
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go
out.MaxLength = in.MaxLength out.MinLength = in.MinLength out.Pattern = in.Pattern out.MaxItems = in.MaxItems out.MinItems = in.MinItems out.UniqueItems = in.UniqueItems out.MultipleOf = in.MultipleOf out.MaxProperties = in.MaxProperties out.MinProperties = in.MinProperties out.Required = in.Required if in.Default != nil { out.Default = *(in.Default) } if in.Example != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 18:23:28 UTC 2023 - 15K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go
MinItems *int64 `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"` UniqueItems bool `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"` MultipleOf *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"` // +listType=atomic Enum []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
MinItems *int64 `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"` UniqueItems bool `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"` MultipleOf *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"` // +listType=atomic Enum []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:21 UTC 2023 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go
{ name: "uniqueItems", in: &apiextensions.JSONSchemaProps{ UniqueItems: true, }, expected: new(spec.Schema). UniqueValues(), }, { name: "multipleOf", in: &apiextensions.JSONSchemaProps{ MultipleOf: &testFloat64, }, expected: new(spec.Schema). WithMultipleOf(testFloat64), }, { name: "enum", in: &apiextensions.JSONSchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 14:34:26 UTC 2023 - 23.2K bytes - Viewed (0)