sqs_queue

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT-0 Imports: 14 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(sqsClient *aws.SQSClient) *Getter

func (*Getter) Get

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

func (*Getter) GetAllQueues

func (g *Getter) GetAllQueues() ([]Queue, error)

func (*Getter) GetQueueByName

func (g *Getter) GetQueueByName(name string) (Queue, error)

func (*Getter) Init

func (g *Getter) Init()

type Queue

type Queue struct {
	Attributes map[string]string
	Url        string
}

type SqsQueuePrinter

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

func NewPrinter

func NewPrinter(queues []Queue) *SqsQueuePrinter

func (*SqsQueuePrinter) PrintJSON

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

func (*SqsQueuePrinter) PrintTable

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

func (*SqsQueuePrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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