Documentation ¶
Overview ¶
Package cli implements usecases logic that are designed to be run exclusively from the cli and need disambiguation. This is, the same or similar concept exists in an eks-a controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidationFailed ¶
ValidationFailed logs an error message for a validation.
func ValidationPassed ¶
ValidationPassed logs a success message for a validation.
Types ¶
type CreateClusterDefaulter ¶ added in v0.17.0
type CreateClusterDefaulter struct {
// contains filtered or unexported fields
}
CreateClusterDefaulter defines the cluster defaulter for create cluster command defaults.
func NewCreateClusterDefaulter ¶ added in v0.17.0
func NewCreateClusterDefaulter(skipIPCheck cluster.ControlPlaneIPCheckAnnotationDefaulter, mhcDefaulter cluster.MachineHealthCheckDefaulter) CreateClusterDefaulter
NewCreateClusterDefaulter to instantiate and register defaults.
type DeleteClusterDefaulter ¶ added in v0.19.0
type DeleteClusterDefaulter struct {
// contains filtered or unexported fields
}
DeleteClusterDefaulter defines the cluster defaulter for delete cluster command defaults.
func NewDeleteClusterDefaulter ¶ added in v0.19.0
func NewDeleteClusterDefaulter(nsDefaulter cluster.NamespaceDefaulter) DeleteClusterDefaulter
NewDeleteClusterDefaulter to instantiate and register defaults.
type UpgradeClusterDefaulter ¶ added in v0.17.0
type UpgradeClusterDefaulter struct {
// contains filtered or unexported fields
}
UpgradeClusterDefaulter defines the cluster defaulter for Upgrade cluster command defaults.
func NewUpgradeClusterDefaulter ¶ added in v0.17.0
func NewUpgradeClusterDefaulter(mhcDefaulter cluster.MachineHealthCheckDefaulter) UpgradeClusterDefaulter
NewUpgradeClusterDefaulter to instantiate and register defaults.