kubernetes/vendor/github.com/google/gnostic-models/jsonschema/models.go

type Schema

type SchemaNumber

// NewSchemaNumberWithInteger creates and returns a new object
func NewSchemaNumberWithInteger(i int64) *SchemaNumber {}

// NewSchemaNumberWithFloat creates and returns a new object
func NewSchemaNumberWithFloat(f float64) *SchemaNumber {}

type SchemaOrBoolean

// NewSchemaOrBooleanWithSchema creates and returns a new object
func NewSchemaOrBooleanWithSchema(s *Schema) *SchemaOrBoolean {}

// NewSchemaOrBooleanWithBoolean creates and returns a new object
func NewSchemaOrBooleanWithBoolean(b bool) *SchemaOrBoolean {}

type StringOrStringArray

// NewStringOrStringArrayWithString creates and returns a new object
func NewStringOrStringArrayWithString(s string) *StringOrStringArray {}

// NewStringOrStringArrayWithStringArray creates and returns a new object
func NewStringOrStringArrayWithStringArray(a []string) *StringOrStringArray {}

type SchemaOrStringArray

type SchemaOrSchemaArray

// NewSchemaOrSchemaArrayWithSchema creates and returns a new object
func NewSchemaOrSchemaArrayWithSchema(s *Schema) *SchemaOrSchemaArray {}

// NewSchemaOrSchemaArrayWithSchemaArray creates and returns a new object
func NewSchemaOrSchemaArrayWithSchemaArray(a []*Schema) *SchemaOrSchemaArray {}

type SchemaEnumValue

type NamedSchema

// NewNamedSchema creates and returns a new object
func NewNamedSchema(name string, value *Schema) *NamedSchema {}

type NamedSchemaOrStringArray

func namedSchemaArrayElementWithName(array *[]*NamedSchema, name string) *Schema {}

// PropertyWithName returns the selected element.
func (s *Schema) PropertyWithName(name string) *Schema {}

// PatternPropertyWithName returns the selected element.
func (s *Schema) PatternPropertyWithName(name string) *Schema {}

// DefinitionWithName returns the selected element.
func (s *Schema) DefinitionWithName(name string) *Schema {}

// AddProperty adds a named property.
func (s *Schema) AddProperty(name string, property *Schema) {}