Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityZone ¶
type AvailabilityZone struct { // Name of AvailabilityZone Name string `json:"name,omitempty"` // The 2 letter code for the country the AvailabilityZone is in Country string `json:"country,omitempty"` // If true this is the default zone new VPSes and clones are created in IsDefault bool `json:"isDefault,omitempty"` }
AvailabilityZone struct for an availability zone
type Repository ¶
type Repository repository.RestRepository
Repository should be used to query the AvailabilityZones you want to order in when for example ordering a Vps
func (*Repository) GetAll ¶
func (r *Repository) GetAll() ([]AvailabilityZone, error)
GetAll returns a list of AvailabilityZones
Click to show internal directories.
Click to hide internal directories.