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 migrationhubconfigdouble contains test double implementation of migrationhubconfigiface.MigrationHubConfigAPI
Package migrationhubconfigdouble provides a TestDouble implementation of migrationhubconfigiface.MigrationHubConfigAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type MigrationHubConfigDouble
- func (d *MigrationHubConfigDouble) CreateHomeRegionControl(i0 *migrationhubconfig.CreateHomeRegionControlInput) (r0 *migrationhubconfig.CreateHomeRegionControlOutput, r1 error)
- func (d *MigrationHubConfigDouble) CreateHomeRegionControlRequest(i0 *migrationhubconfig.CreateHomeRegionControlInput) (r0 *request.Request, r1 *migrationhubconfig.CreateHomeRegionControlOutput)
- func (d *MigrationHubConfigDouble) CreateHomeRegionControlWithContext(i0 context.Context, i1 *migrationhubconfig.CreateHomeRegionControlInput, ...) (r0 *migrationhubconfig.CreateHomeRegionControlOutput, r1 error)
- func (d *MigrationHubConfigDouble) DescribeHomeRegionControls(i0 *migrationhubconfig.DescribeHomeRegionControlsInput) (r0 *migrationhubconfig.DescribeHomeRegionControlsOutput, r1 error)
- func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsPages(i0 *migrationhubconfig.DescribeHomeRegionControlsInput, ...) (r0 error)
- func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsPagesWithContext(i0 context.Context, i1 *migrationhubconfig.DescribeHomeRegionControlsInput, ...) (r0 error)
- func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsRequest(i0 *migrationhubconfig.DescribeHomeRegionControlsInput) (r0 *request.Request, r1 *migrationhubconfig.DescribeHomeRegionControlsOutput)
- func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsWithContext(i0 context.Context, i1 *migrationhubconfig.DescribeHomeRegionControlsInput, ...) (r0 *migrationhubconfig.DescribeHomeRegionControlsOutput, r1 error)
- func (d *MigrationHubConfigDouble) GetHomeRegion(i0 *migrationhubconfig.GetHomeRegionInput) (r0 *migrationhubconfig.GetHomeRegionOutput, r1 error)
- func (d *MigrationHubConfigDouble) GetHomeRegionRequest(i0 *migrationhubconfig.GetHomeRegionInput) (r0 *request.Request, r1 *migrationhubconfig.GetHomeRegionOutput)
- func (d *MigrationHubConfigDouble) GetHomeRegionWithContext(i0 context.Context, i1 *migrationhubconfig.GetHomeRegionInput, ...) (r0 *migrationhubconfig.GetHomeRegionOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationHubConfigDouble ¶
type MigrationHubConfigDouble struct { migrationhubconfigiface.MigrationHubConfigAPI *awsdouble.AWSTestDouble }
MigrationHubConfigDouble is TestDouble for migrationhubconfigiface.MigrationHubConfigAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *MigrationHubConfigDouble
Constructor for MigrationHubConfigDouble 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 (*MigrationHubConfigDouble) CreateHomeRegionControl ¶
func (d *MigrationHubConfigDouble) CreateHomeRegionControl(i0 *migrationhubconfig.CreateHomeRegionControlInput) (r0 *migrationhubconfig.CreateHomeRegionControlOutput, r1 error)
func (*MigrationHubConfigDouble) CreateHomeRegionControlRequest ¶
func (d *MigrationHubConfigDouble) CreateHomeRegionControlRequest(i0 *migrationhubconfig.CreateHomeRegionControlInput) (r0 *request.Request, r1 *migrationhubconfig.CreateHomeRegionControlOutput)
func (*MigrationHubConfigDouble) CreateHomeRegionControlWithContext ¶
func (d *MigrationHubConfigDouble) CreateHomeRegionControlWithContext(i0 context.Context, i1 *migrationhubconfig.CreateHomeRegionControlInput, i2 ...request.Option) (r0 *migrationhubconfig.CreateHomeRegionControlOutput, r1 error)
func (*MigrationHubConfigDouble) DescribeHomeRegionControls ¶
func (d *MigrationHubConfigDouble) DescribeHomeRegionControls(i0 *migrationhubconfig.DescribeHomeRegionControlsInput) (r0 *migrationhubconfig.DescribeHomeRegionControlsOutput, r1 error)
func (*MigrationHubConfigDouble) DescribeHomeRegionControlsPages ¶
func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsPages(i0 *migrationhubconfig.DescribeHomeRegionControlsInput, i1 func(*migrationhubconfig.DescribeHomeRegionControlsOutput, bool) bool) (r0 error)
func (*MigrationHubConfigDouble) DescribeHomeRegionControlsPagesWithContext ¶
func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsPagesWithContext(i0 context.Context, i1 *migrationhubconfig.DescribeHomeRegionControlsInput, i2 func(*migrationhubconfig.DescribeHomeRegionControlsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*MigrationHubConfigDouble) DescribeHomeRegionControlsRequest ¶
func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsRequest(i0 *migrationhubconfig.DescribeHomeRegionControlsInput) (r0 *request.Request, r1 *migrationhubconfig.DescribeHomeRegionControlsOutput)
func (*MigrationHubConfigDouble) DescribeHomeRegionControlsWithContext ¶
func (d *MigrationHubConfigDouble) DescribeHomeRegionControlsWithContext(i0 context.Context, i1 *migrationhubconfig.DescribeHomeRegionControlsInput, i2 ...request.Option) (r0 *migrationhubconfig.DescribeHomeRegionControlsOutput, r1 error)
func (*MigrationHubConfigDouble) GetHomeRegion ¶
func (d *MigrationHubConfigDouble) GetHomeRegion(i0 *migrationhubconfig.GetHomeRegionInput) (r0 *migrationhubconfig.GetHomeRegionOutput, r1 error)
func (*MigrationHubConfigDouble) GetHomeRegionRequest ¶
func (d *MigrationHubConfigDouble) GetHomeRegionRequest(i0 *migrationhubconfig.GetHomeRegionInput) (r0 *request.Request, r1 *migrationhubconfig.GetHomeRegionOutput)
func (*MigrationHubConfigDouble) GetHomeRegionWithContext ¶
func (d *MigrationHubConfigDouble) GetHomeRegionWithContext(i0 context.Context, i1 *migrationhubconfig.GetHomeRegionInput, i2 ...request.Option) (r0 *migrationhubconfig.GetHomeRegionOutput, r1 error)