Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrNilAddon defines an error for when a nil addon is returned. ErrNilAddon = errors.New("nil addon returned from create") // ErrAddonNotFound defines an error for when an addon is not found. ErrAddonNotFound = errors.New("addon not found") // ErrAddonAlreadyExists defines an error for when an addon already exists. ErrAddonAlreadyExists = errors.New("addon already exists") )
Functions ¶
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 ¶
func (p *CreateAddonProcedure) Do(ctx context.Context) error
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 ¶
func (p *DeleteAddonProcedure) Do(ctx context.Context) error
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.
type UpdateAddonProcedure ¶
type UpdateAddonProcedure struct {
// contains filtered or unexported fields
}
UpdateAddonProcedure is a procedure that will update an EKS addon.
func (*UpdateAddonProcedure) Do ¶
func (p *UpdateAddonProcedure) Do(ctx context.Context) error
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 ¶
func (p *UpdateAddonTagsProcedure) Do(ctx context.Context) error
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. Abd optionally include the degraded state. Note: addons may be degraded until there are worker nodes.
func (*WaitAddonActiveProcedure) Do ¶
func (p *WaitAddonActiveProcedure) Do(ctx context.Context) error
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 ¶
func (p *WaitAddonDeleteProcedure) Do(ctx context.Context) error
Do implements the logic for the procedure.
func (*WaitAddonDeleteProcedure) Name ¶
func (p *WaitAddonDeleteProcedure) Name() string
Name is the name of the procedure.