alarm

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 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 AlarmPrinter

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

func NewAlarmPrinter added in v0.10.0

func NewAlarmPrinter(alarms Alarms) *AlarmPrinter

func (*AlarmPrinter) PrintJSON

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

func (*AlarmPrinter) PrintTable

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

func (*AlarmPrinter) PrintYAML

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

type Alarms added in v0.10.0

type Alarms struct {
	CompositeAlarms []types.CompositeAlarm
	MetricAlarms    []types.MetricAlarm
}

type Getter

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

func NewGetter

func NewGetter(cloudwatchClient *aws.CloudwatchClient) *Getter

func (*Getter) Get

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

func (*Getter) Init

func (g *Getter) Init()

Jump to

Keyboard shortcuts

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