Documentation ¶
Index ¶
- Constants
- func ConvertMDStatus(status ekstypes.NodegroupStatus) apiv2.ExternalClusterMDState
- func ConvertStatus(status ekstypes.ClusterStatus) kubermaticv1.ExternalClusterPhase
- func CreateCluster(ctx context.Context, client *awsprovider.ClientSet, ...) error
- func CreateNodeGroup(ctx context.Context, client *awsprovider.ClientSet, ...) error
- func DecodeError(err error) error
- func DeleteCluster(ctx context.Context, client *awsprovider.ClientSet, eksClusterName string) error
- func DeleteNodegroup(ctx context.Context, client *awsprovider.ClientSet, ...) error
- func DescribeNodeGroup(ctx context.Context, client *awsprovider.ClientSet, ...) (*ekstypes.Nodegroup, error)
- func GetCluster(ctx context.Context, client *awsprovider.ClientSet, eksClusterName string) (*ekstypes.Cluster, error)
- func GetClusterConfig(ctx context.Context, accessKeyID, secretAccessKey, clusterName, region string) (*api.Config, error)
- func GetClusterStatus(ctx context.Context, secretKeySelector provider.SecretKeySelectorValueFunc, ...) (*kubermaticv1.ExternalClusterCondition, error)
- func ListClusters(ctx context.Context, client *awsprovider.ClientSet) ([]string, error)
- func ListMachineDeploymentUpgrades(ctx context.Context, creds EKSCredentials, ...) ([]*apiv1.MasterVersion, error)
- func ListNodegroups(ctx context.Context, client *awsprovider.ClientSet, clusterName string) ([]string, error)
- func ListUpgrades(ctx context.Context, cluster *kubermaticv1.ExternalCluster, ...) ([]*apiv1.MasterVersion, error)
- func ResizeNodeGroup(ctx context.Context, client *awsprovider.ClientSet, ...) (*eks.UpdateNodegroupConfigOutput, error)
- func UpgradeClusterVersion(ctx context.Context, client *awsprovider.ClientSet, version *semverlib.Version, ...) error
- func UpgradeNodeGroup(ctx context.Context, client *awsprovider.ClientSet, ...) (*eks.UpdateNodegroupVersionOutput, error)
- func ValidateCredentials(ctx context.Context, credential resources.EKSCredential) error
- type EKSCredentials
Constants ¶
View Source
const ( EKSNodeGroupStatus = "ACTIVE" ARM64Architecture = "arm64" X64Architecture = "x64" // The architecture of the machine image. // Used for EKS api endpoints. EKSARM64Architecture = "arm64" EKSX86_64Architecture = "x86_64" )
Variables ¶
This section is empty.
Functions ¶
func ConvertMDStatus ¶ added in v2.21.0
func ConvertMDStatus(status ekstypes.NodegroupStatus) apiv2.ExternalClusterMDState
func ConvertStatus ¶ added in v2.21.0
func ConvertStatus(status ekstypes.ClusterStatus) kubermaticv1.ExternalClusterPhase
func CreateCluster ¶ added in v2.21.0
func CreateCluster(ctx context.Context, client *awsprovider.ClientSet, clusterSpec *apiv2.EKSClusterSpec, eksClusterName string) error
func CreateNodeGroup ¶ added in v2.21.0
func CreateNodeGroup(ctx context.Context, client *awsprovider.ClientSet, clusterName, nodeGroupName string, eksMDCloudSpec *apiv2.EKSMachineDeploymentCloudSpec) error
func DecodeError ¶ added in v2.21.0
func DeleteCluster ¶ added in v2.21.0
func DeleteNodegroup ¶ added in v2.21.0
func DescribeNodeGroup ¶ added in v2.21.0
func GetCluster ¶ added in v2.21.0
func GetClusterConfig ¶
func GetClusterStatus ¶ added in v2.21.0
func GetClusterStatus(ctx context.Context, secretKeySelector provider.SecretKeySelectorValueFunc, cloudSpec *kubermaticv1.ExternalClusterEKSCloudSpec) (*kubermaticv1.ExternalClusterCondition, error)
func ListClusters ¶ added in v2.21.0
func ListMachineDeploymentUpgrades ¶ added in v2.21.0
func ListMachineDeploymentUpgrades(ctx context.Context, creds EKSCredentials, region, clusterName, machineDeployment string) ([]*apiv1.MasterVersion, error)
func ListNodegroups ¶ added in v2.21.0
func ListUpgrades ¶ added in v2.21.0
func ListUpgrades(ctx context.Context, cluster *kubermaticv1.ExternalCluster, clusterProvider provider.ExternalClusterProvider, configGetter provider.KubermaticConfigurationGetter) ([]*apiv1.MasterVersion, error)
func ResizeNodeGroup ¶ added in v2.21.0
func ResizeNodeGroup(ctx context.Context, client *awsprovider.ClientSet, clusterName, nodeGroupName string, currentSize, desiredSize int32) (*eks.UpdateNodegroupConfigOutput, error)
func UpgradeClusterVersion ¶ added in v2.21.0
func UpgradeNodeGroup ¶ added in v2.21.0
func UpgradeNodeGroup(ctx context.Context, client *awsprovider.ClientSet, clusterName, nodeGroupName, currentVersion, desiredVersion *string) (*eks.UpdateNodegroupVersionOutput, error)
func ValidateCredentials ¶ added in v2.21.0
func ValidateCredentials(ctx context.Context, credential resources.EKSCredential) error
Types ¶
type EKSCredentials ¶ added in v2.22.0
type EKSCredentials struct { AccessKeyID string SecretAccessKey string AssumeRoleARN string AssumeRoleExternalID string }
func GetCredentialsForCluster ¶
func GetCredentialsForCluster(cloud *kubermaticv1.ExternalClusterEKSCloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (EKSCredentials, error)
Click to show internal directories.
Click to hide internal directories.