kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

var _

var _

type Structural

type StructuralOrBool

func (sb *StructuralOrBool) Schema() common.Schema {}

func (sb *StructuralOrBool) Allows() bool {}

func (s *Structural) Type() string {}

func (s *Structural) Format() string {}

func (s *Structural) Pattern() string {}

func (s *Structural) Items() common.Schema {}

func (s *Structural) Properties() map[string]common.Schema {}

func (s *Structural) AdditionalProperties() common.SchemaOrBool {}

func (s *Structural) Default() any {}

func (s *Structural) Minimum() *float64 {}

func (s *Structural) IsExclusiveMinimum() bool {}

func (s *Structural) Maximum() *float64 {}

func (s *Structural) IsExclusiveMaximum() bool {}

func (s *Structural) MultipleOf() *float64 {}

func (s *Structural) MinItems() *int64 {}

func (s *Structural) MaxItems() *int64 {}

func (s *Structural) MinLength() *int64 {}

func (s *Structural) MaxLength() *int64 {}

func (s *Structural) MinProperties() *int64 {}

func (s *Structural) MaxProperties() *int64 {}

func (s *Structural) Required() []string {}

func (s *Structural) UniqueItems() bool {}

func (s *Structural) Enum() []any {}

func (s *Structural) Nullable() bool {}

func (s *Structural) IsXIntOrString() bool {}

func (s *Structural) IsXEmbeddedResource() bool {}

func (s *Structural) IsXPreserveUnknownFields() bool {}

func (s *Structural) XListType() string {}

func (s *Structural) XMapType() string {}

func (s *Structural) XListMapKeys() []string {}

func (s *Structural) AllOf() []common.Schema {}

func (s *Structural) AnyOf() []common.Schema {}

func (s *Structural) OneOf() []common.Schema {}

func (s *Structural) Not() common.Schema {}

// nestedValueValidationToStructural converts a nested value validation to
// an equivalent structural schema instance.
//
// This lets us avoid needing a separate adaptor for the nested value
// validations, and doesn't cost too much since since we are usually exploring the
// entire schema anyway.
func nestedValueValidationToStructural(nvv *schema.NestedValueValidation) *Structural {}

type StructuralValidationRule

func (s *StructuralValidationRule) Rule() string {}

func (s *StructuralValidationRule) Message() string {}

func (s *StructuralValidationRule) FieldPath() string {}

func (s *StructuralValidationRule) MessageExpression() string {}

func (s *Structural) XValidations() []common.ValidationRule {}

func (s *Structural) WithTypeAndObjectMeta() common.Schema {}