eks

package
v2.21.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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 DecodeError(err error) error

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 DescribeNodeGroup(client *awsprovider.ClientSet, clusterName, nodeGroupName string) (*eks.Nodegroup, error)

func GetCluster added in v2.21.0

func GetCluster(client *awsprovider.ClientSet, eksClusterName string) (*eks.Cluster, error)

func GetClusterConfig

func GetClusterConfig(ctx context.Context, accessKeyID, secretAccessKey, clusterName, region string) (*api.Config, error)

func GetClusterStatus added in v2.21.0

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 ListMachineDeploymentUpgrades(ctx context.Context,
	accessKeyID, secretAccessKey, region, clusterName, machineDeployment string) ([]*apiv1.MasterVersion, error)

func ListNodegroups added in v2.21.0

func ListNodegroups(client *awsprovider.ClientSet, clusterName string) ([]*string, error)

func ListUpgrades added in v2.21.0

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 UpgradeClusterVersion(client *awsprovider.ClientSet, version *semverlib.Version, eksClusterName string) error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL