Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- func NewVersionsResource() *resource.Resource
- type AddonOptions
- type AddonPrinter
- type AddonVersionPrinter
- type Getter
- type VersionGetter
- func (g *VersionGetter) Get(name string, output printer.Output, options resource.Options) error
- func (g *VersionGetter) GetAddonVersionsByName(name, k8sversion string) ([]types.AddonInfo, error)
- func (g *VersionGetter) GetAllAddonVersions(k8sversion string) ([]types.AddonInfo, error)
- func (g *VersionGetter) Init()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
func NewVersionsResource ¶
Types ¶
type AddonOptions ¶
type AddonOptions struct { resource.CommonOptions Version string }
func NewOptions ¶
func NewOptions() (options *AddonOptions, flags cmd.Flags)
type AddonPrinter ¶
type AddonPrinter struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(addons []*types.Addon) *AddonPrinter
func (*AddonPrinter) PrintTable ¶
func (p *AddonPrinter) PrintTable(writer io.Writer) error
type AddonVersionPrinter ¶
type AddonVersionPrinter struct {
// contains filtered or unexported fields
}
func NewVersionPrinter ¶
func NewVersionPrinter(addonInfos []types.AddonInfo) *AddonVersionPrinter
func (*AddonVersionPrinter) PrintJSON ¶
func (p *AddonVersionPrinter) PrintJSON(writer io.Writer) error
func (*AddonVersionPrinter) PrintTable ¶
func (p *AddonVersionPrinter) PrintTable(writer io.Writer) error
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
func NewVersionGetter ¶
func (*Getter) GetAddonByName ¶
func (*Getter) GetAllAddons ¶
type VersionGetter ¶
type VersionGetter struct {
// contains filtered or unexported fields
}
func (*VersionGetter) GetAddonVersionsByName ¶
func (g *VersionGetter) GetAddonVersionsByName(name, k8sversion string) ([]types.AddonInfo, error)
func (*VersionGetter) GetAllAddonVersions ¶
func (g *VersionGetter) GetAllAddonVersions(k8sversion string) ([]types.AddonInfo, error)
func (*VersionGetter) Init ¶
func (g *VersionGetter) Init()
Click to show internal directories.
Click to hide internal directories.