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 cloudsearchdomaindouble contains test double implementation of cloudsearchdomainiface.CloudSearchDomainAPI
Package cloudsearchdomaindouble provides a TestDouble implementation of cloudsearchdomainiface.CloudSearchDomainAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type CloudSearchDomainDouble
- func (d *CloudSearchDomainDouble) Search(i0 *cloudsearchdomain.SearchInput) (r0 *cloudsearchdomain.SearchOutput, r1 error)
- func (d *CloudSearchDomainDouble) SearchRequest(i0 *cloudsearchdomain.SearchInput) (r0 *request.Request, r1 *cloudsearchdomain.SearchOutput)
- func (d *CloudSearchDomainDouble) SearchWithContext(i0 context.Context, i1 *cloudsearchdomain.SearchInput, i2 ...request.Option) (r0 *cloudsearchdomain.SearchOutput, r1 error)
- func (d *CloudSearchDomainDouble) Suggest(i0 *cloudsearchdomain.SuggestInput) (r0 *cloudsearchdomain.SuggestOutput, r1 error)
- func (d *CloudSearchDomainDouble) SuggestRequest(i0 *cloudsearchdomain.SuggestInput) (r0 *request.Request, r1 *cloudsearchdomain.SuggestOutput)
- func (d *CloudSearchDomainDouble) SuggestWithContext(i0 context.Context, i1 *cloudsearchdomain.SuggestInput, i2 ...request.Option) (r0 *cloudsearchdomain.SuggestOutput, r1 error)
- func (d *CloudSearchDomainDouble) UploadDocuments(i0 *cloudsearchdomain.UploadDocumentsInput) (r0 *cloudsearchdomain.UploadDocumentsOutput, r1 error)
- func (d *CloudSearchDomainDouble) UploadDocumentsRequest(i0 *cloudsearchdomain.UploadDocumentsInput) (r0 *request.Request, r1 *cloudsearchdomain.UploadDocumentsOutput)
- func (d *CloudSearchDomainDouble) UploadDocumentsWithContext(i0 context.Context, i1 *cloudsearchdomain.UploadDocumentsInput, ...) (r0 *cloudsearchdomain.UploadDocumentsOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudSearchDomainDouble ¶
type CloudSearchDomainDouble struct { cloudsearchdomainiface.CloudSearchDomainAPI *awsdouble.AWSTestDouble }
CloudSearchDomainDouble is TestDouble for cloudsearchdomainiface.CloudSearchDomainAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CloudSearchDomainDouble
Constructor for CloudSearchDomainDouble 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 (*CloudSearchDomainDouble) Search ¶
func (d *CloudSearchDomainDouble) Search(i0 *cloudsearchdomain.SearchInput) (r0 *cloudsearchdomain.SearchOutput, r1 error)
func (*CloudSearchDomainDouble) SearchRequest ¶
func (d *CloudSearchDomainDouble) SearchRequest(i0 *cloudsearchdomain.SearchInput) (r0 *request.Request, r1 *cloudsearchdomain.SearchOutput)
func (*CloudSearchDomainDouble) SearchWithContext ¶
func (d *CloudSearchDomainDouble) SearchWithContext(i0 context.Context, i1 *cloudsearchdomain.SearchInput, i2 ...request.Option) (r0 *cloudsearchdomain.SearchOutput, r1 error)
func (*CloudSearchDomainDouble) Suggest ¶
func (d *CloudSearchDomainDouble) Suggest(i0 *cloudsearchdomain.SuggestInput) (r0 *cloudsearchdomain.SuggestOutput, r1 error)
func (*CloudSearchDomainDouble) SuggestRequest ¶
func (d *CloudSearchDomainDouble) SuggestRequest(i0 *cloudsearchdomain.SuggestInput) (r0 *request.Request, r1 *cloudsearchdomain.SuggestOutput)
func (*CloudSearchDomainDouble) SuggestWithContext ¶
func (d *CloudSearchDomainDouble) SuggestWithContext(i0 context.Context, i1 *cloudsearchdomain.SuggestInput, i2 ...request.Option) (r0 *cloudsearchdomain.SuggestOutput, r1 error)
func (*CloudSearchDomainDouble) UploadDocuments ¶
func (d *CloudSearchDomainDouble) UploadDocuments(i0 *cloudsearchdomain.UploadDocumentsInput) (r0 *cloudsearchdomain.UploadDocumentsOutput, r1 error)
func (*CloudSearchDomainDouble) UploadDocumentsRequest ¶
func (d *CloudSearchDomainDouble) UploadDocumentsRequest(i0 *cloudsearchdomain.UploadDocumentsInput) (r0 *request.Request, r1 *cloudsearchdomain.UploadDocumentsOutput)
func (*CloudSearchDomainDouble) UploadDocumentsWithContext ¶
func (d *CloudSearchDomainDouble) UploadDocumentsWithContext(i0 context.Context, i1 *cloudsearchdomain.UploadDocumentsInput, i2 ...request.Option) (r0 *cloudsearchdomain.UploadDocumentsOutput, r1 error)