Documentation ¶ Index ¶ type Manager func New(clusterName string, service Service, eksAPI eksiface.EKSAPI) *Manager func (m *Manager) Get(ctx context.Context, nodeGroupName string) ([]Summary, error) func (m *Manager) Set(ctx context.Context, nodeGroupName string, labels map[string]string) error func (m *Manager) Unset(ctx context.Context, nodeGroupName string, labels []string) error type Service type Summary Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Manager ¶ type Manager struct { // contains filtered or unexported fields } func New ¶ func New(clusterName string, service Service, eksAPI eksiface.EKSAPI) *Manager func (*Manager) Get ¶ func (m *Manager) Get(ctx context.Context, nodeGroupName string) ([]Summary, error) func (*Manager) Set ¶ func (m *Manager) Set(ctx context.Context, nodeGroupName string, labels map[string]string) error func (*Manager) Unset ¶ func (m *Manager) Unset(ctx context.Context, nodeGroupName string, labels []string) error type Service ¶ type Service interface { GetLabels(ctx context.Context, nodeGroupName string) (map[string]string, error) UpdateLabels(ctx context.Context, nodeGroupName string, labelsToAdd map[string]string, labelsToRemove []string) error } type Summary ¶ type Summary struct { Cluster string NodeGroup string Labels map[string]string } Source Files ¶ View all Source files get.go label.go set.go unset.go Directories ¶ Show internal Expand all Path Synopsis fakes Code generated by counterfeiter. Code generated by counterfeiter. Click to show internal directories. Click to hide internal directories.