Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WithMinimum (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    	b.ExclusiveMaximum = &value
    	return b
    }
    
    // WithMinimum sets the Minimum 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 Minimum field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithMinimum(value float64) *JSONSchemaPropsApplyConfiguration {
    	b.Minimum = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	b.ExclusiveMaximum = &value
    	return b
    }
    
    // WithMinimum sets the Minimum 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 Minimum field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithMinimum(value float64) *JSONSchemaPropsApplyConfiguration {
    	b.Minimum = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    		},
    		{
    			name: "minimum and exclusiveMinimum",
    			in: &apiextensions.JSONSchemaProps{
    				Minimum:          &testFloat64,
    				ExclusiveMinimum: true,
    			},
    			expected: new(spec.Schema).
    				WithMinimum(testFloat64, true),
    		},
    		{
    			name: "maxLength",
    			in: &apiextensions.JSONSchemaProps{
    				MaxLength: &testInt64,
    			},
    			expected: new(spec.Schema).
    				WithMaxLength(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)
Back to top