Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withNullable (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/errors.go

    	return v.Detail
    }
    
    // ErrorType is a machine readable value providing more detail about why
    // a XValidation is invalid.
    type ErrorType string
    
    const (
    	// ErrorTypeRequired is used to report withNullable values that are not
    	// provided (e.g. empty strings, null values, or empty arrays).  See
    	// Required().
    	ErrorTypeRequired ErrorType = "RuleRequired"
    	// ErrorTypeInvalid is used to report malformed values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"unsetDefaultedStr": withDefault("default value", stringType),
    				"unsetNullableStr":  withNullable(true, stringType),
    
    				"setPlainStr":          stringType,
    				"setDefaultedStr":      withDefault("default value", stringType),
    				"setNullableStr":       withNullable(true, stringType),
    				"setToNullNullableStr": withNullable(true, stringType),
    			}),
    			expectCost: map[string]int64{
    				"!has(self.unsetPlainStr)": 2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    	b.Example = &value
    	return b
    }
    
    // WithNullable sets the Nullable 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 Nullable field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithNullable(value bool) *JSONSchemaPropsApplyConfiguration {
    	b.Nullable = &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)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	b.Example = &value
    	return b
    }
    
    // WithNullable sets the Nullable 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 Nullable field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithNullable(value bool) *JSONSchemaPropsApplyConfiguration {
    	b.Nullable = &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)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"unsetDefaultedStr": withDefault("default value", stringType),
    				"unsetNullableStr":  withNullable(true, stringType),
    
    				"setPlainStr":          stringType,
    				"setDefaultedStr":      withDefault("default value", stringType),
    				"setNullableStr":       withNullable(true, stringType),
    				"setToNullNullableStr": withNullable(true, stringType),
    			}),
    			valid: []string{
    				"!has(self.unsetPlainStr)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top