package
0.205.0
Repository: https://github.com/weaveworks/eksctl.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddApproveFlag adds common `--approve` flag.
AddClusterFlag adds a common --cluster flag for cluster name.
AddClusterFlagWithDeprecated adds a common --cluster flag for cluster name as well as a deprecated --name flag.
AddCommonCreateNodeGroupAddonsFlags adds flags to set ng.IAM.WithAddonPolicies.
AddCommonCreateNodeGroupFlags adds common flags for creating a nodegroup.
AddCommonFlagsForAWS adds common flags for api.ProviderConfig.
AddCommonFlagsForGetCmd adds common flags for get commands.
AddCommonFlagsForKubeconfig adds common flags for controlling how output kubeconfig is written.
AddConfigFileFlag adds common --config-file flag.
AddFlagsForFargate configures the flags required to interact with Fargate.
AddFlagsForFargateProfileCreation configures the flags required to create a Fargate profile.
AddIAMIdentityMappingARNFlags adds --arn and deprecated --role flags.
AddIAMServiceAccountFilterFlags add common `--include` and `--exclude` flags for filtering iamserviceaccounts.
AddInstanceSelectorOptions adds flags for EC2 instance selector.
AddNodeGroupFilterFlags add common `--include` and `--exclude` flags for filtering nodegroups.
AddPreRun chains cmd.PreRun handlers, as cobra only allows one, so we don't accidentally override one we registered earlier.
AddRegionFlag adds common --region flag.
AddResourceCmd create a registers a new command under the given verb command.
AddStringToStringVarPFlag is a wrapper that prefixes the description of the flag for consistency.
AddSubnetIDs adds common --subnet-ids flag.
AddTimeoutFlag configures the timeout flag.
AddTimeoutFlagWithValue configures the timeout flag with the provided value.
AddUpdateAuthConfigMap adds common --update-auth-configmap flag.
AddVersionFlag adds common --version flag.
AddWaitFlag adds common --wait flag.
AddWaitFlagWithFullDescription adds common --wait flag.
ApplyFilter applies nodegroup filters and returns a log function.
ClusterNameFlag returns the flag to use for the cluster name taking the principal resource into account.
ErrCannotUseWithConfigFile is a common error message.
ErrClusterFlagAndArg wraps ErrFlagAndArg() by passing in the proper flag name.
ErrFlagAndArg may be used to err for options that can be given as flags /and/ arg but only one is allowed to be used.
ErrMustBeSet is a common error message.
ErrUnsupportedManagedFlag reports unsupported flags for Managed Nodegroups.
ErrUnsupportedNameArg reports unsupported usage of `name` argument.
ErrUnsupportedRegion is a common error message.
GetNameArg tests to ensure there is only 1 name argument.
KubernetesClientAndConfigFrom returns a Kubernetes client set and REST configuration object for the currently configured cluster.
LogCompletedAction calls logger.Success with appropriate prefix.
LogIntendedAction calls logger.Info with appropriate prefix.
LogPlanModeWarning will log a message to inform user that they are in plan-mode.
LogRegionAndVersionInfo will log the selected region and build version.
NewAutoModeLoader creates a new loader for Auto Mode.
No description provided by the author
NewCreateAccessEntryLoader creates a new loader for access entries.
NewCreateClusterLoader will load config or use flags for 'eksctl create cluster'.
NewCreateFargateProfileLoader will load config or use flags for 'eksctl create fargateprofile'.
NewCreateIAMServiceAccountLoader will load config or use flags for 'eksctl create iamserviceaccount'.
NewCreateNodeGroupLoader will load config or use flags for 'eksctl create nodegroup'.
No description provided by the author
NewCreatePodIdentityAssociationLoader will load config or use flags for 'eksctl create podidentityassociation'.
NewDeleteAccessEntryLoader loads config file and validates command for `eksctl delete accessentry`.
No description provided by the author
NewDeleteAndDrainNodeGroupLoader will load config or use flags for 'eksctl delete nodegroup'.
NewDeleteFargateProfileLoader will load config or use flags for 'eksctl delete fargateprofile'.
NewDeleteIAMServiceAccountLoader will load config or use flags for 'eksctl delete iamserviceaccount'.
NewDeletePodIdentityAssociationLoader will load config or use flags for `eksctl delete podidentityassociation`.
NewGetAccessEntryLoader loads config file and validates command for `eksctl get accessentry`.
NewGetAddonsLoader loads config file and validates command for `eksctl get addon`.
NewGetClusterLoader will load config or use flags for 'eksctl get cluster(s)'.
NewGetFargateProfileLoader will load config or use flags for 'eksctl get fargateprofile'.
NewGetIAMServiceAccountLoader will load config or use flags for 'eksctl get iamserviceaccount'.
NewGetLabelsLoader loads config file and validates command for `eksctl get labels`.
NewGetNodegroupLoader loads config file and validates command for `eksctl get nodegroup`.
No description provided by the author
NewGitOpsConfigLoader creates a new ClusterConfigLoader which handles loading of ClusterConfigFile GitOps-related commands.
NewGrouping creates an instance of Grouping.
NewMetadataLoader handles loading of clusterConfigFile vs using flags for all commands that require only metadata fields, e.g.
NewScaleAllNodeGroupLoader will load config or use flags for 'eksctl scale nodegroup'.
NewScaleNodeGroupLoader will load config or use flags for 'eksctl scale nodegroup'.
NewSetLabelLoader will load config or use flags for 'eksctl set labels'.
NewUpdateClusterVPCLoader will load config or use flags for 'eksctl utils update-cluster-vpc-config'.
NewUpdateNodegroupLoader will load config or use flags for 'eksctl update nodegroup'.
NewUpdatePodIdentityAssociationLoader will load config or use flags for `eksctl update podidentityassociation`.
NewUtilsAssociateIAMOIDCProviderLoader will load config or use flags for 'eksctl utils associal-iam-oidc-provider'.
NewUtilsEnableEndpointAccessLoader will load config or use flags for 'eksctl utils update-cluster-endpoints'.
NewUtilsEnableLoggingLoader will load config or use flags for 'eksctl utils update-cluster-logging'.
No description provided by the author
NewUtilsPublicAccessCIDRsLoader loads config or uses flags for `eksctl utils set-public-access-cidrs <cidrs>`.
NewUtilsUpdateAuthenticationModeLoader loads config or uses flags for `eksctl utils update-autentication-mode`.
NewVerbCmd defines a standard verb command.
NewZonalShiftConfigLoader creates a new loader for zonal shift config.
No description provided by the author
PopulateNodegroupFromStack populates the nodegroup field of an api.ClusterConfig by type from its CF stack.
PopulateUnmanagedNodegroup populates the unmanaged nodegroup field of a ClusterConfig.
PrintDryRunConfig prints ClusterConfig for dry-run.
PrintNodeGroupDryRunConfig prints the dry-run config for nodegroups, omitting any cluster-wide defaults.
ToKubeNodeGroups combines managed and unmanaged nodegroups and returns a slice of eks.KubeNodeGroup containing both types of nodegroups.
ValidateNumberOfNodes validates the scaling config of a nodegroup.

# Constants

IncompatibleFlags is a common substring of an error message.

# Structs

Cmd holds attributes that are common between commands; not all commands use each attribute, but they can if needed.
No description provided by the author
CreateClusterCmdParams groups CLI options for the create cluster command.
CreateManagedNGOptions holds options for creating a managed nodegroup.
CreateNGOptions holds options for creating a nodegroup.
FlagGrouping holds a superset of all flagsets for all commands.
GitOpsConfigLoader handles loading of ClusterConfigFile v.s.
NamedFlagSetGroup holds a single group of flagsets.
NodeGroupOptions holds options for creating nodegroups.
PodIdentityAssociationOptions holds the options for deleting a pod identity association.
UpdateClusterVPCOptions holds the options for updating the VPC config.
UpdatePodIdentityAssociationOptions holds the options for updating a pod identity association.

# Interfaces

ClusterConfigLoader is an interface that loaders should implement.

# Type aliases

No description provided by the author