Documentation ¶
Index ¶
Constants ¶
View Source
const ( IonosDebug = "IONOS_DEBUG" Ionos = "ionoscloud" DcID = "datacenter_id" ServerID = "server_id" NicID = "nic_id" K8sClusterID = "k8s_cluster_id" UsernameArg = "username" PasswordArg = "password" TokenArg = "token" URLArg = "url" // MaxRetries - number of retries in case of rate-limit MaxRetries = 999 // MaxWaitTime - waits 4 seconds before retry in case of rate limit MaxWaitTime = 4 * time.Second )
Config Constants
View Source
const (
CredentialsError = "set IONOS_USERNAME and IONOS_PASSWORD or IONOS_TOKEN env var"
)
View Source
const (
ProviderName = "ionoscloud"
)
Provider Constants
Variables ¶
This section is empty.
Functions ¶
func GetAllDatacenters ¶
func GetAllDatacenters(client ionoscloud.APIClient) ([]ionoscloud.Datacenter, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.