addons

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilAddon           = errors.New("nil addon returned from create")
	ErrAddonNotFound      = errors.New("addon not found")
	ErrAddonAlreadyExists = errors.New("addon already exists")
)

Functions

func NewPlan

func NewPlan(clusterName string, desiredAddons, installedAddons []*EKSAddon, client eksiface.EKSAPI) planner.Plan

NewPlan creates a new Plan to manage EKS addons

Types

type CreateAddonProcedure

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

CreateAddonProcedure is a procedure that will create an EKS addon for a cluster

func (*CreateAddonProcedure) Do

Do implements the logic for the procedure

func (*CreateAddonProcedure) Name

func (p *CreateAddonProcedure) Name() string

Name is the name of the procedure

type DeleteAddonProcedure

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

DeleteAddonProcedure is a procedure that will delete an EKS addon

func (*DeleteAddonProcedure) Do

Do implements the logic for the procedure

func (*DeleteAddonProcedure) Name

func (p *DeleteAddonProcedure) Name() string

Name is the name of the procedure

type EKSAddon

type EKSAddon struct {
	Name                  *string
	Version               *string
	ServiceAccountRoleARN *string
	Tags                  infrav1.Tags
	ResolveConflict       *string
	ARN                   *string
	Status                *string
}

EKSAddon represents an EKS addon.

func (*EKSAddon) IsEqual

func (e *EKSAddon) IsEqual(other *EKSAddon, includeTags bool) bool

IsEqual determines if 2 EKSAddon are equal

type UpdateAddonProcedure

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

UpdateAddonProcedure is a procedure that will update an EKS addon

func (*UpdateAddonProcedure) Do

Do implements the logic for the procedure

func (*UpdateAddonProcedure) Name

func (p *UpdateAddonProcedure) Name() string

Name is the name of the procedure

type UpdateAddonTagsProcedure

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

UpdateAddonTagsProcedure is a procedure that will update an EKS addon tags

func (*UpdateAddonTagsProcedure) Do

Do implements the logic for the procedure

func (*UpdateAddonTagsProcedure) Name

func (p *UpdateAddonTagsProcedure) Name() string

Name is the name of the procedure

type WaitAddonActiveProcedure

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

WaitAddonActiveProcedure is a procedure that will wait for an EKS addon to be active in a cluster

func (*WaitAddonActiveProcedure) Do

Do implements the logic for the procedure

func (*WaitAddonActiveProcedure) Name

func (p *WaitAddonActiveProcedure) Name() string

Name is the name of the procedure

type WaitAddonDeleteProcedure

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

WaitAddonDeleteProcedure is a procedure that will wait for an EKS addon to be deleted from a cluster

func (*WaitAddonDeleteProcedure) Do

Do implements the logic for the procedure

func (*WaitAddonDeleteProcedure) Name

func (p *WaitAddonDeleteProcedure) Name() string

Name is the name of the procedure

Jump to

Keyboard shortcuts

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