Documentation ¶
Index ¶
- func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, ...) (hetznerToken string, err error)
- func GetServerType(ctx context.Context, token string, serverTypeName string) (*provider.NodeCapacity, error)
- func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider
- func ValidateCredentials(ctx context.Context, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentialsForCluster ¶
func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (hetznerToken string, err error)
GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error.
func GetServerType ¶ added in v2.22.0
func NewCloudProvider ¶
func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider
NewCloudProvider creates a new hetzner provider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.