alibaba

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeInstanceType added in v2.22.0

func DescribeInstanceType(accessKeyID, accessKeySecret, region, instanceType string) (*provider.NodeCapacity, error)

func GetCredentialsForCluster

func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc, dc *kubermaticv1.DatacenterSpecAlibaba) (accessKeyID string, accessKeySecret string, err error)

GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error.

func ValidateCredentials added in v2.21.0

func ValidateCredentials(region, accessKeyID, accessKeySecret string) error

Types

type Alibaba

type Alibaba struct {
	// contains filtered or unexported fields
}

func NewCloudProvider

func NewCloudProvider(dc *kubermaticv1.Datacenter, secretKeyGetter provider.SecretKeySelectorValueFunc) (*Alibaba, error)

func (*Alibaba) CleanUpCloudProvider

func (a *Alibaba) CleanUpCloudProvider(_ context.Context, cluster *kubermaticv1.Cluster, _ provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Alibaba) DefaultCloudSpec

func (a *Alibaba) DefaultCloudSpec(_ context.Context, _ *kubermaticv1.ClusterSpec) error

func (*Alibaba) InitializeCloudProvider

func (a *Alibaba) InitializeCloudProvider(_ context.Context, cluster *kubermaticv1.Cluster, _ provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Alibaba) ValidateCloudSpec

func (a *Alibaba) ValidateCloudSpec(_ context.Context, spec kubermaticv1.CloudSpec) error

func (*Alibaba) ValidateCloudSpecUpdate

func (a *Alibaba) ValidateCloudSpecUpdate(_ context.Context, _ kubermaticv1.CloudSpec, _ kubermaticv1.CloudSpec) error

Jump to

Keyboard shortcuts

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