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 fsxdouble contains test double implementation of fsxiface.FSxAPI
Package fsxdouble provides a TestDouble implementation of fsxiface.FSxAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type FSxDouble
- func (d *FSxDouble) CancelDataRepositoryTask(i0 *fsx.CancelDataRepositoryTaskInput) (r0 *fsx.CancelDataRepositoryTaskOutput, r1 error)
- func (d *FSxDouble) CancelDataRepositoryTaskRequest(i0 *fsx.CancelDataRepositoryTaskInput) (r0 *request.Request, r1 *fsx.CancelDataRepositoryTaskOutput)
- func (d *FSxDouble) CancelDataRepositoryTaskWithContext(i0 context.Context, i1 *fsx.CancelDataRepositoryTaskInput, ...) (r0 *fsx.CancelDataRepositoryTaskOutput, r1 error)
- func (d *FSxDouble) CreateBackup(i0 *fsx.CreateBackupInput) (r0 *fsx.CreateBackupOutput, r1 error)
- func (d *FSxDouble) CreateBackupRequest(i0 *fsx.CreateBackupInput) (r0 *request.Request, r1 *fsx.CreateBackupOutput)
- func (d *FSxDouble) CreateBackupWithContext(i0 context.Context, i1 *fsx.CreateBackupInput, i2 ...request.Option) (r0 *fsx.CreateBackupOutput, r1 error)
- func (d *FSxDouble) CreateDataRepositoryTask(i0 *fsx.CreateDataRepositoryTaskInput) (r0 *fsx.CreateDataRepositoryTaskOutput, r1 error)
- func (d *FSxDouble) CreateDataRepositoryTaskRequest(i0 *fsx.CreateDataRepositoryTaskInput) (r0 *request.Request, r1 *fsx.CreateDataRepositoryTaskOutput)
- func (d *FSxDouble) CreateDataRepositoryTaskWithContext(i0 context.Context, i1 *fsx.CreateDataRepositoryTaskInput, ...) (r0 *fsx.CreateDataRepositoryTaskOutput, r1 error)
- func (d *FSxDouble) CreateFileSystem(i0 *fsx.CreateFileSystemInput) (r0 *fsx.CreateFileSystemOutput, r1 error)
- func (d *FSxDouble) CreateFileSystemFromBackup(i0 *fsx.CreateFileSystemFromBackupInput) (r0 *fsx.CreateFileSystemFromBackupOutput, r1 error)
- func (d *FSxDouble) CreateFileSystemFromBackupRequest(i0 *fsx.CreateFileSystemFromBackupInput) (r0 *request.Request, r1 *fsx.CreateFileSystemFromBackupOutput)
- func (d *FSxDouble) CreateFileSystemFromBackupWithContext(i0 context.Context, i1 *fsx.CreateFileSystemFromBackupInput, ...) (r0 *fsx.CreateFileSystemFromBackupOutput, r1 error)
- func (d *FSxDouble) CreateFileSystemRequest(i0 *fsx.CreateFileSystemInput) (r0 *request.Request, r1 *fsx.CreateFileSystemOutput)
- func (d *FSxDouble) CreateFileSystemWithContext(i0 context.Context, i1 *fsx.CreateFileSystemInput, i2 ...request.Option) (r0 *fsx.CreateFileSystemOutput, r1 error)
- func (d *FSxDouble) DeleteBackup(i0 *fsx.DeleteBackupInput) (r0 *fsx.DeleteBackupOutput, r1 error)
- func (d *FSxDouble) DeleteBackupRequest(i0 *fsx.DeleteBackupInput) (r0 *request.Request, r1 *fsx.DeleteBackupOutput)
- func (d *FSxDouble) DeleteBackupWithContext(i0 context.Context, i1 *fsx.DeleteBackupInput, i2 ...request.Option) (r0 *fsx.DeleteBackupOutput, r1 error)
- func (d *FSxDouble) DeleteFileSystem(i0 *fsx.DeleteFileSystemInput) (r0 *fsx.DeleteFileSystemOutput, r1 error)
- func (d *FSxDouble) DeleteFileSystemRequest(i0 *fsx.DeleteFileSystemInput) (r0 *request.Request, r1 *fsx.DeleteFileSystemOutput)
- func (d *FSxDouble) DeleteFileSystemWithContext(i0 context.Context, i1 *fsx.DeleteFileSystemInput, i2 ...request.Option) (r0 *fsx.DeleteFileSystemOutput, r1 error)
- func (d *FSxDouble) DescribeBackups(i0 *fsx.DescribeBackupsInput) (r0 *fsx.DescribeBackupsOutput, r1 error)
- func (d *FSxDouble) DescribeBackupsPages(i0 *fsx.DescribeBackupsInput, i1 func(*fsx.DescribeBackupsOutput, bool) bool) (r0 error)
- func (d *FSxDouble) DescribeBackupsPagesWithContext(i0 context.Context, i1 *fsx.DescribeBackupsInput, ...) (r0 error)
- func (d *FSxDouble) DescribeBackupsRequest(i0 *fsx.DescribeBackupsInput) (r0 *request.Request, r1 *fsx.DescribeBackupsOutput)
- func (d *FSxDouble) DescribeBackupsWithContext(i0 context.Context, i1 *fsx.DescribeBackupsInput, i2 ...request.Option) (r0 *fsx.DescribeBackupsOutput, r1 error)
- func (d *FSxDouble) DescribeDataRepositoryTasks(i0 *fsx.DescribeDataRepositoryTasksInput) (r0 *fsx.DescribeDataRepositoryTasksOutput, r1 error)
- func (d *FSxDouble) DescribeDataRepositoryTasksPages(i0 *fsx.DescribeDataRepositoryTasksInput, ...) (r0 error)
- func (d *FSxDouble) DescribeDataRepositoryTasksPagesWithContext(i0 context.Context, i1 *fsx.DescribeDataRepositoryTasksInput, ...) (r0 error)
- func (d *FSxDouble) DescribeDataRepositoryTasksRequest(i0 *fsx.DescribeDataRepositoryTasksInput) (r0 *request.Request, r1 *fsx.DescribeDataRepositoryTasksOutput)
- func (d *FSxDouble) DescribeDataRepositoryTasksWithContext(i0 context.Context, i1 *fsx.DescribeDataRepositoryTasksInput, ...) (r0 *fsx.DescribeDataRepositoryTasksOutput, r1 error)
- func (d *FSxDouble) DescribeFileSystems(i0 *fsx.DescribeFileSystemsInput) (r0 *fsx.DescribeFileSystemsOutput, r1 error)
- func (d *FSxDouble) DescribeFileSystemsPages(i0 *fsx.DescribeFileSystemsInput, ...) (r0 error)
- func (d *FSxDouble) DescribeFileSystemsPagesWithContext(i0 context.Context, i1 *fsx.DescribeFileSystemsInput, ...) (r0 error)
- func (d *FSxDouble) DescribeFileSystemsRequest(i0 *fsx.DescribeFileSystemsInput) (r0 *request.Request, r1 *fsx.DescribeFileSystemsOutput)
- func (d *FSxDouble) DescribeFileSystemsWithContext(i0 context.Context, i1 *fsx.DescribeFileSystemsInput, i2 ...request.Option) (r0 *fsx.DescribeFileSystemsOutput, r1 error)
- func (d *FSxDouble) ListTagsForResource(i0 *fsx.ListTagsForResourceInput) (r0 *fsx.ListTagsForResourceOutput, r1 error)
- func (d *FSxDouble) ListTagsForResourceRequest(i0 *fsx.ListTagsForResourceInput) (r0 *request.Request, r1 *fsx.ListTagsForResourceOutput)
- func (d *FSxDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *fsx.ListTagsForResourceInput, i2 ...request.Option) (r0 *fsx.ListTagsForResourceOutput, r1 error)
- func (d *FSxDouble) TagResource(i0 *fsx.TagResourceInput) (r0 *fsx.TagResourceOutput, r1 error)
- func (d *FSxDouble) TagResourceRequest(i0 *fsx.TagResourceInput) (r0 *request.Request, r1 *fsx.TagResourceOutput)
- func (d *FSxDouble) TagResourceWithContext(i0 context.Context, i1 *fsx.TagResourceInput, i2 ...request.Option) (r0 *fsx.TagResourceOutput, r1 error)
- func (d *FSxDouble) UntagResource(i0 *fsx.UntagResourceInput) (r0 *fsx.UntagResourceOutput, r1 error)
- func (d *FSxDouble) UntagResourceRequest(i0 *fsx.UntagResourceInput) (r0 *request.Request, r1 *fsx.UntagResourceOutput)
- func (d *FSxDouble) UntagResourceWithContext(i0 context.Context, i1 *fsx.UntagResourceInput, i2 ...request.Option) (r0 *fsx.UntagResourceOutput, r1 error)
- func (d *FSxDouble) UpdateFileSystem(i0 *fsx.UpdateFileSystemInput) (r0 *fsx.UpdateFileSystemOutput, r1 error)
- func (d *FSxDouble) UpdateFileSystemRequest(i0 *fsx.UpdateFileSystemInput) (r0 *request.Request, r1 *fsx.UpdateFileSystemOutput)
- func (d *FSxDouble) UpdateFileSystemWithContext(i0 context.Context, i1 *fsx.UpdateFileSystemInput, i2 ...request.Option) (r0 *fsx.UpdateFileSystemOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSxDouble ¶
type FSxDouble struct { fsxiface.FSxAPI *awsdouble.AWSTestDouble }
FSxDouble is TestDouble for fsxiface.FSxAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *FSxDouble
Constructor for FSxDouble 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 (*FSxDouble) CancelDataRepositoryTask ¶
func (d *FSxDouble) CancelDataRepositoryTask(i0 *fsx.CancelDataRepositoryTaskInput) (r0 *fsx.CancelDataRepositoryTaskOutput, r1 error)
func (*FSxDouble) CancelDataRepositoryTaskRequest ¶
func (d *FSxDouble) CancelDataRepositoryTaskRequest(i0 *fsx.CancelDataRepositoryTaskInput) (r0 *request.Request, r1 *fsx.CancelDataRepositoryTaskOutput)
func (*FSxDouble) CancelDataRepositoryTaskWithContext ¶
func (d *FSxDouble) CancelDataRepositoryTaskWithContext(i0 context.Context, i1 *fsx.CancelDataRepositoryTaskInput, i2 ...request.Option) (r0 *fsx.CancelDataRepositoryTaskOutput, r1 error)
func (*FSxDouble) CreateBackup ¶
func (d *FSxDouble) CreateBackup(i0 *fsx.CreateBackupInput) (r0 *fsx.CreateBackupOutput, r1 error)
func (*FSxDouble) CreateBackupRequest ¶
func (d *FSxDouble) CreateBackupRequest(i0 *fsx.CreateBackupInput) (r0 *request.Request, r1 *fsx.CreateBackupOutput)
func (*FSxDouble) CreateBackupWithContext ¶
func (d *FSxDouble) CreateBackupWithContext(i0 context.Context, i1 *fsx.CreateBackupInput, i2 ...request.Option) (r0 *fsx.CreateBackupOutput, r1 error)
func (*FSxDouble) CreateDataRepositoryTask ¶
func (d *FSxDouble) CreateDataRepositoryTask(i0 *fsx.CreateDataRepositoryTaskInput) (r0 *fsx.CreateDataRepositoryTaskOutput, r1 error)
func (*FSxDouble) CreateDataRepositoryTaskRequest ¶
func (d *FSxDouble) CreateDataRepositoryTaskRequest(i0 *fsx.CreateDataRepositoryTaskInput) (r0 *request.Request, r1 *fsx.CreateDataRepositoryTaskOutput)
func (*FSxDouble) CreateDataRepositoryTaskWithContext ¶
func (d *FSxDouble) CreateDataRepositoryTaskWithContext(i0 context.Context, i1 *fsx.CreateDataRepositoryTaskInput, i2 ...request.Option) (r0 *fsx.CreateDataRepositoryTaskOutput, r1 error)
func (*FSxDouble) CreateFileSystem ¶
func (d *FSxDouble) CreateFileSystem(i0 *fsx.CreateFileSystemInput) (r0 *fsx.CreateFileSystemOutput, r1 error)
func (*FSxDouble) CreateFileSystemFromBackup ¶
func (d *FSxDouble) CreateFileSystemFromBackup(i0 *fsx.CreateFileSystemFromBackupInput) (r0 *fsx.CreateFileSystemFromBackupOutput, r1 error)
func (*FSxDouble) CreateFileSystemFromBackupRequest ¶
func (d *FSxDouble) CreateFileSystemFromBackupRequest(i0 *fsx.CreateFileSystemFromBackupInput) (r0 *request.Request, r1 *fsx.CreateFileSystemFromBackupOutput)
func (*FSxDouble) CreateFileSystemFromBackupWithContext ¶
func (d *FSxDouble) CreateFileSystemFromBackupWithContext(i0 context.Context, i1 *fsx.CreateFileSystemFromBackupInput, i2 ...request.Option) (r0 *fsx.CreateFileSystemFromBackupOutput, r1 error)
func (*FSxDouble) CreateFileSystemRequest ¶
func (d *FSxDouble) CreateFileSystemRequest(i0 *fsx.CreateFileSystemInput) (r0 *request.Request, r1 *fsx.CreateFileSystemOutput)
func (*FSxDouble) CreateFileSystemWithContext ¶
func (d *FSxDouble) CreateFileSystemWithContext(i0 context.Context, i1 *fsx.CreateFileSystemInput, i2 ...request.Option) (r0 *fsx.CreateFileSystemOutput, r1 error)
func (*FSxDouble) DeleteBackup ¶
func (d *FSxDouble) DeleteBackup(i0 *fsx.DeleteBackupInput) (r0 *fsx.DeleteBackupOutput, r1 error)
func (*FSxDouble) DeleteBackupRequest ¶
func (d *FSxDouble) DeleteBackupRequest(i0 *fsx.DeleteBackupInput) (r0 *request.Request, r1 *fsx.DeleteBackupOutput)
func (*FSxDouble) DeleteBackupWithContext ¶
func (d *FSxDouble) DeleteBackupWithContext(i0 context.Context, i1 *fsx.DeleteBackupInput, i2 ...request.Option) (r0 *fsx.DeleteBackupOutput, r1 error)
func (*FSxDouble) DeleteFileSystem ¶
func (d *FSxDouble) DeleteFileSystem(i0 *fsx.DeleteFileSystemInput) (r0 *fsx.DeleteFileSystemOutput, r1 error)
func (*FSxDouble) DeleteFileSystemRequest ¶
func (d *FSxDouble) DeleteFileSystemRequest(i0 *fsx.DeleteFileSystemInput) (r0 *request.Request, r1 *fsx.DeleteFileSystemOutput)
func (*FSxDouble) DeleteFileSystemWithContext ¶
func (d *FSxDouble) DeleteFileSystemWithContext(i0 context.Context, i1 *fsx.DeleteFileSystemInput, i2 ...request.Option) (r0 *fsx.DeleteFileSystemOutput, r1 error)
func (*FSxDouble) DescribeBackups ¶
func (d *FSxDouble) DescribeBackups(i0 *fsx.DescribeBackupsInput) (r0 *fsx.DescribeBackupsOutput, r1 error)
func (*FSxDouble) DescribeBackupsPages ¶
func (d *FSxDouble) DescribeBackupsPages(i0 *fsx.DescribeBackupsInput, i1 func(*fsx.DescribeBackupsOutput, bool) bool) (r0 error)
func (*FSxDouble) DescribeBackupsPagesWithContext ¶
func (*FSxDouble) DescribeBackupsRequest ¶
func (d *FSxDouble) DescribeBackupsRequest(i0 *fsx.DescribeBackupsInput) (r0 *request.Request, r1 *fsx.DescribeBackupsOutput)
func (*FSxDouble) DescribeBackupsWithContext ¶
func (d *FSxDouble) DescribeBackupsWithContext(i0 context.Context, i1 *fsx.DescribeBackupsInput, i2 ...request.Option) (r0 *fsx.DescribeBackupsOutput, r1 error)
func (*FSxDouble) DescribeDataRepositoryTasks ¶
func (d *FSxDouble) DescribeDataRepositoryTasks(i0 *fsx.DescribeDataRepositoryTasksInput) (r0 *fsx.DescribeDataRepositoryTasksOutput, r1 error)
func (*FSxDouble) DescribeDataRepositoryTasksPages ¶
func (d *FSxDouble) DescribeDataRepositoryTasksPages(i0 *fsx.DescribeDataRepositoryTasksInput, i1 func(*fsx.DescribeDataRepositoryTasksOutput, bool) bool) (r0 error)
func (*FSxDouble) DescribeDataRepositoryTasksPagesWithContext ¶
func (*FSxDouble) DescribeDataRepositoryTasksRequest ¶
func (d *FSxDouble) DescribeDataRepositoryTasksRequest(i0 *fsx.DescribeDataRepositoryTasksInput) (r0 *request.Request, r1 *fsx.DescribeDataRepositoryTasksOutput)
func (*FSxDouble) DescribeDataRepositoryTasksWithContext ¶
func (d *FSxDouble) DescribeDataRepositoryTasksWithContext(i0 context.Context, i1 *fsx.DescribeDataRepositoryTasksInput, i2 ...request.Option) (r0 *fsx.DescribeDataRepositoryTasksOutput, r1 error)
func (*FSxDouble) DescribeFileSystems ¶
func (d *FSxDouble) DescribeFileSystems(i0 *fsx.DescribeFileSystemsInput) (r0 *fsx.DescribeFileSystemsOutput, r1 error)
func (*FSxDouble) DescribeFileSystemsPages ¶
func (d *FSxDouble) DescribeFileSystemsPages(i0 *fsx.DescribeFileSystemsInput, i1 func(*fsx.DescribeFileSystemsOutput, bool) bool) (r0 error)
func (*FSxDouble) DescribeFileSystemsPagesWithContext ¶
func (*FSxDouble) DescribeFileSystemsRequest ¶
func (d *FSxDouble) DescribeFileSystemsRequest(i0 *fsx.DescribeFileSystemsInput) (r0 *request.Request, r1 *fsx.DescribeFileSystemsOutput)
func (*FSxDouble) DescribeFileSystemsWithContext ¶
func (d *FSxDouble) DescribeFileSystemsWithContext(i0 context.Context, i1 *fsx.DescribeFileSystemsInput, i2 ...request.Option) (r0 *fsx.DescribeFileSystemsOutput, r1 error)
func (*FSxDouble) ListTagsForResource ¶
func (d *FSxDouble) ListTagsForResource(i0 *fsx.ListTagsForResourceInput) (r0 *fsx.ListTagsForResourceOutput, r1 error)
func (*FSxDouble) ListTagsForResourceRequest ¶
func (d *FSxDouble) ListTagsForResourceRequest(i0 *fsx.ListTagsForResourceInput) (r0 *request.Request, r1 *fsx.ListTagsForResourceOutput)
func (*FSxDouble) ListTagsForResourceWithContext ¶
func (d *FSxDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *fsx.ListTagsForResourceInput, i2 ...request.Option) (r0 *fsx.ListTagsForResourceOutput, r1 error)
func (*FSxDouble) TagResource ¶
func (d *FSxDouble) TagResource(i0 *fsx.TagResourceInput) (r0 *fsx.TagResourceOutput, r1 error)
func (*FSxDouble) TagResourceRequest ¶
func (d *FSxDouble) TagResourceRequest(i0 *fsx.TagResourceInput) (r0 *request.Request, r1 *fsx.TagResourceOutput)
func (*FSxDouble) TagResourceWithContext ¶
func (d *FSxDouble) TagResourceWithContext(i0 context.Context, i1 *fsx.TagResourceInput, i2 ...request.Option) (r0 *fsx.TagResourceOutput, r1 error)
func (*FSxDouble) UntagResource ¶
func (d *FSxDouble) UntagResource(i0 *fsx.UntagResourceInput) (r0 *fsx.UntagResourceOutput, r1 error)
func (*FSxDouble) UntagResourceRequest ¶
func (d *FSxDouble) UntagResourceRequest(i0 *fsx.UntagResourceInput) (r0 *request.Request, r1 *fsx.UntagResourceOutput)
func (*FSxDouble) UntagResourceWithContext ¶
func (d *FSxDouble) UntagResourceWithContext(i0 context.Context, i1 *fsx.UntagResourceInput, i2 ...request.Option) (r0 *fsx.UntagResourceOutput, r1 error)
func (*FSxDouble) UpdateFileSystem ¶
func (d *FSxDouble) UpdateFileSystem(i0 *fsx.UpdateFileSystemInput) (r0 *fsx.UpdateFileSystemOutput, r1 error)
func (*FSxDouble) UpdateFileSystemRequest ¶
func (d *FSxDouble) UpdateFileSystemRequest(i0 *fsx.UpdateFileSystemInput) (r0 *request.Request, r1 *fsx.UpdateFileSystemOutput)
func (*FSxDouble) UpdateFileSystemWithContext ¶
func (d *FSxDouble) UpdateFileSystemWithContext(i0 context.Context, i1 *fsx.UpdateFileSystemInput, i2 ...request.Option) (r0 *fsx.UpdateFileSystemOutput, r1 error)