Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schemas ¶
type Schemas struct {
// contains filtered or unexported fields
}
Schemas contains metadata about configuration resources.
func (Schemas) FindByGroupVersionAliasesKind ¶
FindByGroupVersionAliasesKind searches and returns the first schema with the given GVK, if not found, it will search for version aliases for the schema to see if there is a match.
type SchemasBuilder ¶
type SchemasBuilder struct {
// contains filtered or unexported fields
}
SchemasBuilder is a builder for the schemas type.
func NewSchemasBuilder ¶
func NewSchemasBuilder() *SchemasBuilder
NewSchemasBuilder returns a new instance of SchemasBuilder.
func (*SchemasBuilder) Add ¶
func (b *SchemasBuilder) Add(s schema.Schema) error
Add a new collection to the schemas.
func (*SchemasBuilder) Build ¶
func (b *SchemasBuilder) Build() Schemas
Build a new schemas from this SchemasBuilder.
func (*SchemasBuilder) MustAdd ¶
func (b *SchemasBuilder) MustAdd(s schema.Schema) *SchemasBuilder
MustAdd calls Add and panics if it fails.
Click to show internal directories.
Click to hide internal directories.