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 FormatAWSError(err error, operation string) error
- func IsCredentialError(err error) bool
- func IsNetworkError(err error) bool
- 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)
- func PrintCredentialHelp()
- func ValidateAWSCredentials(ctx context.Context, awsCfg aws.Config) 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 FormatAWSError ¶ added in v0.1.8
FormatAWSError provides user-friendly error messages for AWS errors
func IsCredentialError ¶ added in v0.1.8
IsCredentialError checks if the error is related to AWS credentials
func IsNetworkError ¶ added in v0.1.8
IsNetworkError checks if the error is network-related
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)
func PrintCredentialHelp ¶ added in v0.1.8
func PrintCredentialHelp()
PrintCredentialHelp displays helpful credential setup information
Types ¶
This section is empty.