blade

package
v0.0.0-...-1631a1a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 13 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(
	config *config.Configuration,
	awsConfig *config.AWSConfiguration,
	outputConfig *config.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() []*cloudwatchlogs.LogGroup

GetLogGroups gets the log groups from AWS given the blade configuration

func (*Blade) GetLogStreams

func (b *Blade) GetLogStreams() []*cloudwatchlogs.LogStream

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