Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatacenterByName ¶
func GetDatacenterByName(sess *session.Session, name string, args ...interface{}) (datatypes.Location_Datacenter, error)
GetDatacenterByName returns a Location_Datacenter that matches the provided name, or an error if no matching datacenter can be found.
Note that unless you need to access datacenter-specific properties (backendHardwareRouters, etc.), it is more efficient to use GetLocationByName, since GetDatacenterByName requires an extra call to the API
func GetLocationByName ¶
func GetLocationByName(sess *session.Session, name string, args ...interface{}) (datatypes.Location, error)
GetLocationByName returns a Location that matches the provided name, or an error if no matching Location can be found.
If you need to access a datacenter's unique properties, use GetDatacenterByName instead
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.