package
Version:
v0.104.0
Opens a new window with list of versions in this module.
Published: Jun 24, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
func New(clusterName string, service Service, eksAPI awsapi.EKS) *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 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 struct {
Cluster string
NodeGroup string
Labels map[string]string
}
Source Files
¶
Directories
¶
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.