Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient) pagination.Pager
List will return the existing availability zones.
Types ¶
type AvailabilityZone ¶
type AvailabilityZone struct { // The availability zone name ZoneName string `json:"zoneName"` ZoneState ZoneState `json:"zoneState"` }
AvailabilityZone contains all the information associated with an OpenStack AvailabilityZone.
func ExtractAvailabilityZones ¶
func ExtractAvailabilityZones(r pagination.Page) ([]AvailabilityZone, error)
ExtractAvailabilityZones returns a slice of AvailabilityZones contained in a single page of results.
type AvailabilityZonePage ¶
type AvailabilityZonePage struct {
pagination.SinglePageBase
}
Click to show internal directories.
Click to hide internal directories.