Documentation ¶
Index ¶
- type CloudWatchLogsClientMock
- func (m *CloudWatchLogsClientMock) CreateLogGroup(input *cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)
- func (m *CloudWatchLogsClientMock) CreateLogStream(input *cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)
- func (m *CloudWatchLogsClientMock) DescribeLogGroups(input *cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)
- func (m *CloudWatchLogsClientMock) DescribeLogStreams(input *cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)
- func (m *CloudWatchLogsClientMock) PutLogEvents(input *cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)
- type CloudWatchLogsServiceMock
- func (m *CloudWatchLogsServiceMock) CreateLogGroup(log log.T, logGroup string) (err error)
- func (m *CloudWatchLogsServiceMock) CreateLogStream(log log.T, logGroup, logStream string) (err error)
- func (m *CloudWatchLogsServiceMock) CreateNewServiceIfUnHealthy()
- func (m *CloudWatchLogsServiceMock) DescribeLogGroups(log log.T, logGroupPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogGroupsOutput, err error)
- func (m *CloudWatchLogsServiceMock) DescribeLogStreams(log log.T, logGroup, logStreamPrefix, nextToken string) (response *cloudwatchlogs.DescribeLogStreamsOutput, err error)
- func (m *CloudWatchLogsServiceMock) GetLogGroupDetails(log log.T, logGroup string) (logGroupDetails *cloudwatchlogs.LogGroup)
- func (m *CloudWatchLogsServiceMock) GetSequenceTokenForStream(log log.T, logGroupName, logStreamName string) (sequenceToken *string)
- func (m *CloudWatchLogsServiceMock) IsLogGroupPresent(log log.T, logGroup string) bool
- func (m *CloudWatchLogsServiceMock) IsLogStreamPresent(log log.T, logGroupName, logStreamName string) bool
- func (m *CloudWatchLogsServiceMock) PutLogEvents(log log.T, messages []*cloudwatchlogs.InputLogEvent, ...) (nextSequenceToken *string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatchLogsClientMock ¶
CloudWatchLogsClientMock mocks CloudWatchLogsClient
func NewClientMockDefault ¶
func NewClientMockDefault() *CloudWatchLogsClientMock
NewClientMockDefault returns an instance of CloudWatchLogsClientMock with default expectations set.
func (*CloudWatchLogsClientMock) CreateLogGroup ¶
func (m *CloudWatchLogsClientMock) CreateLogGroup(input *cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)
CreateLogGroup mocks CloudWatchLogsClient CreateLogGroup method
func (*CloudWatchLogsClientMock) CreateLogStream ¶
func (m *CloudWatchLogsClientMock) CreateLogStream(input *cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)
CreateLogStream mocks CloudWatchLogsClient CreateLogStream method
func (*CloudWatchLogsClientMock) DescribeLogGroups ¶
func (m *CloudWatchLogsClientMock) DescribeLogGroups(input *cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)
DescribeLogGroups mocks CloudWatchLogsClient DescribeLogGroups method
func (*CloudWatchLogsClientMock) DescribeLogStreams ¶
func (m *CloudWatchLogsClientMock) DescribeLogStreams(input *cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)
DescribeLogStreams mocks CloudWatchLogsClient DescribeLogStreams method
func (*CloudWatchLogsClientMock) PutLogEvents ¶
func (m *CloudWatchLogsClientMock) PutLogEvents(input *cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)
PutLogEvents mocks CloudWatchLogsClient PutLogEvents method
type CloudWatchLogsServiceMock ¶
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