addon

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2024 License: MIT-0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

func NewVersionsResource

func NewVersionsResource() *resource.Resource

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) PrintJSON

func (p *AddonPrinter) PrintJSON(writer io.Writer) error

func (*AddonPrinter) PrintTable

func (p *AddonPrinter) PrintTable(writer io.Writer) error

func (*AddonPrinter) PrintYAML

func (p *AddonPrinter) PrintYAML(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

func (*AddonVersionPrinter) PrintYAML

func (p *AddonVersionPrinter) PrintYAML(writer io.Writer) error

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(eksClient *aws.EKSClient) *Getter

func NewVersionGetter

func NewVersionGetter(eksClient *aws.EKSClient) *Getter

func (*Getter) Get

func (g *Getter) Get(name string, output printer.Output, options resource.Options) error

func (*Getter) GetAddonByName

func (g *Getter) GetAddonByName(name, clusterName string) (*types.Addon, error)

func (*Getter) GetAllAddons

func (g *Getter) GetAllAddons(clusterName string) ([]*types.Addon, error)

func (*Getter) Init

func (g *Getter) Init()

type VersionGetter

type VersionGetter struct {
	// contains filtered or unexported fields
}

func (*VersionGetter) Get

func (g *VersionGetter) Get(name string, output printer.Output, options resource.Options) error

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL