cloudwatchlogsinterface

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchLogsClient

CloudWatchLogsClient interface for *cloudwatchlogs.CloudWatchLogs

type ICloudWatchLogsService

type ICloudWatchLogsService interface {
	CreateNewServiceIfUnHealthy()
	CreateLogGroup(log log.T, logGroup string) (err error)
	CreateLogStream(log log.T, logGroup, logStream string) (err error)
	DescribeLogGroups(log log.T, logGroupPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogGroupsOutput, err error)
	DescribeLogStreams(log log.T, logGroup, logStreamPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogStreamsOutput, err error)
	IsLogGroupPresent(log log.T, logGroup string) bool
	IsLogStreamPresent(log log.T, logGroupName, logStreamName string) bool
	GetSequenceTokenForStream(log log.T, logGroupName, logStreamName string) (sequenceToken *string)
	PutLogEvents(log log.T, messages []*cloudwatchlogs.InputLogEvent, logGroup, logStream string, sequenceToken *string) (nextSequenceToken *string, err error)
}

ICloudWatchLogsService interface for CloudWatchLogsService

Jump to

Keyboard shortcuts

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