Documentation
¶
Index ¶
- func IsNotFound(err error) bool
- type HealthIssue
- type Service
- func (m *Service) GetHealth(ctx context.Context, nodeGroupName string) ([]HealthIssue, error)
- func (m *Service) GetLabels(ctx context.Context, nodeGroupName string) (map[string]string, error)
- func (m *Service) UpdateLabels(ctx context.Context, nodeGroupName string, labelsToAdd map[string]string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶ added in v0.55.0
func IsNotFound(err error) bool
Types ¶
type HealthIssue ¶
type HealthIssue struct {
Message string
Code string
}
HealthIssue represents a health issue with a managed nodegroup
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
A Service provides methods for managing managed nodegroups
func NewService ¶
func NewService(eksAPI awsapi.EKS, ec2API awsapi.EC2,
stackCollection manager.StackManager, clusterName string) *Service
func (*Service) GetHealth ¶
func (m *Service) GetHealth(ctx context.Context, nodeGroupName string) ([]HealthIssue, error)
GetHealth fetches the health status for a nodegroup
func (*Service) GetLabels ¶
func (m *Service) GetLabels(ctx context.Context, nodeGroupName string) (map[string]string, error)
GetLabels fetches the labels for a nodegroup
func (*Service) UpdateLabels ¶
func (m *Service) UpdateLabels(ctx context.Context, nodeGroupName string, labelsToAdd map[string]string, labelsToRemove []string) error
UpdateLabels adds or removes labels for a nodegroup
Click to show internal directories.
Click to hide internal directories.