Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface { Upgrade(ctx context.Context, dryRun bool) error Delete(ctx context.Context, waitInterval, podEvictionWaitPeriod time.Duration, wait, force, disableNodegroupEviction bool, parallel int) error }
func New ¶
func New(ctx context.Context, cfg *api.ClusterConfig, ctl *eks.ClusterProvider) (Cluster, error)
type Description ¶ added in v0.84.0
type Description struct { Name string Region string Owned api.EKSCTLCreated }
func GetClusters ¶ added in v0.84.0
func GetClusters(ctx context.Context, provider api.ClusterProvider, listAllRegions bool, chunkSize int) ([]Description, error)
type NodeGroupDrainer ¶ added in v0.83.0
type NodeGroupDrainer interface {
Drain(ctx context.Context, input *nodegroup.DrainInput) error
}
type OwnedCluster ¶
type OwnedCluster struct {
// contains filtered or unexported fields
}
func NewOwnedCluster ¶
func NewOwnedCluster(cfg *api.ClusterConfig, ctl *eks.ClusterProvider, clusterStack *manager.Stack, stackManager manager.StackManager) *OwnedCluster
type ProviderConstructor ¶ added in v0.84.0
type ProviderConstructor func(ctx context.Context, spec *api.ProviderConfig, clusterSpec *api.ClusterConfig) (*eks.ClusterProvider, error)
type StackManagerConstructor ¶ added in v0.84.0
type StackManagerConstructor func(provider api.ClusterProvider, spec *api.ClusterConfig) manager.StackManager
type UnownedCluster ¶
type UnownedCluster struct {
// contains filtered or unexported fields
}
func NewUnownedCluster ¶
func NewUnownedCluster(cfg *api.ClusterConfig, ctl *eks.ClusterProvider, stackManager manager.StackManager) *UnownedCluster
Click to show internal directories.
Click to hide internal directories.