Documentation
¶
Index ¶
- func ClusterName(ctx context.Context, awsCfg aws.Config, cliFlag string) (string, error)
- func ConfirmNodegroupSelection(matches []string, pattern string) ([]string, error)
- func CurrentAmiID(ctx context.Context, ng *types.Nodegroup, ec2Client *ec2.Client, ...) string
- func LatestAmiID(ctx context.Context, ssmClient *ssm.Client, k8sVersion string) string
- func MatchingClusters(clusters []string, pattern string) []string
- func MatchingNodegroups(nodegroups []string, pattern string) []string
- func Nodegroups(ctx context.Context, awsCfg aws.Config, clusterName string) ([]refreshTypes.NodegroupInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterName ¶
func ConfirmNodegroupSelection ¶
confirmNodegroupSelection prompts user to confirm when multiple nodegroups match. Returns the selected nodegroups or error if user cancels.
func CurrentAmiID ¶
func LatestAmiID ¶
func MatchingClusters ¶
MatchingClusters returns cluster names that contain the given pattern. If pattern is empty, returns all clusters.
func MatchingNodegroups ¶
matchingNodegroups returns nodegroup names that contain the given pattern. If pattern is empty, returns all nodegroups.
func Nodegroups ¶
func Nodegroups(ctx context.Context, awsCfg aws.Config, clusterName string) ([]refreshTypes.NodegroupInfo, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.