simpledbdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

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 (*SimpleDBDouble) BatchDeleteAttributesRequest

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 (*SimpleDBDouble) BatchPutAttributesRequest

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 (*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 (*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 (*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 (*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 (*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 (*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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL