Help us shape the future of Go! Take the 2026 Go Developer Survey

availabilityzones

package
v1.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

List will return the existing availability zones.

Types

type AvailabilityZone

type AvailabilityZone struct {
	// The availability zone ID.
	ID string `json:"id"`
	// The name of the availability zone.
	Name string `json:"name"`
	// The date and time stamp when the availability zone was created.
	CreatedAt time.Time `json:"-"`
	// The date and time stamp when the availability zone was updated.
	UpdatedAt time.Time `json:"-"`
}

AvailabilityZone contains all the information associated with an OpenStack AvailabilityZone.

func ExtractAvailabilityZones

func ExtractAvailabilityZones(r pagination.Page) ([]AvailabilityZone, error)

ExtractAvailabilityZones will get the AvailabilityZone objects out of the shareTypeAccessResult object.

func (*AvailabilityZone) UnmarshalJSON

func (r *AvailabilityZone) UnmarshalJSON(b []byte) error

type AvailabilityZonePage

type AvailabilityZonePage struct {
	pagination.SinglePageBase
}

ListResult contains the response body and error from a List request.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL