service

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT-0 Imports: 10 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) GetAllServices

func (g *Getter) GetAllServices() ([]*vpclattice.GetServiceOutput, error)

func (*Getter) GetServiceById

func (g *Getter) GetServiceById(id string) (*vpclattice.GetServiceOutput, error)

func (*Getter) Init

func (g *Getter) Init()

type LatticeServicePrinter

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

func NewPrinter

func NewPrinter(services []*vpclattice.GetServiceOutput) *LatticeServicePrinter

func (*LatticeServicePrinter) PrintJSON

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

func (*LatticeServicePrinter) PrintTable

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

func (*LatticeServicePrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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