alibaba

package
v2.16.10 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

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(c *kubermaticv1.Cluster, p provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Alibaba) DefaultCloudSpec

func (a *Alibaba) DefaultCloudSpec(spec *kubermaticv1.CloudSpec) error

func (*Alibaba) InitializeCloudProvider

func (a *Alibaba) InitializeCloudProvider(c *kubermaticv1.Cluster, p provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Alibaba) ValidateCloudSpec

func (a *Alibaba) ValidateCloudSpec(spec kubermaticv1.CloudSpec) error

func (*Alibaba) ValidateCloudSpecUpdate

func (a *Alibaba) ValidateCloudSpecUpdate(oldSpec kubermaticv1.CloudSpec, newSpec kubermaticv1.CloudSpec) error

Jump to

Keyboard shortcuts

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