cloudwatchdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package cloudwatchdouble contains test double implementation of cloudwatchiface.CloudWatchAPI

Package cloudwatchdouble provides a TestDouble implementation of cloudwatchiface.CloudWatchAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchDouble

type CloudWatchDouble struct {
	cloudwatchiface.CloudWatchAPI
	*awsdouble.AWSTestDouble
}

CloudWatchDouble is TestDouble for cloudwatchiface.CloudWatchAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CloudWatchDouble

Constructor for CloudWatchDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*CloudWatchDouble) DeleteAlarms

func (*CloudWatchDouble) DeleteAlarmsRequest

func (*CloudWatchDouble) DeleteAlarmsWithContext

func (d *CloudWatchDouble) DeleteAlarmsWithContext(i0 context.Context, i1 *cloudwatch.DeleteAlarmsInput, i2 ...request.Option) (r0 *cloudwatch.DeleteAlarmsOutput, r1 error)

func (*CloudWatchDouble) DeleteAnomalyDetector

func (*CloudWatchDouble) DeleteAnomalyDetectorRequest

func (*CloudWatchDouble) DeleteAnomalyDetectorWithContext

func (*CloudWatchDouble) DeleteDashboards

func (*CloudWatchDouble) DeleteDashboardsRequest

func (*CloudWatchDouble) DeleteDashboardsWithContext

func (d *CloudWatchDouble) DeleteDashboardsWithContext(i0 context.Context, i1 *cloudwatch.DeleteDashboardsInput, i2 ...request.Option) (r0 *cloudwatch.DeleteDashboardsOutput, r1 error)

func (*CloudWatchDouble) DeleteInsightRules

func (*CloudWatchDouble) DeleteInsightRulesRequest

func (*CloudWatchDouble) DeleteInsightRulesWithContext

func (d *CloudWatchDouble) DeleteInsightRulesWithContext(i0 context.Context, i1 *cloudwatch.DeleteInsightRulesInput, i2 ...request.Option) (r0 *cloudwatch.DeleteInsightRulesOutput, r1 error)

func (*CloudWatchDouble) DescribeAlarmHistory

func (*CloudWatchDouble) DescribeAlarmHistoryPages

func (d *CloudWatchDouble) DescribeAlarmHistoryPages(i0 *cloudwatch.DescribeAlarmHistoryInput, i1 func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) DescribeAlarmHistoryPagesWithContext

