mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) DeleteAlarms

func (_m *IClient) DeleteAlarms(ctx context.Context, params *cloudwatch.DeleteAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteAlarmsOutput, error)

DeleteAlarms provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAnomalyDetector

func (_m *IClient) DeleteAnomalyDetector(ctx context.Context, params *cloudwatch.DeleteAnomalyDetectorInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteAnomalyDetectorOutput, error)

DeleteAnomalyDetector provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteDashboards

func (_m *IClient) DeleteDashboards(ctx context.Context, params *cloudwatch.DeleteDashboardsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteDashboardsOutput, error)

DeleteDashboards provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteInsightRules

func (_m *IClient) DeleteInsightRules(ctx context.Context, params *cloudwatch.DeleteInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteInsightRulesOutput, error)

DeleteInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteMetricStream

func (_m *IClient) DeleteMetricStream(ctx context.Context, params *cloudwatch.DeleteMetricStreamInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteMetricStreamOutput, error)

DeleteMetricStream provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAlarmHistory

func (_m *IClient) DescribeAlarmHistory(ctx context.Context, params *cloudwatch.DescribeAlarmHistoryInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmHistoryOutput, error)

DescribeAlarmHistory provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAlarms

func (_m *IClient) DescribeAlarms(ctx context.Context, params *cloudwatch.DescribeAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmsOutput, error)

DescribeAlarms provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAlarmsForMetric

func (_m *IClient) DescribeAlarmsForMetric(ctx context.Context, params *cloudwatch.DescribeAlarmsForMetricInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmsForMetricOutput, error)

DescribeAlarmsForMetric provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeAnomalyDetectors

func (_m *IClient) DescribeAnomalyDetectors(ctx context.Context, params *cloudwatch.DescribeAnomalyDetectorsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAnomalyDetectorsOutput, error)

DescribeAnomalyDetectors provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeInsightRules

func (_m *IClient) DescribeInsightRules(ctx context.Context, params *cloudwatch.DescribeInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeInsightRulesOutput, error)

DescribeInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisableAlarmActions

func (_m *IClient) DisableAlarmActions(ctx context.Context, params *cloudwatch.DisableAlarmActionsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DisableAlarmActionsOutput, error)

DisableAlarmActions provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisableInsightRules

func (_m *IClient) DisableInsightRules(ctx context.Context, params *cloudwatch.DisableInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DisableInsightRulesOutput, error)

DisableInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) EnableAlarmActions

func (_m *IClient) EnableAlarmActions(ctx context.Context, params *cloudwatch.EnableAlarmActionsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.EnableAlarmActionsOutput, error)

EnableAlarmActions provides a mock function with given fields: ctx, params, optFns

func (*IClient) EnableInsightRules

func (_m *IClient) EnableInsightRules(ctx context.Context, params *cloudwatch.EnableInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.EnableInsightRulesOutput, error)

EnableInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetDashboard

func (_m *IClient) GetDashboard(ctx context.Context, params *cloudwatch.GetDashboardInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetDashboardOutput, error)

GetDashboard provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetInsightRuleReport

func (_m *IClient) GetInsightRuleReport(ctx context.Context, params *cloudwatch.GetInsightRuleReportInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetInsightRuleReportOutput, error)

GetInsightRuleReport provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetMetricData

func (_m *IClient) GetMetricData(ctx context.Context, params *cloudwatch.GetMetricDataInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetMetricDataOutput, error)

GetMetricData provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetMetricStatistics

func (_m *IClient) GetMetricStatistics(ctx context.Context, params *cloudwatch.GetMetricStatisticsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetMetricStatisticsOutput, error)

GetMetricStatistics provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetMetricStream

func (_m *IClient) GetMetricStream(ctx context.Context, params *cloudwatch.GetMetricStreamInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetMetricStreamOutput, error)

GetMetricStream provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetMetricWidgetImage

func (_m *IClient) GetMetricWidgetImage(ctx context.Context, params *cloudwatch.GetMetricWidgetImageInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.GetMetricWidgetImageOutput, error)

GetMetricWidgetImage provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListDashboards

func (_m *IClient) ListDashboards(ctx context.Context, params *cloudwatch.ListDashboardsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListDashboardsOutput, error)

ListDashboards provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListManagedInsightRules

func (_m *IClient) ListManagedInsightRules(ctx context.Context, params *cloudwatch.ListManagedInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListManagedInsightRulesOutput, error)

ListManagedInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListMetricStreams

func (_m *IClient) ListMetricStreams(ctx context.Context, params *cloudwatch.ListMetricStreamsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListMetricStreamsOutput, error)

ListMetricStreams provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListMetrics

func (_m *IClient) ListMetrics(ctx context.Context, params *cloudwatch.ListMetricsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListMetricsOutput, error)

ListMetrics provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *cloudwatch.ListTagsForResourceInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() cloudwatch.Options

Options provides a mock function with given fields:

func (*IClient) PutAnomalyDetector

func (_m *IClient) PutAnomalyDetector(ctx context.Context, params *cloudwatch.PutAnomalyDetectorInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutAnomalyDetectorOutput, error)

PutAnomalyDetector provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutCompositeAlarm

func (_m *IClient) PutCompositeAlarm(ctx context.Context, params *cloudwatch.PutCompositeAlarmInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutCompositeAlarmOutput, error)

PutCompositeAlarm provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutDashboard

func (_m *IClient) PutDashboard(ctx context.Context, params *cloudwatch.PutDashboardInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutDashboardOutput, error)

PutDashboard provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutInsightRule

func (_m *IClient) PutInsightRule(ctx context.Context, params *cloudwatch.PutInsightRuleInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutInsightRuleOutput, error)

PutInsightRule provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutManagedInsightRules

func (_m *IClient) PutManagedInsightRules(ctx context.Context, params *cloudwatch.PutManagedInsightRulesInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutManagedInsightRulesOutput, error)

PutManagedInsightRules provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutMetricAlarm

func (_m *IClient) PutMetricAlarm(ctx context.Context, params *cloudwatch.PutMetricAlarmInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutMetricAlarmOutput, error)

PutMetricAlarm provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutMetricData

func (_m *IClient) PutMetricData(ctx context.Context, params *cloudwatch.PutMetricDataInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutMetricDataOutput, error)

PutMetricData provides a mock function with given fields: ctx, params, optFns

func (*IClient) PutMetricStream

func (_m *IClient) PutMetricStream(ctx context.Context, params *cloudwatch.PutMetricStreamInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutMetricStreamOutput, error)

PutMetricStream provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetAlarmState

func (_m *IClient) SetAlarmState(ctx context.Context, params *cloudwatch.SetAlarmStateInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.SetAlarmStateOutput, error)

SetAlarmState provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartMetricStreams

func (_m *IClient) StartMetricStreams(ctx context.Context, params *cloudwatch.StartMetricStreamsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.StartMetricStreamsOutput, error)

StartMetricStreams provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopMetricStreams

func (_m *IClient) StopMetricStreams(ctx context.Context, params *cloudwatch.StopMetricStreamsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.StopMetricStreamsOutput, error)

StopMetricStreams provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *cloudwatch.TagResourceInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *cloudwatch.UntagResourceInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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