blade

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 12 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 added in v0.1.3

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