blade

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 11 Imported by: 16 modules, 17 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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