digitalocean

package
v2.25.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeDropletSize added in v2.22.0

func DescribeDropletSize(ctx context.Context, token, sizeName string) (*provider.NodeCapacity, error)

func GetCredentialsForCluster

func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (accessToken string, err error)

GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error.

func NewCloudProvider

func NewCloudProvider(secretKeyGetter provider.SecretKeySelectorValueFunc) provider.CloudProvider

NewCloudProvider creates a new digitalocean provider.

func ValidateCredentials added in v2.20.0

func ValidateCredentials(ctx context.Context, token string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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