addon

package
v0.97.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 26 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAddonTasks

func CreateAddonTasks(ctx context.Context, cfg *api.ClusterConfig, clusterProvider *eks.ClusterProvider, forceAll bool, timeout time.Duration) (*tasks.TaskTree, *tasks.TaskTree)

Types

type Manager

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

func New

func New(clusterConfig *api.ClusterConfig, eksAPI eksiface.EKSAPI, stackManager manager.StackManager, withOIDC bool, oidcManager *iamoidc.OpenIDConnectManager, clientSet kubeclient.Interface, timeout time.Duration) (*Manager, error)

func (*Manager) Create

func (a *Manager) Create(ctx context.Context, addon *api.Addon, wait bool) error

func (*Manager) Delete

func (a *Manager) Delete(ctx context.Context, addon *api.Addon) error

func (*Manager) DeleteWithPreserve added in v0.63.0

func (a *Manager) DeleteWithPreserve(addon *api.Addon) error

func (*Manager) DescribeAllVersions

func (a *Manager) DescribeAllVersions() (string, error)

func (*Manager) DescribeVersions

func (a *Manager) DescribeVersions(addon *api.Addon) (string, error)

func (*Manager) Get

func (a *Manager) Get(addon *api.Addon) (Summary, error)

func (*Manager) GetAll

func (a *Manager) GetAll() ([]Summary, error)

func (*Manager) Update

func (a *Manager) Update(ctx context.Context, addon *api.Addon, wait bool) error

type Summary

type Summary struct {
	Name         string
	Version      string
	NewerVersion string
	IAMRole      string
	Status       string
	Issues       []string
}

Jump to

Keyboard shortcuts

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