Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeStackName ¶
func MakeStackName(clusterName string, accessEntry api.AccessEntry) string
MakeStackName creates a stack name for the specified access entry.
Types ¶
type Creator ¶
type Creator struct { ClusterName string StackCreator StackCreator }
A Creator creates access entries.
func (*Creator) CreateTasks ¶
CreateTasks creates a TaskTree for creating access entries.
type CreatorInterface ¶
type CreatorInterface interface { // Create creates access entries. Create(ctx context.Context, accessEntries []api.AccessEntry) error // CreateTasks creates a TaskTree for creating access entries. CreateTasks(ctx context.Context, accessEntries []api.AccessEntry) *tasks.TaskTree }
CreatorInterface creates access entries.
type GetterInterface ¶ added in v0.177.0
type MigrationOptions ¶ added in v0.177.0
type Migrator ¶ added in v0.177.0
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶ added in v0.177.0
func NewMigrator( clusterName string, eksAPI awsapi.EKS, iamAPI awsapi.IAM, clientSet kubernetes.Interface, aeCreator CreatorInterface, aeGetter GetterInterface, curAuthMode ekstypes.AuthenticationMode, tgAuthMode ekstypes.AuthenticationMode, ) *Migrator
func (*Migrator) MigrateToAccessEntry ¶ added in v0.177.0
func (m *Migrator) MigrateToAccessEntry(ctx context.Context, options MigrationOptions) error
type Remover ¶
type Remover struct {
// contains filtered or unexported fields
}
func NewRemover ¶
func NewRemover(clusterName string, stackRemover StackRemover, eksAPI awsapi.EKS) *Remover
func (Remover) DeleteTasks ¶
type StackCreator ¶
type StackRemover ¶
Click to show internal directories.
Click to hide internal directories.