awslogs

package
v0.0.0-...-fe0cd8a Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsLogs

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

func NewAwsLogs

func NewAwsLogs() *AwsLogs

func (*AwsLogs) LogEvents

func (logs *AwsLogs) LogEvents(params LogEventsParams, fn func(logEvent *cloudwatchlogs.OutputLogEvent, lastEntry bool) (shouldContinue bool)) error

func (*AwsLogs) LogGroups

func (logs *AwsLogs) LogGroups(params LogGroupsParams, fn func(group *cloudwatchlogs.LogGroup, lastEntry bool) (shouldContinue bool)) error

func (*AwsLogs) LogStreams

func (logs *AwsLogs) LogStreams(params LogStreamsParams, fn func(stream *cloudwatchlogs.LogStream, lastEntry bool) (shouldContinue bool)) error

type LogEventsParams

type LogEventsParams struct {
	EndTime       int64
	StartTime     int64
	Limit         int64
	LogGroupName  string
	LogStreamName string
	StartFromHead bool
}

func NewLogEventsParams

func NewLogEventsParams() LogEventsParams

type LogGroupsParams

type LogGroupsParams struct {
	Limit              int64
	LogGroupNamePrefix string
}

func NewLogGroupsParams

func NewLogGroupsParams() LogGroupsParams

type LogStreamsParams

type LogStreamsParams struct {
	Descending          bool
	Limit               int64
	LogGroupName        string
	LogStreamNamePrefix string
	OrderBy             string
}

func NewLogStreamsParams

func NewLogStreamsParams() LogStreamsParams

Jump to

Keyboard shortcuts

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