log_stream

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT-0 Imports: 13 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(cloudwatchlogsClient *aws.CloudwatchlogsClient) *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 LogStreamOptions

type LogStreamOptions struct {
	resource.CommonOptions

	LogGroupName string
}

type LogStreamPrinter

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

func NewPrinter

func NewPrinter(logStreams []types.LogStream) *LogStreamPrinter

func (*LogStreamPrinter) PrintJSON

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

func (*LogStreamPrinter) PrintTable

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

func (*LogStreamPrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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