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 mobiledouble contains test double implementation of mobileiface.MobileAPI
Package mobiledouble provides a TestDouble implementation of mobileiface.MobileAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type MobileDouble
- func (d *MobileDouble) CreateProject(i0 *mobile.CreateProjectInput) (r0 *mobile.CreateProjectOutput, r1 error)
- func (d *MobileDouble) CreateProjectRequest(i0 *mobile.CreateProjectInput) (r0 *request.Request, r1 *mobile.CreateProjectOutput)
- func (d *MobileDouble) CreateProjectWithContext(i0 context.Context, i1 *mobile.CreateProjectInput, i2 ...request.Option) (r0 *mobile.CreateProjectOutput, r1 error)
- func (d *MobileDouble) DeleteProject(i0 *mobile.DeleteProjectInput) (r0 *mobile.DeleteProjectOutput, r1 error)
- func (d *MobileDouble) DeleteProjectRequest(i0 *mobile.DeleteProjectInput) (r0 *request.Request, r1 *mobile.DeleteProjectOutput)
- func (d *MobileDouble) DeleteProjectWithContext(i0 context.Context, i1 *mobile.DeleteProjectInput, i2 ...request.Option) (r0 *mobile.DeleteProjectOutput, r1 error)
- func (d *MobileDouble) DescribeBundle(i0 *mobile.DescribeBundleInput) (r0 *mobile.DescribeBundleOutput, r1 error)
- func (d *MobileDouble) DescribeBundleRequest(i0 *mobile.DescribeBundleInput) (r0 *request.Request, r1 *mobile.DescribeBundleOutput)
- func (d *MobileDouble) DescribeBundleWithContext(i0 context.Context, i1 *mobile.DescribeBundleInput, i2 ...request.Option) (r0 *mobile.DescribeBundleOutput, r1 error)
- func (d *MobileDouble) DescribeProject(i0 *mobile.DescribeProjectInput) (r0 *mobile.DescribeProjectOutput, r1 error)
- func (d *MobileDouble) DescribeProjectRequest(i0 *mobile.DescribeProjectInput) (r0 *request.Request, r1 *mobile.DescribeProjectOutput)
- func (d *MobileDouble) DescribeProjectWithContext(i0 context.Context, i1 *mobile.DescribeProjectInput, i2 ...request.Option) (r0 *mobile.DescribeProjectOutput, r1 error)
- func (d *MobileDouble) ExportBundle(i0 *mobile.ExportBundleInput) (r0 *mobile.ExportBundleOutput, r1 error)
- func (d *MobileDouble) ExportBundleRequest(i0 *mobile.ExportBundleInput) (r0 *request.Request, r1 *mobile.ExportBundleOutput)
- func (d *MobileDouble) ExportBundleWithContext(i0 context.Context, i1 *mobile.ExportBundleInput, i2 ...request.Option) (r0 *mobile.ExportBundleOutput, r1 error)
- func (d *MobileDouble) ExportProject(i0 *mobile.ExportProjectInput) (r0 *mobile.ExportProjectOutput, r1 error)
- func (d *MobileDouble) ExportProjectRequest(i0 *mobile.ExportProjectInput) (r0 *request.Request, r1 *mobile.ExportProjectOutput)
- func (d *MobileDouble) ExportProjectWithContext(i0 context.Context, i1 *mobile.ExportProjectInput, i2 ...request.Option) (r0 *mobile.ExportProjectOutput, r1 error)
- func (d *MobileDouble) ListBundles(i0 *mobile.ListBundlesInput) (r0 *mobile.ListBundlesOutput, r1 error)
- func (d *MobileDouble) ListBundlesPages(i0 *mobile.ListBundlesInput, i1 func(*mobile.ListBundlesOutput, bool) bool) (r0 error)
- func (d *MobileDouble) ListBundlesPagesWithContext(i0 context.Context, i1 *mobile.ListBundlesInput, ...) (r0 error)
- func (d *MobileDouble) ListBundlesRequest(i0 *mobile.ListBundlesInput) (r0 *request.Request, r1 *mobile.ListBundlesOutput)
- func (d *MobileDouble) ListBundlesWithContext(i0 context.Context, i1 *mobile.ListBundlesInput, i2 ...request.Option) (r0 *mobile.ListBundlesOutput, r1 error)
- func (d *MobileDouble) ListProjects(i0 *mobile.ListProjectsInput) (r0 *mobile.ListProjectsOutput, r1 error)
- func (d *MobileDouble) ListProjectsPages(i0 *mobile.ListProjectsInput, i1 func(*mobile.ListProjectsOutput, bool) bool) (r0 error)
- func (d *MobileDouble) ListProjectsPagesWithContext(i0 context.Context, i1 *mobile.ListProjectsInput, ...) (r0 error)
- func (d *MobileDouble) ListProjectsRequest(i0 *mobile.ListProjectsInput) (r0 *request.Request, r1 *mobile.ListProjectsOutput)
- func (d *MobileDouble) ListProjectsWithContext(i0 context.Context, i1 *mobile.ListProjectsInput, i2 ...request.Option) (r0 *mobile.ListProjectsOutput, r1 error)
- func (d *MobileDouble) UpdateProject(i0 *mobile.UpdateProjectInput) (r0 *mobile.UpdateProjectOutput, r1 error)
- func (d *MobileDouble) UpdateProjectRequest(i0 *mobile.UpdateProjectInput) (r0 *request.Request, r1 *mobile.UpdateProjectOutput)
- func (d *MobileDouble) UpdateProjectWithContext(i0 context.Context, i1 *mobile.UpdateProjectInput, i2 ...request.Option) (r0 *mobile.UpdateProjectOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MobileDouble ¶
type MobileDouble struct { mobileiface.MobileAPI *awsdouble.AWSTestDouble }
MobileDouble is TestDouble for mobileiface.MobileAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *MobileDouble
Constructor for MobileDouble 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 (*MobileDouble) CreateProject ¶
func (d *MobileDouble) CreateProject(i0 *mobile.CreateProjectInput) (r0 *mobile.CreateProjectOutput, r1 error)
func (*MobileDouble) CreateProjectRequest ¶
func (d *MobileDouble) CreateProjectRequest(i0 *mobile.CreateProjectInput) (r0 *request.Request, r1 *mobile.CreateProjectOutput)
func (*MobileDouble) CreateProjectWithContext ¶
func (d *MobileDouble) CreateProjectWithContext(i0 context.Context, i1 *mobile.CreateProjectInput, i2 ...request.Option) (r0 *mobile.CreateProjectOutput, r1 error)
func (*MobileDouble) DeleteProject ¶
func (d *MobileDouble) DeleteProject(i0 *mobile.DeleteProjectInput) (r0 *mobile.DeleteProjectOutput, r1 error)
func (*MobileDouble) DeleteProjectRequest ¶
func (d *MobileDouble) DeleteProjectRequest(i0 *mobile.DeleteProjectInput) (r0 *request.Request, r1 *mobile.DeleteProjectOutput)
func (*MobileDouble) DeleteProjectWithContext ¶
func (d *MobileDouble) DeleteProjectWithContext(i0 context.Context, i1 *mobile.DeleteProjectInput, i2 ...request.Option) (r0 *mobile.DeleteProjectOutput, r1 error)
func (*MobileDouble) DescribeBundle ¶
func (d *MobileDouble) DescribeBundle(i0 *mobile.DescribeBundleInput) (r0 *mobile.DescribeBundleOutput, r1 error)
func (*MobileDouble) DescribeBundleRequest ¶
func (d *MobileDouble) DescribeBundleRequest(i0 *mobile.DescribeBundleInput) (r0 *request.Request, r1 *mobile.DescribeBundleOutput)
func (*MobileDouble) DescribeBundleWithContext ¶
func (d *MobileDouble) DescribeBundleWithContext(i0 context.Context, i1 *mobile.DescribeBundleInput, i2 ...request.Option) (r0 *mobile.DescribeBundleOutput, r1 error)
func (*MobileDouble) DescribeProject ¶
func (d *MobileDouble) DescribeProject(i0 *mobile.DescribeProjectInput) (r0 *mobile.DescribeProjectOutput, r1 error)
func (*MobileDouble) DescribeProjectRequest ¶
func (d *MobileDouble) DescribeProjectRequest(i0 *mobile.DescribeProjectInput) (r0 *request.Request, r1 *mobile.DescribeProjectOutput)
func (*MobileDouble) DescribeProjectWithContext ¶
func (d *MobileDouble) DescribeProjectWithContext(i0 context.Context, i1 *mobile.DescribeProjectInput, i2 ...request.Option) (r0 *mobile.DescribeProjectOutput, r1 error)
func (*MobileDouble) ExportBundle ¶
func (d *MobileDouble) ExportBundle(i0 *mobile.ExportBundleInput) (r0 *mobile.ExportBundleOutput, r1 error)
func (*MobileDouble) ExportBundleRequest ¶
func (d *MobileDouble) ExportBundleRequest(i0 *mobile.ExportBundleInput) (r0 *request.Request, r1 *mobile.ExportBundleOutput)
func (*MobileDouble) ExportBundleWithContext ¶
func (d *MobileDouble) ExportBundleWithContext(i0 context.Context, i1 *mobile.ExportBundleInput, i2 ...request.Option) (r0 *mobile.ExportBundleOutput, r1 error)
func (*MobileDouble) ExportProject ¶
func (d *MobileDouble) ExportProject(i0 *mobile.ExportProjectInput) (r0 *mobile.ExportProjectOutput, r1 error)
func (*MobileDouble) ExportProjectRequest ¶
func (d *MobileDouble) ExportProjectRequest(i0 *mobile.ExportProjectInput) (r0 *request.Request, r1 *mobile.ExportProjectOutput)
func (*MobileDouble) ExportProjectWithContext ¶
func (d *MobileDouble) ExportProjectWithContext(i0 context.Context, i1 *mobile.ExportProjectInput, i2 ...request.Option) (r0 *mobile.ExportProjectOutput, r1 error)
func (*MobileDouble) ListBundles ¶
func (d *MobileDouble) ListBundles(i0 *mobile.ListBundlesInput) (r0 *mobile.ListBundlesOutput, r1 error)
func (*MobileDouble) ListBundlesPages ¶
func (d *MobileDouble) ListBundlesPages(i0 *mobile.ListBundlesInput, i1 func(*mobile.ListBundlesOutput, bool) bool) (r0 error)
func (*MobileDouble) ListBundlesPagesWithContext ¶
func (d *MobileDouble) ListBundlesPagesWithContext(i0 context.Context, i1 *mobile.ListBundlesInput, i2 func(*mobile.ListBundlesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*MobileDouble) ListBundlesRequest ¶
func (d *MobileDouble) ListBundlesRequest(i0 *mobile.ListBundlesInput) (r0 *request.Request, r1 *mobile.ListBundlesOutput)
func (*MobileDouble) ListBundlesWithContext ¶
func (d *MobileDouble) ListBundlesWithContext(i0 context.Context, i1 *mobile.ListBundlesInput, i2 ...request.Option) (r0 *mobile.ListBundlesOutput, r1 error)
func (*MobileDouble) ListProjects ¶
func (d *MobileDouble) ListProjects(i0 *mobile.ListProjectsInput) (r0 *mobile.ListProjectsOutput, r1 error)
func (*MobileDouble) ListProjectsPages ¶
func (d *MobileDouble) ListProjectsPages(i0 *mobile.ListProjectsInput, i1 func(*mobile.ListProjectsOutput, bool) bool) (r0 error)
func (*MobileDouble) ListProjectsPagesWithContext ¶
func (d *MobileDouble) ListProjectsPagesWithContext(i0 context.Context, i1 *mobile.ListProjectsInput, i2 func(*mobile.ListProjectsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*MobileDouble) ListProjectsRequest ¶
func (d *MobileDouble) ListProjectsRequest(i0 *mobile.ListProjectsInput) (r0 *request.Request, r1 *mobile.ListProjectsOutput)
func (*MobileDouble) ListProjectsWithContext ¶
func (d *MobileDouble) ListProjectsWithContext(i0 context.Context, i1 *mobile.ListProjectsInput, i2 ...request.Option) (r0 *mobile.ListProjectsOutput, r1 error)
func (*MobileDouble) UpdateProject ¶
func (d *MobileDouble) UpdateProject(i0 *mobile.UpdateProjectInput) (r0 *mobile.UpdateProjectOutput, r1 error)
func (*MobileDouble) UpdateProjectRequest ¶
func (d *MobileDouble) UpdateProjectRequest(i0 *mobile.UpdateProjectInput) (r0 *request.Request, r1 *mobile.UpdateProjectOutput)
func (*MobileDouble) UpdateProjectWithContext ¶
func (d *MobileDouble) UpdateProjectWithContext(i0 context.Context, i1 *mobile.UpdateProjectInput, i2 ...request.Option) (r0 *mobile.UpdateProjectOutput, r1 error)