cwlogs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudwatchLogsReader

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

CloudwatchLogsReader cloudwatch log reader which uploads chunch of log data to buildkite

func NewCloudwatchLogsReader

func NewCloudwatchLogsReader(cfg *config.Config, cwlogsSvc cloudwatchlogsiface.CloudWatchLogsAPI) *CloudwatchLogsReader

NewCloudwatchLogsReader read all the things

func (*CloudwatchLogsReader) ReadLogs

func (cwlr *CloudwatchLogsReader) ReadLogs(buildID string, nextToken string) (string, []byte, error)

ReadLogs this reads a page of logs from cloudwatch and returns a token which will access the next page

Jump to

Keyboard shortcuts

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