cloudwatchlogspublisher_mock

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchLogsClientMock

type CloudWatchLogsClientMock struct {
	mock.Mock
}

CloudWatchLogsClientMock mocks CloudWatchLogsClient

func NewClientMockDefault

func NewClientMockDefault() *CloudWatchLogsClientMock

NewClientMockDefault returns an instance of CloudWatchLogsClientMock with default expectations set.

func (*CloudWatchLogsClientMock) CreateLogGroup

CreateLogGroup mocks CloudWatchLogsClient CreateLogGroup method

func (*CloudWatchLogsClientMock) CreateLogStream

CreateLogStream mocks CloudWatchLogsClient CreateLogStream method

func (*CloudWatchLogsClientMock) DescribeLogGroups

DescribeLogGroups mocks CloudWatchLogsClient DescribeLogGroups method

func (*CloudWatchLogsClientMock) DescribeLogStreams

DescribeLogStreams mocks CloudWatchLogsClient DescribeLogStreams method

func (*CloudWatchLogsClientMock) PutLogEvents

PutLogEvents mocks CloudWatchLogsClient PutLogEvents method

type CloudWatchLogsServiceMock

type CloudWatchLogsServiceMock struct {
	mock.Mock
	// contains filtered or unexported fields
}

CloudWatchLogsServiceMock mocks CloudWatchLogsService

func NewServiceMockDefault

func NewServiceMockDefault() *CloudWatchLogsServiceMock

NewServiceMockDefault returns an instance of CloudWatchLogsServiceMock with default expectations set.

func (*CloudWatchLogsServiceMock) CreateLogGroup

func (m *CloudWatchLogsServiceMock) CreateLogGroup(log log.T, logGroup string) (err error)

CreateLogGroup mocks CloudWatchLogsService CreateLogGroup method

func (*CloudWatchLogsServiceMock) CreateLogStream

func (m *CloudWatchLogsServiceMock) CreateLogStream(log log.T, logGroup, logStream string) (err error)

CreateLogStream mocks CloudWatchLogsService CreateLogStream method

func (*CloudWatchLogsServiceMock) CreateNewServiceIfUnHealthy

func (m *CloudWatchLogsServiceMock) CreateNewServiceIfUnHealthy()

CreateNewServiceIfUnHealthy mocks CloudWatchLogsService CreateNewServiceIfUnHealthy method

func (*CloudWatchLogsServiceMock) DescribeLogGroups

func (m *CloudWatchLogsServiceMock) DescribeLogGroups(log log.T, logGroupPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogGroupsOutput, err error)

DescribeLogGroups mocks CloudWatchLogsService DescribeLogGroups method

func (*CloudWatchLogsServiceMock) DescribeLogStreams

func (m *CloudWatchLogsServiceMock) DescribeLogStreams(log log.T, logGroup, logStreamPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogStreamsOutput, err error)

DescribeLogStreams mocks CloudWatchLogsService DescribeLogStreams method

func (*CloudWatchLogsServiceMock) GetLogGroupDetails

func (m *CloudWatchLogsServiceMock) GetLogGroupDetails(log log.T, logGroup string) (logGroupDetails *cloudwatchlogs.LogGroup)

GetLogGroupDetails mocks CloudWatchLogsService getLogGroupDetails method

func (*CloudWatchLogsServiceMock) GetSequenceTokenForStream

func (m *CloudWatchLogsServiceMock) GetSequenceTokenForStream(log log.T, logGroupName, logStreamName string) (sequenceToken *string)

GetSequenceTokenForStream mocks CloudWatchLogsService GetSequenceTokenForStream method

func (*CloudWatchLogsServiceMock) IsLogGroupPresent

func (m *CloudWatchLogsServiceMock) IsLogGroupPresent(log log.T, logGroup string) bool

IsLogGroupPresent mocks CloudWatchLogsService IsLogGroupPresent method

func (*CloudWatchLogsServiceMock) IsLogStreamPresent

func (m *CloudWatchLogsServiceMock) IsLogStreamPresent(log log.T, logGroupName, logStreamName string) bool

IsLogStreamPresent mocks CloudWatchLogsService IsLogStreamPresent method

func (*CloudWatchLogsServiceMock) PutLogEvents

func (m *CloudWatchLogsServiceMock) PutLogEvents(log log.T, messages []*cloudwatchlogs.InputLogEvent, logGroup, logStream string, sequenceToken *string) (nextSequenceToken *string, err error)

PutLogEvents mocks CloudWatchLogsService PutLogEvents method

Jump to

Keyboard shortcuts

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