Documentation
¶
Index ¶
- Constants
- func SortResources(catalog KindCatalog, resources []resource.Resource, debug bool)
- type Kind
- func (kind *Kind) AddVersion(version int, kindVersion *KindVersion) error
- func (kind *Kind) ApplyPath(resource *resource.Resource) (string, error)
- func (kind *Kind) DescribePath(parentPathValues []string, name string) string
- func (kind *Kind) GetFlag() []string
- func (kind *Kind) GetLatestKindVersion() *KindVersion
- func (Kind *Kind) GetName() string
- func (kind *Kind) ListPath(parentPathValues []string) string
- func (kind *Kind) MaxVersion() int
- type KindCatalog
- type KindVersion
- type Schema
Constants ¶
View Source
const DefaultPriority = 1000 //update json annotation for Order when changing this value
Variables ¶
This section is empty.
Functions ¶
func SortResources ¶
func SortResources(catalog KindCatalog, resources []resource.Resource, debug bool)
Types ¶
type Kind ¶
type Kind struct {
Versions map[int]KindVersion
}
func NewKind ¶
func NewKind(version int, kindVersion *KindVersion) Kind
func (*Kind) AddVersion ¶
func (kind *Kind) AddVersion(version int, kindVersion *KindVersion) error
func (*Kind) DescribePath ¶
func (*Kind) GetLatestKindVersion ¶
func (kind *Kind) GetLatestKindVersion() *KindVersion
func (*Kind) MaxVersion ¶
type KindCatalog ¶
func DefaultKind ¶
func DefaultKind() KindCatalog
type KindVersion ¶
Click to show internal directories.
Click to hide internal directories.