cloudtrail_event

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type CloudtrailEventOptions

type CloudtrailEventOptions struct {
	resource.CommonOptions

	Ids          bool
	Insights     bool
	Name         string
	ResourceName string
	ResourceType string
	Source       string
	Username     string
}

type CloudtrailEventPrinter

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

func NewPrinter

func NewPrinter(events []types.Event) *CloudtrailEventPrinter

func (*CloudtrailEventPrinter) PrintJSON

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

func (*CloudtrailEventPrinter) PrintTable

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

func (*CloudtrailEventPrinter) PrintYAML

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

type Getter

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

func NewGetter

func NewGetter(cloudtrailClient *aws.CloudtrailClient) *Getter

func (*Getter) Get

func (g *Getter) Get(id 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