Documentation ¶
Index ¶
- func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, ...) (accessKeyID string, accessKeySecret string, err error)
- func ValidateCredentials(region, accessKeyID, accessKeySecret string) error
- type Alibaba
- func (a *Alibaba) CleanUpCloudProvider(_ context.Context, cluster *kubermaticv1.Cluster, _ provider.ClusterUpdater) (*kubermaticv1.Cluster, error)
- func (a *Alibaba) DefaultCloudSpec(_ context.Context, _ *kubermaticv1.CloudSpec) error
- func (a *Alibaba) InitializeCloudProvider(_ context.Context, cluster *kubermaticv1.Cluster, _ provider.ClusterUpdater) (*kubermaticv1.Cluster, error)
- func (a *Alibaba) ValidateCloudSpec(_ context.Context, spec kubermaticv1.CloudSpec) error
- func (a *Alibaba) ValidateCloudSpecUpdate(_ context.Context, _ kubermaticv1.CloudSpec, _ kubermaticv1.CloudSpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
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 (*Alibaba) InitializeCloudProvider ¶
func (a *Alibaba) InitializeCloudProvider(_ context.Context, cluster *kubermaticv1.Cluster, _ provider.ClusterUpdater) (*kubermaticv1.Cluster, error)
func (*Alibaba) ValidateCloudSpec ¶
func (*Alibaba) ValidateCloudSpecUpdate ¶
func (a *Alibaba) ValidateCloudSpecUpdate(_ context.Context, _ kubermaticv1.CloudSpec, _ kubermaticv1.CloudSpec) error
Click to show internal directories.
Click to hide internal directories.