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 autoscalingplansdouble contains test double implementation of autoscalingplansiface.AutoScalingPlansAPI
Package autoscalingplansdouble provides a TestDouble implementation of autoscalingplansiface.AutoScalingPlansAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type AutoScalingPlansDouble
- func (d *AutoScalingPlansDouble) CreateScalingPlan(i0 *autoscalingplans.CreateScalingPlanInput) (r0 *autoscalingplans.CreateScalingPlanOutput, r1 error)
- func (d *AutoScalingPlansDouble) CreateScalingPlanRequest(i0 *autoscalingplans.CreateScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.CreateScalingPlanOutput)
- func (d *AutoScalingPlansDouble) CreateScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.CreateScalingPlanInput, ...) (r0 *autoscalingplans.CreateScalingPlanOutput, r1 error)
- func (d *AutoScalingPlansDouble) DeleteScalingPlan(i0 *autoscalingplans.DeleteScalingPlanInput) (r0 *autoscalingplans.DeleteScalingPlanOutput, r1 error)
- func (d *AutoScalingPlansDouble) DeleteScalingPlanRequest(i0 *autoscalingplans.DeleteScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.DeleteScalingPlanOutput)
- func (d *AutoScalingPlansDouble) DeleteScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.DeleteScalingPlanInput, ...) (r0 *autoscalingplans.DeleteScalingPlanOutput, r1 error)
- func (d *AutoScalingPlansDouble) DescribeScalingPlanResources(i0 *autoscalingplans.DescribeScalingPlanResourcesInput) (r0 *autoscalingplans.DescribeScalingPlanResourcesOutput, r1 error)
- func (d *AutoScalingPlansDouble) DescribeScalingPlanResourcesRequest(i0 *autoscalingplans.DescribeScalingPlanResourcesInput) (r0 *request.Request, r1 *autoscalingplans.DescribeScalingPlanResourcesOutput)
- func (d *AutoScalingPlansDouble) DescribeScalingPlanResourcesWithContext(i0 context.Context, i1 *autoscalingplans.DescribeScalingPlanResourcesInput, ...) (r0 *autoscalingplans.DescribeScalingPlanResourcesOutput, r1 error)
- func (d *AutoScalingPlansDouble) DescribeScalingPlans(i0 *autoscalingplans.DescribeScalingPlansInput) (r0 *autoscalingplans.DescribeScalingPlansOutput, r1 error)
- func (d *AutoScalingPlansDouble) DescribeScalingPlansRequest(i0 *autoscalingplans.DescribeScalingPlansInput) (r0 *request.Request, r1 *autoscalingplans.DescribeScalingPlansOutput)
- func (d *AutoScalingPlansDouble) DescribeScalingPlansWithContext(i0 context.Context, i1 *autoscalingplans.DescribeScalingPlansInput, ...) (r0 *autoscalingplans.DescribeScalingPlansOutput, r1 error)
- func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastData(i0 *autoscalingplans.GetScalingPlanResourceForecastDataInput) (r0 *autoscalingplans.GetScalingPlanResourceForecastDataOutput, r1 error)
- func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastDataRequest(i0 *autoscalingplans.GetScalingPlanResourceForecastDataInput) (r0 *request.Request, ...)
- func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastDataWithContext(i0 context.Context, ...) (r0 *autoscalingplans.GetScalingPlanResourceForecastDataOutput, r1 error)
- func (d *AutoScalingPlansDouble) UpdateScalingPlan(i0 *autoscalingplans.UpdateScalingPlanInput) (r0 *autoscalingplans.UpdateScalingPlanOutput, r1 error)
- func (d *AutoScalingPlansDouble) UpdateScalingPlanRequest(i0 *autoscalingplans.UpdateScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.UpdateScalingPlanOutput)
- func (d *AutoScalingPlansDouble) UpdateScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.UpdateScalingPlanInput, ...) (r0 *autoscalingplans.UpdateScalingPlanOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalingPlansDouble ¶
type AutoScalingPlansDouble struct { autoscalingplansiface.AutoScalingPlansAPI *awsdouble.AWSTestDouble }
AutoScalingPlansDouble is TestDouble for autoscalingplansiface.AutoScalingPlansAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *AutoScalingPlansDouble
Constructor for AutoScalingPlansDouble 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 (*AutoScalingPlansDouble) CreateScalingPlan ¶
func (d *AutoScalingPlansDouble) CreateScalingPlan(i0 *autoscalingplans.CreateScalingPlanInput) (r0 *autoscalingplans.CreateScalingPlanOutput, r1 error)
func (*AutoScalingPlansDouble) CreateScalingPlanRequest ¶
func (d *AutoScalingPlansDouble) CreateScalingPlanRequest(i0 *autoscalingplans.CreateScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.CreateScalingPlanOutput)
func (*AutoScalingPlansDouble) CreateScalingPlanWithContext ¶
func (d *AutoScalingPlansDouble) CreateScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.CreateScalingPlanInput, i2 ...request.Option) (r0 *autoscalingplans.CreateScalingPlanOutput, r1 error)
func (*AutoScalingPlansDouble) DeleteScalingPlan ¶
func (d *AutoScalingPlansDouble) DeleteScalingPlan(i0 *autoscalingplans.DeleteScalingPlanInput) (r0 *autoscalingplans.DeleteScalingPlanOutput, r1 error)
func (*AutoScalingPlansDouble) DeleteScalingPlanRequest ¶
func (d *AutoScalingPlansDouble) DeleteScalingPlanRequest(i0 *autoscalingplans.DeleteScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.DeleteScalingPlanOutput)
func (*AutoScalingPlansDouble) DeleteScalingPlanWithContext ¶
func (d *AutoScalingPlansDouble) DeleteScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.DeleteScalingPlanInput, i2 ...request.Option) (r0 *autoscalingplans.DeleteScalingPlanOutput, r1 error)
func (*AutoScalingPlansDouble) DescribeScalingPlanResources ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlanResources(i0 *autoscalingplans.DescribeScalingPlanResourcesInput) (r0 *autoscalingplans.DescribeScalingPlanResourcesOutput, r1 error)
func (*AutoScalingPlansDouble) DescribeScalingPlanResourcesRequest ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlanResourcesRequest(i0 *autoscalingplans.DescribeScalingPlanResourcesInput) (r0 *request.Request, r1 *autoscalingplans.DescribeScalingPlanResourcesOutput)
func (*AutoScalingPlansDouble) DescribeScalingPlanResourcesWithContext ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlanResourcesWithContext(i0 context.Context, i1 *autoscalingplans.DescribeScalingPlanResourcesInput, i2 ...request.Option) (r0 *autoscalingplans.DescribeScalingPlanResourcesOutput, r1 error)
func (*AutoScalingPlansDouble) DescribeScalingPlans ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlans(i0 *autoscalingplans.DescribeScalingPlansInput) (r0 *autoscalingplans.DescribeScalingPlansOutput, r1 error)
func (*AutoScalingPlansDouble) DescribeScalingPlansRequest ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlansRequest(i0 *autoscalingplans.DescribeScalingPlansInput) (r0 *request.Request, r1 *autoscalingplans.DescribeScalingPlansOutput)
func (*AutoScalingPlansDouble) DescribeScalingPlansWithContext ¶
func (d *AutoScalingPlansDouble) DescribeScalingPlansWithContext(i0 context.Context, i1 *autoscalingplans.DescribeScalingPlansInput, i2 ...request.Option) (r0 *autoscalingplans.DescribeScalingPlansOutput, r1 error)
func (*AutoScalingPlansDouble) GetScalingPlanResourceForecastData ¶
func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastData(i0 *autoscalingplans.GetScalingPlanResourceForecastDataInput) (r0 *autoscalingplans.GetScalingPlanResourceForecastDataOutput, r1 error)
func (*AutoScalingPlansDouble) GetScalingPlanResourceForecastDataRequest ¶
func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastDataRequest(i0 *autoscalingplans.GetScalingPlanResourceForecastDataInput) (r0 *request.Request, r1 *autoscalingplans.GetScalingPlanResourceForecastDataOutput)
func (*AutoScalingPlansDouble) GetScalingPlanResourceForecastDataWithContext ¶
func (d *AutoScalingPlansDouble) GetScalingPlanResourceForecastDataWithContext(i0 context.Context, i1 *autoscalingplans.GetScalingPlanResourceForecastDataInput, i2 ...request.Option) (r0 *autoscalingplans.GetScalingPlanResourceForecastDataOutput, r1 error)
func (*AutoScalingPlansDouble) UpdateScalingPlan ¶
func (d *AutoScalingPlansDouble) UpdateScalingPlan(i0 *autoscalingplans.UpdateScalingPlanInput) (r0 *autoscalingplans.UpdateScalingPlanOutput, r1 error)
func (*AutoScalingPlansDouble) UpdateScalingPlanRequest ¶
func (d *AutoScalingPlansDouble) UpdateScalingPlanRequest(i0 *autoscalingplans.UpdateScalingPlanInput) (r0 *request.Request, r1 *autoscalingplans.UpdateScalingPlanOutput)
func (*AutoScalingPlansDouble) UpdateScalingPlanWithContext ¶
func (d *AutoScalingPlansDouble) UpdateScalingPlanWithContext(i0 context.Context, i1 *autoscalingplans.UpdateScalingPlanInput, i2 ...request.Option) (r0 *autoscalingplans.UpdateScalingPlanOutput, r1 error)