blade

package
v0.0.0-...-2fb0d31 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blade

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

A Blade is a Saw execution instance

func NewBlade

func NewBlade(
	sawConfig *sawConfig.Configuration,
	awsConfig *config.Config,
	outputConfig *sawConfig.OutputConfiguration,
) *Blade

NewBlade creates a new Blade with CloudWatchLogs instance from provided config

func (*Blade) GetEvents

func (b *Blade) GetEvents()

GetEvents gets events from AWS given the blade configuration

func (*Blade) GetLogGroups

func (b *Blade) GetLogGroups() ([]types.LogGroup, error)

GetLogGroups gets the log groups from AWS given the blade configuration

func (*Blade) GetLogStreams

func (b *Blade) GetLogStreams() ([]types.LogStream, error)

GetLogStreams gets the log streams from AWS given the blade configuration

func (*Blade) StreamEvents

func (b *Blade) StreamEvents()

StreamEvents continuously prints log events to the console

Jump to

Keyboard shortcuts

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