func (d *CloudWatchDouble) DescribeAlarmHistoryPagesWithContext(i0 context.Context, i1 *cloudwatch.DescribeAlarmHistoryInput, i2 func(*cloudwatch.DescribeAlarmHistoryOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) DescribeAlarmHistoryRequest

func (*CloudWatchDouble) DescribeAlarmHistoryWithContext

func (*CloudWatchDouble) DescribeAlarms

func (*CloudWatchDouble) DescribeAlarmsForMetric

func (*CloudWatchDouble) DescribeAlarmsForMetricWithContext

func (*CloudWatchDouble) DescribeAlarmsPages

func (d *CloudWatchDouble) DescribeAlarmsPages(i0 *cloudwatch.DescribeAlarmsInput, i1 func(*cloudwatch.DescribeAlarmsOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) DescribeAlarmsPagesWithContext

func (d *CloudWatchDouble) DescribeAlarmsPagesWithContext(i0 context.Context, i1 *cloudwatch.DescribeAlarmsInput, i2 func(*cloudwatch.DescribeAlarmsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) DescribeAlarmsRequest

func (*CloudWatchDouble) DescribeAlarmsWithContext

func (d *CloudWatchDouble) DescribeAlarmsWithContext(i0 context.Context, i1 *cloudwatch.DescribeAlarmsInput, i2 ...request.Option) (r0 *cloudwatch.DescribeAlarmsOutput, r1 error)

func (*CloudWatchDouble) DescribeAnomalyDetectors

func (*CloudWatchDouble) DescribeAnomalyDetectorsWithContext

func (*CloudWatchDouble) DescribeInsightRules

func (*CloudWatchDouble) DescribeInsightRulesPages

func (d *CloudWatchDouble) DescribeInsightRulesPages(i0 *cloudwatch.DescribeInsightRulesInput, i1 func(*cloudwatch.DescribeInsightRulesOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) DescribeInsightRulesPagesWithContext

func (d *CloudWatchDouble) DescribeInsightRulesPagesWithContext(i0 context.Context, i1 *cloudwatch.DescribeInsightRulesInput, i2 func(*cloudwatch.DescribeInsightRulesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) DescribeInsightRulesRequest

func (*CloudWatchDouble) DescribeInsightRulesWithContext

func (*CloudWatchDouble) DisableAlarmActions

func (*CloudWatchDouble) DisableAlarmActionsRequest

func (*CloudWatchDouble) DisableAlarmActionsWithContext

func (d *CloudWatchDouble) DisableAlarmActionsWithContext(i0 context.Context, i1 *cloudwatch.DisableAlarmActionsInput, i2 ...request.Option) (r0 *cloudwatch.DisableAlarmActionsOutput, r1 error)

func (*CloudWatchDouble) DisableInsightRules

func (*CloudWatchDouble) DisableInsightRulesRequest

func (*CloudWatchDouble) DisableInsightRulesWithContext

func (d *CloudWatchDouble) DisableInsightRulesWithContext(i0 context.Context, i1 *cloudwatch.DisableInsightRulesInput, i2 ...request.Option) (r0 *cloudwatch.DisableInsightRulesOutput, r1 error)

func (*CloudWatchDouble) EnableAlarmActions

func (*CloudWatchDouble) EnableAlarmActionsRequest

func (*CloudWatchDouble) EnableAlarmActionsWithContext

func (d *CloudWatchDouble) EnableAlarmActionsWithContext(i0 context.Context, i1 *cloudwatch.EnableAlarmActionsInput, i2 ...request.Option) (r0 *cloudwatch.EnableAlarmActionsOutput, r1 error)

func (*CloudWatchDouble) EnableInsightRules

func (*CloudWatchDouble) EnableInsightRulesRequest

func (*CloudWatchDouble) EnableInsightRulesWithContext

func (d *CloudWatchDouble) EnableInsightRulesWithContext(i0 context.Context, i1 *cloudwatch.EnableInsightRulesInput, i2 ...request.Option) (r0 *cloudwatch.EnableInsightRulesOutput, r1 error)

func (*CloudWatchDouble) GetDashboard

func (*CloudWatchDouble) GetDashboardRequest

func (*CloudWatchDouble) GetDashboardWithContext

func (d *CloudWatchDouble) GetDashboardWithContext(i0 context.Context, i1 *cloudwatch.GetDashboardInput, i2 ...request.Option) (r0 *cloudwatch.GetDashboardOutput, r1 error)

func (*CloudWatchDouble) GetInsightRuleReport

func (*CloudWatchDouble) GetInsightRuleReportRequest

func (*CloudWatchDouble) GetInsightRuleReportWithContext

func (*CloudWatchDouble) GetMetricData

func (*CloudWatchDouble) GetMetricDataPages

func (d *CloudWatchDouble) GetMetricDataPages(i0 *cloudwatch.GetMetricDataInput, i1 func(*cloudwatch.GetMetricDataOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) GetMetricDataPagesWithContext

func (d *CloudWatchDouble) GetMetricDataPagesWithContext(i0 context.Context, i1 *cloudwatch.GetMetricDataInput, i2 func(*cloudwatch.GetMetricDataOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) GetMetricDataRequest

func (*CloudWatchDouble) GetMetricDataWithContext

func (d *CloudWatchDouble) GetMetricDataWithContext(i0 context.Context, i1 *cloudwatch.GetMetricDataInput, i2 ...request.Option) (r0 *cloudwatch.GetMetricDataOutput, r1 error)

func (*CloudWatchDouble) GetMetricStatistics

func (*CloudWatchDouble) GetMetricStatisticsRequest

func (*CloudWatchDouble) GetMetricStatisticsWithContext

func (d *CloudWatchDouble) GetMetricStatisticsWithContext(i0 context.Context, i1 *cloudwatch.GetMetricStatisticsInput, i2 ...request.Option) (r0 *cloudwatch.GetMetricStatisticsOutput, r1 error)

func (*CloudWatchDouble) GetMetricWidgetImage

func (*CloudWatchDouble) GetMetricWidgetImageRequest

func (*CloudWatchDouble) GetMetricWidgetImageWithContext

func (*CloudWatchDouble) ListDashboards

func (*CloudWatchDouble) ListDashboardsPages

func (d *CloudWatchDouble) ListDashboardsPages(i0 *cloudwatch.ListDashboardsInput, i1 func(*cloudwatch.ListDashboardsOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) ListDashboardsPagesWithContext

func (d *CloudWatchDouble) ListDashboardsPagesWithContext(i0 context.Context, i1 *cloudwatch.ListDashboardsInput, i2 func(*cloudwatch.ListDashboardsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) ListDashboardsRequest

func (*CloudWatchDouble) ListDashboardsWithContext

func (d *CloudWatchDouble) ListDashboardsWithContext(i0 context.Context, i1 *cloudwatch.ListDashboardsInput, i2 ...request.Option) (r0 *cloudwatch.ListDashboardsOutput, r1 error)

func (*CloudWatchDouble) ListMetrics

func (*CloudWatchDouble) ListMetricsPages

func (d *CloudWatchDouble) ListMetricsPages(i0 *cloudwatch.ListMetricsInput, i1 func(*cloudwatch.ListMetricsOutput, bool) bool) (r0 error)

func (*CloudWatchDouble) ListMetricsPagesWithContext

func (d *CloudWatchDouble) ListMetricsPagesWithContext(i0 context.Context, i1 *cloudwatch.ListMetricsInput, i2 func(*cloudwatch.ListMetricsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudWatchDouble) ListMetricsRequest

func (*CloudWatchDouble) ListMetricsWithContext

func (d *CloudWatchDouble) ListMetricsWithContext(i0 context.Context, i1 *cloudwatch.ListMetricsInput, i2 ...request.Option) (r0 *cloudwatch.ListMetricsOutput, r1 error)

func (*CloudWatchDouble) ListTagsForResource

func (*CloudWatchDouble) ListTagsForResourceRequest

func (*CloudWatchDouble) ListTagsForResourceWithContext

func (d *CloudWatchDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *cloudwatch.ListTagsForResourceInput, i2 ...request.Option) (r0 *cloudwatch.ListTagsForResourceOutput, r1 error)

func (*CloudWatchDouble) PutAnomalyDetector

func (*CloudWatchDouble) PutAnomalyDetectorRequest

func (*CloudWatchDouble) PutAnomalyDetectorWithContext

func (d *CloudWatchDouble) PutAnomalyDetectorWithContext(i0 context.Context, i1 *cloudwatch.PutAnomalyDetectorInput, i2 ...request.Option) (r0 *cloudwatch.PutAnomalyDetectorOutput, r1 error)

func (*CloudWatchDouble) PutDashboard

func (*CloudWatchDouble) PutDashboardRequest

func (*CloudWatchDouble) PutDashboardWithContext

func (d *CloudWatchDouble) PutDashboardWithContext(i0 context.Context, i1 *cloudwatch.PutDashboardInput, i2 ...request.Option) (r0 *cloudwatch.PutDashboardOutput, r1 error)

func (*CloudWatchDouble) PutInsightRule

func (*CloudWatchDouble) PutInsightRuleRequest

func (*CloudWatchDouble) PutInsightRuleWithContext

func (d *CloudWatchDouble) PutInsightRuleWithContext(i0 context.Context, i1 *cloudwatch.PutInsightRuleInput, i2 ...request.Option) (r0 *cloudwatch.PutInsightRuleOutput, r1 error)

func (*CloudWatchDouble) PutMetricAlarm

func (*CloudWatchDouble) PutMetricAlarmRequest

func (*CloudWatchDouble) PutMetricAlarmWithContext

func (d *CloudWatchDouble) PutMetricAlarmWithContext(i0 context.Context, i1 *cloudwatch.PutMetricAlarmInput, i2 ...request.Option) (r0 *cloudwatch.PutMetricAlarmOutput, r1 error)

func (*CloudWatchDouble) PutMetricData

func (*CloudWatchDouble) PutMetricDataRequest

func (*CloudWatchDouble) PutMetricDataWithContext

func (d *CloudWatchDouble) PutMetricDataWithContext(i0 context.Context, i1 *cloudwatch.PutMetricDataInput, i2 ...request.Option) (r0 *cloudwatch.PutMetricDataOutput, r1 error)

func (*CloudWatchDouble) SetAlarmState

func (*CloudWatchDouble) SetAlarmStateRequest

func (*CloudWatchDouble) SetAlarmStateWithContext

func (d *CloudWatchDouble) SetAlarmStateWithContext(i0 context.Context, i1 *cloudwatch.SetAlarmStateInput, i2 ...request.Option) (r0 *cloudwatch.SetAlarmStateOutput, r1 error)

func (*CloudWatchDouble) TagResource

func (*CloudWatchDouble) TagResourceRequest

func (*CloudWatchDouble) TagResourceWithContext

func (d *CloudWatchDouble) TagResourceWithContext(i0 context.Context, i1 *cloudwatch.TagResourceInput, i2 ...request.Option) (r0 *cloudwatch.TagResourceOutput, r1 error)

func (*CloudWatchDouble) UntagResource

func (*CloudWatchDouble) UntagResourceRequest

func (*CloudWatchDouble) UntagResourceWithContext

func (d *CloudWatchDouble) UntagResourceWithContext(i0 context.Context, i1 *cloudwatch.UntagResourceInput, i2 ...request.Option) (r0 *cloudwatch.UntagResourceOutput, r1 error)

func (*CloudWatchDouble) WaitUntilAlarmExists

func (d *CloudWatchDouble) WaitUntilAlarmExists(i0 *cloudwatch.DescribeAlarmsInput) (r0 error)

func (*CloudWatchDouble) WaitUntilAlarmExistsWithContext

func (d *CloudWatchDouble) WaitUntilAlarmExistsWithContext(i0 context.Context, i1 *cloudwatch.DescribeAlarmsInput, i2 ...request.WaiterOption) (r0 error)

Jump to

Keyboard shortcuts

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