availabilityzone

package
v6.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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