Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FIXME: defaultZone is used for global resources management, as at the // time of this implementation the Exoscale public API V2 doesn't // expose a global endpoint – only zone-local endpoints. // This should be removed once the Exoscale public API V2 exposes a // global endpoint. DefaultZone = "ch-gva-2" DefaultEnvironment = "api" DefaultTimeout = 5 * time.Minute ComputeMaxUserDataLength = 32768 )
Variables ¶
View Source
var Zones = []string{
"ch-gva-2",
"ch-dk-2",
"at-vie-1",
"at-vie-2",
"de-fra-1",
"bg-sof-1",
"de-muc-1",
}
Functions ¶
func GetClientV3 ¶ added in v0.58.0
GetClientV3 builds egoscale v3 client from configuration parameters in meta field
func GetClientV3WithZone ¶ added in v0.59.0
func GetEnvironment ¶
func GetEnvironment(meta interface{}) string
GetEnvironment returns current environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.