Documentation ¶
Index ¶
- Constants
- func ConvertMDStatus(status string) apiv2.ExternalClusterMDState
- func ConvertStatus(status string) apiv2.ExternalClusterState
- func CreateCluster(client *awsprovider.ClientSet, clusterSpec *apiv2.EKSClusterSpec, ...) error
- func CreateNodeGroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string, ...) error
- func DecodeError(err error) error
- func DeleteCluster(client *awsprovider.ClientSet, eksClusterName string) error
- func DeleteNodegroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string) error
- func DescribeNodeGroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string) (*eks.Nodegroup, error)
- func GetCluster(client *awsprovider.ClientSet, eksClusterName string) (*eks.Cluster, error)
- func GetClusterConfig(ctx context.Context, accessKeyID, secretAccessKey, clusterName, region string) (*api.Config, error)
- func GetClusterStatus(secretKeySelector provider.SecretKeySelectorValueFunc, ...) (*apiv2.ExternalClusterStatus, error)
- func GetCredentialsForCluster(cloud *kubermaticv1.ExternalClusterEKSCloudSpec, ...) (accessKeyID, secretAccessKey string, err error)
- func ListClusters(client *awsprovider.ClientSet) ([]*string, error)
- func ListMachineDeploymentUpgrades(ctx context.Context, ...) ([]*apiv1.MasterVersion, error)
- func ListNodegroups(client *awsprovider.ClientSet, clusterName string) ([]*string, error)
- func ListUpgrades(ctx context.Context, cluster *kubermaticv1.ExternalCluster, ...) ([]*apiv1.MasterVersion, error)
- func ResizeNodeGroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string, ...) (*eks.UpdateNodegroupConfigOutput, error)
- func UpgradeClusterVersion(client *awsprovider.ClientSet, version *semverlib.Version, ...) error
- func UpgradeNodeGroup(client *awsprovider.ClientSet, ...) (*eks.UpdateNodegroupVersionOutput, error)
- func ValidateCredentials(ctx context.Context, credential resources.EKSCredential) error
Constants ¶
View Source
const EKSNodeGroupStatus = "ACTIVE"
Variables ¶
This section is empty.
Functions ¶
func ConvertMDStatus ¶ added in v2.21.0
func ConvertMDStatus(status string) apiv2.ExternalClusterMDState
func ConvertStatus ¶ added in v2.21.0
func ConvertStatus(status string) apiv2.ExternalClusterState
func CreateCluster ¶ added in v2.21.0
func CreateCluster(client *awsprovider.ClientSet, clusterSpec *apiv2.EKSClusterSpec, eksClusterName string) error
func CreateNodeGroup ¶ added in v2.21.0
func CreateNodeGroup(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 DeleteCluster(client *awsprovider.ClientSet, eksClusterName string) error
func DeleteNodegroup ¶ added in v2.21.0
func DeleteNodegroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string) error
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(secretKeySelector provider.SecretKeySelectorValueFunc, cloudSpec *kubermaticv1.ExternalClusterEKSCloudSpec) (*apiv2.ExternalClusterStatus, error)
func GetCredentialsForCluster ¶
func GetCredentialsForCluster(cloud *kubermaticv1.ExternalClusterEKSCloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (accessKeyID, secretAccessKey string, err error)
func ListClusters ¶ added in v2.21.0
func ListClusters(client *awsprovider.ClientSet) ([]*string, error)
func ListMachineDeploymentUpgrades ¶ added in v2.21.0
func ListNodegroups ¶ added in v2.21.0
func ListNodegroups(client *awsprovider.ClientSet, clusterName string) ([]*string, error)
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(client *awsprovider.ClientSet, clusterName, nodeGroupName string, currentSize, desiredSize int64) (*eks.UpdateNodegroupConfigOutput, error)
func UpgradeClusterVersion ¶ added in v2.21.0
func UpgradeNodeGroup ¶ added in v2.21.0
func UpgradeNodeGroup(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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.