anexia

package
v2.24.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 7 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) (token 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(ctx context.Context, accessToken, locationID string) error

Types

type Anexia

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

func NewCloudProvider

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

func (*Anexia) CleanUpCloudProvider

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

func (*Anexia) DefaultCloudSpec

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

func (*Anexia) InitializeCloudProvider

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

func (*Anexia) ValidateCloudSpec

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

func (*Anexia) ValidateCloudSpecUpdate

func (a *Anexia) 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