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 simpledbdouble contains test double implementation of simpledbiface.SimpleDBAPI
Package simpledbdouble provides a TestDouble implementation of simpledbiface.SimpleDBAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type SimpleDBDouble
- func (d *SimpleDBDouble) BatchDeleteAttributes(i0 *simpledb.BatchDeleteAttributesInput) (r0 *simpledb.BatchDeleteAttributesOutput, r1 error)
- func (d *SimpleDBDouble) BatchDeleteAttributesRequest(i0 *simpledb.BatchDeleteAttributesInput) (r0 *request.Request, r1 *simpledb.BatchDeleteAttributesOutput)
- func (d *SimpleDBDouble) BatchDeleteAttributesWithContext(i0 context.Context, i1 *simpledb.BatchDeleteAttributesInput, ...) (r0 *simpledb.BatchDeleteAttributesOutput, r1 error)
- func (d *SimpleDBDouble) BatchPutAttributes(i0 *simpledb.BatchPutAttributesInput) (r0 *simpledb.BatchPutAttributesOutput, r1 error)
- func (d *SimpleDBDouble) BatchPutAttributesRequest(i0 *simpledb.BatchPutAttributesInput) (r0 *request.Request, r1 *simpledb.BatchPutAttributesOutput)
- func (d *SimpleDBDouble) BatchPutAttributesWithContext(i0 context.Context, i1 *simpledb.BatchPutAttributesInput, i2 ...request.Option) (r0 *simpledb.BatchPutAttributesOutput, r1 error)
- func (d *SimpleDBDouble) CreateDomain(i0 *simpledb.CreateDomainInput) (r0 *simpledb.CreateDomainOutput, r1 error)
- func (d *SimpleDBDouble) CreateDomainRequest(i0 *simpledb.CreateDomainInput) (r0 *request.Request, r1 *simpledb.CreateDomainOutput)
- func (d *SimpleDBDouble) CreateDomainWithContext(i0 context.Context, i1 *simpledb.CreateDomainInput, i2 ...request.Option) (r0 *simpledb.CreateDomainOutput, r1 error)
- func (d *SimpleDBDouble) DeleteAttributes(i0 *simpledb.DeleteAttributesInput) (r0 *simpledb.DeleteAttributesOutput, r1 error)
- func (d *SimpleDBDouble) DeleteAttributesRequest(i0 *simpledb.DeleteAttributesInput) (r0 *request.Request, r1 *simpledb.DeleteAttributesOutput)
- func (d *SimpleDBDouble) DeleteAttributesWithContext(i0 context.Context, i1 *simpledb.DeleteAttributesInput, i2 ...request.Option) (r0 *simpledb.DeleteAttributesOutput, r1 error)
- func (d *SimpleDBDouble) DeleteDomain(i0 *simpledb.DeleteDomainInput) (r0 *simpledb.DeleteDomainOutput, r1 error)
- func (d *SimpleDBDouble) DeleteDomainRequest(i0 *simpledb.DeleteDomainInput) (r0 *request.Request, r1 *simpledb.DeleteDomainOutput)
- func (d *SimpleDBDouble) DeleteDomainWithContext(i0 context.Context, i1 *simpledb.DeleteDomainInput, i2 ...request.Option) (r0 *simpledb.DeleteDomainOutput, r1 error)
- func (d *SimpleDBDouble) DomainMetadata(i0 *simpledb.DomainMetadataInput) (r0 *simpledb.DomainMetadataOutput, r1 error)
- func (d *SimpleDBDouble) DomainMetadataRequest(i0 *simpledb.DomainMetadataInput) (r0 *request.Request, r1 *simpledb.DomainMetadataOutput)
- func (d *SimpleDBDouble) DomainMetadataWithContext(i0 context.Context, i1 *simpledb.DomainMetadataInput, i2 ...request.Option) (r0 *simpledb.DomainMetadataOutput, r1 error)
- func (d *SimpleDBDouble) GetAttributes(i0 *simpledb.GetAttributesInput) (r0 *simpledb.GetAttributesOutput, r1 error)
- func (d *SimpleDBDouble) GetAttributesRequest(i0 *simpledb.GetAttributesInput) (r0 *request.Request, r1 *simpledb.GetAttributesOutput)
- func (d *SimpleDBDouble) GetAttributesWithContext(i0 context.Context, i1 *simpledb.GetAttributesInput, i2 ...request.Option) (r0 *simpledb.GetAttributesOutput, r1 error)
- func (d *SimpleDBDouble) ListDomains(i0 *simpledb.ListDomainsInput) (r0 *simpledb.ListDomainsOutput, r1 error)
- func (d *SimpleDBDouble) ListDomainsPages(i0 *simpledb.ListDomainsInput, i1 func(*simpledb.ListDomainsOutput, bool) bool) (r0 error)
- func (d *SimpleDBDouble) ListDomainsPagesWithContext(i0 context.Context, i1 *simpledb.ListDomainsInput, ...) (r0 error)
- func (d *SimpleDBDouble) ListDomainsRequest(i0 *simpledb.ListDomainsInput) (r0 *request.Request, r1 *simpledb.ListDomainsOutput)
- func (d *SimpleDBDouble) ListDomainsWithContext(i0 context.Context, i1 *simpledb.ListDomainsInput, i2 ...request.Option) (r0 *simpledb.ListDomainsOutput, r1 error)
- func (d *SimpleDBDouble) PutAttributes(i0 *simpledb.PutAttributesInput) (r0 *simpledb.PutAttributesOutput, r1 error)
- func (d *SimpleDBDouble) PutAttributesRequest(i0 *simpledb.PutAttributesInput) (r0 *request.Request, r1 *simpledb.PutAttributesOutput)
- func (d *SimpleDBDouble) PutAttributesWithContext(i0 context.Context, i1 *simpledb.PutAttributesInput, i2 ...request.Option) (r0 *simpledb.PutAttributesOutput, r1 error)
- func (d *SimpleDBDouble) Select(i0 *simpledb.SelectInput) (r0 *simpledb.SelectOutput, r1 error)
- func (d *SimpleDBDouble) SelectPages(i0 *simpledb.SelectInput, i1 func(*simpledb.SelectOutput, bool) bool) (r0 error)
- func (d *SimpleDBDouble) SelectPagesWithContext(i0 context.Context, i1 *simpledb.SelectInput, ...) (r0 error)
- func (d *SimpleDBDouble) SelectRequest(i0 *simpledb.SelectInput) (r0 *request.Request, r1 *simpledb.SelectOutput)
- func (d *SimpleDBDouble) SelectWithContext(i0 context.Context, i1 *simpledb.SelectInput, i2 ...request.Option) (r0 *simpledb.SelectOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleDBDouble ¶
type SimpleDBDouble struct { simpledbiface.SimpleDBAPI *awsdouble.AWSTestDouble }
SimpleDBDouble is TestDouble for simpledbiface.SimpleDBAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *SimpleDBDouble
Constructor for SimpleDBDouble 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 (*SimpleDBDouble) BatchDeleteAttributes ¶
func (d *SimpleDBDouble) BatchDeleteAttributes(i0 *simpledb.BatchDeleteAttributesInput) (r0 *simpledb.BatchDeleteAttributesOutput, r1 error)
func (*SimpleDBDouble) BatchDeleteAttributesRequest ¶
func (d *SimpleDBDouble) BatchDeleteAttributesRequest(i0 *simpledb.BatchDeleteAttributesInput) (r0 *request.Request, r1 *simpledb.BatchDeleteAttributesOutput)
func (*SimpleDBDouble) BatchDeleteAttributesWithContext ¶
func (d *SimpleDBDouble) BatchDeleteAttributesWithContext(i0 context.Context, i1 *simpledb.BatchDeleteAttributesInput, i2 ...request.Option) (r0 *simpledb.BatchDeleteAttributesOutput, r1 error)
func (*SimpleDBDouble) BatchPutAttributes ¶
func (d *SimpleDBDouble) BatchPutAttributes(i0 *simpledb.BatchPutAttributesInput) (r0 *simpledb.BatchPutAttributesOutput, r1 error)
func (*SimpleDBDouble) BatchPutAttributesRequest ¶
func (d *SimpleDBDouble) BatchPutAttributesRequest(i0 *simpledb.BatchPutAttributesInput) (r0 *request.Request, r1 *simpledb.BatchPutAttributesOutput)
func (*SimpleDBDouble) BatchPutAttributesWithContext ¶
func (d *SimpleDBDouble) BatchPutAttributesWithContext(i0 context.Context, i1 *simpledb.BatchPutAttributesInput, i2 ...request.Option) (r0 *simpledb.BatchPutAttributesOutput, r1 error)
func (*SimpleDBDouble) CreateDomain ¶
func (d *SimpleDBDouble) CreateDomain(i0 *simpledb.CreateDomainInput) (r0 *simpledb.CreateDomainOutput, r1 error)
func (*SimpleDBDouble) CreateDomainRequest ¶
func (d *SimpleDBDouble) CreateDomainRequest(i0 *simpledb.CreateDomainInput) (r0 *request.Request, r1 *simpledb.CreateDomainOutput)
func (*SimpleDBDouble) CreateDomainWithContext ¶
func (d *SimpleDBDouble) CreateDomainWithContext(i0 context.Context, i1 *simpledb.CreateDomainInput, i2 ...request.Option) (r0 *simpledb.CreateDomainOutput, r1 error)
func (*SimpleDBDouble) DeleteAttributes ¶
func (d *SimpleDBDouble) DeleteAttributes(i0 *simpledb.DeleteAttributesInput) (r0 *simpledb.DeleteAttributesOutput, r1 error)
func (*SimpleDBDouble) DeleteAttributesRequest ¶
func (d *SimpleDBDouble) DeleteAttributesRequest(i0 *simpledb.DeleteAttributesInput) (r0 *request.Request, r1 *simpledb.DeleteAttributesOutput)
func (*SimpleDBDouble) DeleteAttributesWithContext ¶
func (d *SimpleDBDouble) DeleteAttributesWithContext(i0 context.Context, i1 *simpledb.DeleteAttributesInput, i2 ...request.Option) (r0 *simpledb.DeleteAttributesOutput, r1 error)
func (*SimpleDBDouble) DeleteDomain ¶
func (d *SimpleDBDouble) DeleteDomain(i0 *simpledb.DeleteDomainInput) (r0 *simpledb.DeleteDomainOutput, r1 error)
func (*SimpleDBDouble) DeleteDomainRequest ¶
func (d *SimpleDBDouble) DeleteDomainRequest(i0 *simpledb.DeleteDomainInput) (r0 *request.Request, r1 *simpledb.DeleteDomainOutput)
func (*SimpleDBDouble) DeleteDomainWithContext ¶
func (d *SimpleDBDouble) DeleteDomainWithContext(i0 context.Context, i1 *simpledb.DeleteDomainInput, i2 ...request.Option) (r0 *simpledb.DeleteDomainOutput, r1 error)
func (*SimpleDBDouble) DomainMetadata ¶
func (d *SimpleDBDouble) DomainMetadata(i0 *simpledb.DomainMetadataInput) (r0 *simpledb.DomainMetadataOutput, r1 error)
func (*SimpleDBDouble) DomainMetadataRequest ¶
func (d *SimpleDBDouble) DomainMetadataRequest(i0 *simpledb.DomainMetadataInput) (r0 *request.Request, r1 *simpledb.DomainMetadataOutput)
func (*SimpleDBDouble) DomainMetadataWithContext ¶
func (d *SimpleDBDouble) DomainMetadataWithContext(i0 context.Context, i1 *simpledb.DomainMetadataInput, i2 ...request.Option) (r0 *simpledb.DomainMetadataOutput, r1 error)
func (*SimpleDBDouble) GetAttributes ¶
func (d *SimpleDBDouble) GetAttributes(i0 *simpledb.GetAttributesInput) (r0 *simpledb.GetAttributesOutput, r1 error)
func (*SimpleDBDouble) GetAttributesRequest ¶
func (d *SimpleDBDouble) GetAttributesRequest(i0 *simpledb.GetAttributesInput) (r0 *request.Request, r1 *simpledb.GetAttributesOutput)
func (*SimpleDBDouble) GetAttributesWithContext ¶
func (d *SimpleDBDouble) GetAttributesWithContext(i0 context.Context, i1 *simpledb.GetAttributesInput, i2 ...request.Option) (r0 *simpledb.GetAttributesOutput, r1 error)
func (*SimpleDBDouble) ListDomains ¶
func (d *SimpleDBDouble) ListDomains(i0 *simpledb.ListDomainsInput) (r0 *simpledb.ListDomainsOutput, r1 error)
func (*SimpleDBDouble) ListDomainsPages ¶
func (d *SimpleDBDouble) ListDomainsPages(i0 *simpledb.ListDomainsInput, i1 func(*simpledb.ListDomainsOutput, bool) bool) (r0 error)
func (*SimpleDBDouble) ListDomainsPagesWithContext ¶
func (d *SimpleDBDouble) ListDomainsPagesWithContext(i0 context.Context, i1 *simpledb.ListDomainsInput, i2 func(*simpledb.ListDomainsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*SimpleDBDouble) ListDomainsRequest ¶
func (d *SimpleDBDouble) ListDomainsRequest(i0 *simpledb.ListDomainsInput) (r0 *request.Request, r1 *simpledb.ListDomainsOutput)
func (*SimpleDBDouble) ListDomainsWithContext ¶
func (d *SimpleDBDouble) ListDomainsWithContext(i0 context.Context, i1 *simpledb.ListDomainsInput, i2 ...request.Option) (r0 *simpledb.ListDomainsOutput, r1 error)
func (*SimpleDBDouble) PutAttributes ¶
func (d *SimpleDBDouble) PutAttributes(i0 *simpledb.PutAttributesInput) (r0 *simpledb.PutAttributesOutput, r1 error)
func (*SimpleDBDouble) PutAttributesRequest ¶
func (d *SimpleDBDouble) PutAttributesRequest(i0 *simpledb.PutAttributesInput) (r0 *request.Request, r1 *simpledb.PutAttributesOutput)
func (*SimpleDBDouble) PutAttributesWithContext ¶
func (d *SimpleDBDouble) PutAttributesWithContext(i0 context.Context, i1 *simpledb.PutAttributesInput, i2 ...request.Option) (r0 *simpledb.PutAttributesOutput, r1 error)
func (*SimpleDBDouble) Select ¶
func (d *SimpleDBDouble) Select(i0 *simpledb.SelectInput) (r0 *simpledb.SelectOutput, r1 error)
func (*SimpleDBDouble) SelectPages ¶
func (d *SimpleDBDouble) SelectPages(i0 *simpledb.SelectInput, i1 func(*simpledb.SelectOutput, bool) bool) (r0 error)
func (*SimpleDBDouble) SelectPagesWithContext ¶
func (d *SimpleDBDouble) SelectPagesWithContext(i0 context.Context, i1 *simpledb.SelectInput, i2 func(*simpledb.SelectOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*SimpleDBDouble) SelectRequest ¶
func (d *SimpleDBDouble) SelectRequest(i0 *simpledb.SelectInput) (r0 *request.Request, r1 *simpledb.SelectOutput)
func (*SimpleDBDouble) SelectWithContext ¶
func (d *SimpleDBDouble) SelectWithContext(i0 context.Context, i1 *simpledb.SelectInput, i2 ...request.Option) (r0 *simpledb.SelectOutput, r1 error)