Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleManager ¶
type ClusterRoleManager interface {
UpdateRoleForAutoMode(ctx context.Context) error
DeleteAutoModePolicies(ctx context.Context) error
}
A ClusterRoleManager manages the cluster role.
type EKSUpdater ¶
type EKSUpdater interface {
// UpdateClusterConfig updates the cluster config.
UpdateClusterConfig(ctx context.Context, params *eks.UpdateClusterConfigInput, optFns ...func(*eks.Options)) (*eks.UpdateClusterConfigOutput, error)
// UpdateDescriber describes an update.
waiter.UpdateDescriber
}
EKSUpdater updates an EKS cluster.
type NodeGroupDrainer ¶
A NodeGroupDrainer drains nodegroups.
type RoleManager ¶
type RoleManager interface {
CreateOrImport(ctx context.Context, clusterName string) (string, error)
DeleteIfRequired(ctx context.Context) error
}
A RoleManager creates or deletes IAM roles.
type Updater ¶
type Updater struct {
RoleManager RoleManager
ClusterRoleManager ClusterRoleManager
PodsGetter corev1client.PodsGetter
EKSUpdater EKSUpdater
Drainer NodeGroupDrainer
}
An Updater enables or disables Auto Mode.
Click to show internal directories.
Click to hide internal directories.