Documentation ¶
Overview ¶
Package apis is the main package for provider specific APIs
Package apis is the main package for provider specific APIs ¶
Package apis is the main package for provider specific APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientForToken ¶
GetClientForToken returns an underlying HCloud client for the given token.
PARAMETERS token string Token to look up client instance for
func GetRegionFromZone ¶ added in v0.2.0
GetRegionFromZone returns the region for a given zone string
func SetClientForToken ¶
SetClientForToken sets a preconfigured HCloud client for the given token.
PARAMETERS token string Token to look up client instance for client *hcloud.Client Preconfigured HCloud client
Types ¶
type ProviderSpec ¶
type ProviderSpec struct { Cluster string `json:"cluster"` Zone string `json:"zone"` ServerType string `json:"serverType"` ImageName string `json:"imageName"` SSHFingerprint string `json:"sshFingerprint"` FloatingPoolName string `json:"floatingPoolName,omitempty"` NetworkName string `json:"networkName,omitempty"` }
ProviderSpec is the spec to be used while parsing the calls.
Directories ¶
Path | Synopsis |
---|---|
Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver
|
Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver Package mock provides all methods required to simulate a driver |
Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations
|
Package transcoder is used for API related object transformations Package transcoder is used for API related object transformations |
Package validation - validation is used to validate cloud specific ProviderSpec
|
Package validation - validation is used to validate cloud specific ProviderSpec |
Click to show internal directories.
Click to hide internal directories.