Documentation ¶
Index ¶
- func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, ...) (accessKeyID string, accessKeySecret string, err error)
- type Alibaba
- func (a *Alibaba) CleanUpCloudProvider(c *kubermaticv1.Cluster, p provider.ClusterUpdater) (*kubermaticv1.Cluster, error)
- func (a *Alibaba) DefaultCloudSpec(spec *kubermaticv1.CloudSpec) error
- func (a *Alibaba) InitializeCloudProvider(c *kubermaticv1.Cluster, p provider.ClusterUpdater) (*kubermaticv1.Cluster, error)
- func (a *Alibaba) ValidateCloudSpec(spec kubermaticv1.CloudSpec) error
- func (a *Alibaba) ValidateCloudSpecUpdate(oldSpec kubermaticv1.CloudSpec, newSpec 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
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
Click to show internal directories.
Click to hide internal directories.