Documentation
¶
Overview ¶
Package mock_publisher is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPublisher ¶
type MockPublisher struct {
// contains filtered or unexported fields
}
MockPublisher is a mock of Publisher interface.
func NewMockPublisher ¶
func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher
NewMockPublisher creates a new mock instance.
func (*MockPublisher) EXPECT ¶
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPublisher) Publish ¶
func (m *MockPublisher) Publish(metricsDataPoints ...types.MetricDatum)
Publish mocks base method.
func (*MockPublisher) Start ¶
func (m *MockPublisher) Start(publishInterval int)
Start mocks base method.
type MockPublisherMockRecorder ¶
type MockPublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockPublisherMockRecorder is the mock recorder for MockPublisher.
func (*MockPublisherMockRecorder) Publish ¶
func (mr *MockPublisherMockRecorder) Publish(metricsDataPoints ...interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockPublisherMockRecorder) Start ¶
func (mr *MockPublisherMockRecorder) Start(publishInterval interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockPublisherMockRecorder) Stop ¶
func (mr *MockPublisherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockcloudWatchAPI ¶
type MockcloudWatchAPI struct {
// contains filtered or unexported fields
}
MockcloudWatchAPI is a mock of cloudWatchAPI interface.
func NewMockcloudWatchAPI ¶
func NewMockcloudWatchAPI(ctrl *gomock.Controller) *MockcloudWatchAPI
NewMockcloudWatchAPI creates a new mock instance.
func (*MockcloudWatchAPI) EXPECT ¶
func (m *MockcloudWatchAPI) EXPECT() *MockcloudWatchAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockcloudWatchAPI) PutMetricData ¶
func (m *MockcloudWatchAPI) PutMetricData(ctx context.Context, params *cloudwatch.PutMetricDataInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutMetricDataOutput, error)
PutMetricData mocks base method.
type MockcloudWatchAPIMockRecorder ¶
type MockcloudWatchAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockcloudWatchAPIMockRecorder is the mock recorder for MockcloudWatchAPI.
func (*MockcloudWatchAPIMockRecorder) PutMetricData ¶
func (mr *MockcloudWatchAPIMockRecorder) PutMetricData(ctx, params interface{}, optFns ...interface{}) *gomock.Call
PutMetricData indicates an expected call of PutMetricData.