service_network

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

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

func NewGetter

func NewGetter(vpcLatticeClient *aws.VPCLatticeClient) *Getter

func (*Getter) Get

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

func (*Getter) GetAllServiceNetworks

func (g *Getter) GetAllServiceNetworks() ([]*vpclattice.GetServiceNetworkOutput, error)

func (*Getter) GetServiceNetworkById

func (g *Getter) GetServiceNetworkById(id string) (*vpclattice.GetServiceNetworkOutput, error)

func (*Getter) Init

func (g *Getter) Init()

type ServiceNetworkPrinter

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

func NewPrinter

func NewPrinter(serviceNetworks []*vpclattice.GetServiceNetworkOutput) *ServiceNetworkPrinter

func (*ServiceNetworkPrinter) PrintJSON

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

func (*ServiceNetworkPrinter) PrintTable

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

func (*ServiceNetworkPrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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