availability_zone

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type AvailabilityZoneOptions

type AvailabilityZoneOptions struct {
	resource.CommonOptions
	AllZones bool
}

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(ec2Client *aws.EC2Client) *Getter

func (*Getter) Get

func (g *Getter) Get(name string, output printer.Output, options resource.Options) error

func (*Getter) Init

func (g *Getter) Init()

type ZonePrinter

type ZonePrinter struct {
	// contains filtered or unexported fields
}

func NewPrinter

func NewPrinter(zones []types.AvailabilityZone) *ZonePrinter

func (*ZonePrinter) PrintJSON

func (p *ZonePrinter) PrintJSON(writer io.Writer) error

func (*ZonePrinter) PrintTable

func (p *ZonePrinter) PrintTable(writer io.Writer) error

func (*ZonePrinter) PrintYAML

func (p *ZonePrinter) PrintYAML(writer io.Writer) error

Jump to

Keyboard shortcuts

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