addon

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 18 Imported by: 4 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAddonTasks

func CreateAddonTasks(cfg *api.ClusterConfig, clusterProvider *eks.ClusterProvider) *tasks.TaskTree

Types

type Manager

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

func New

func New(clusterConfig *api.ClusterConfig, clusterProvider *eks.ClusterProvider, stackManager StackManager, withOIDC bool, oidcManager *iamoidc.OpenIDConnectManager, clientSet kubeclient.Interface) (*Manager, error)

func (*Manager) Create

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

func (*Manager) Delete

func (a *Manager) Delete(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(addon *api.Addon) error

type StackManager

type StackManager interface {
	CreateStack(name string, stack builder.ResourceSet, tags, parameters map[string]string, errs chan error) error
	DeleteStackByName(name string) (*manager.Stack, error)
	ListStacksMatching(nameRegex string, statusFilters ...string) ([]*manager.Stack, error)
	UpdateStack(stackName, changeSetName, description string, templateData manager.TemplateData, parameters map[string]string) error
}

type Summary

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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