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 marketplacemeteringdouble contains test double implementation of marketplacemeteringiface.MarketplaceMeteringAPI
Package marketplacemeteringdouble provides a TestDouble implementation of marketplacemeteringiface.MarketplaceMeteringAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type MarketplaceMeteringDouble
- func (d *MarketplaceMeteringDouble) BatchMeterUsage(i0 *marketplacemetering.BatchMeterUsageInput) (r0 *marketplacemetering.BatchMeterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) BatchMeterUsageRequest(i0 *marketplacemetering.BatchMeterUsageInput) (r0 *request.Request, r1 *marketplacemetering.BatchMeterUsageOutput)
- func (d *MarketplaceMeteringDouble) BatchMeterUsageWithContext(i0 context.Context, i1 *marketplacemetering.BatchMeterUsageInput, ...) (r0 *marketplacemetering.BatchMeterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) MeterUsage(i0 *marketplacemetering.MeterUsageInput) (r0 *marketplacemetering.MeterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) MeterUsageRequest(i0 *marketplacemetering.MeterUsageInput) (r0 *request.Request, r1 *marketplacemetering.MeterUsageOutput)
- func (d *MarketplaceMeteringDouble) MeterUsageWithContext(i0 context.Context, i1 *marketplacemetering.MeterUsageInput, ...) (r0 *marketplacemetering.MeterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) RegisterUsage(i0 *marketplacemetering.RegisterUsageInput) (r0 *marketplacemetering.RegisterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) RegisterUsageRequest(i0 *marketplacemetering.RegisterUsageInput) (r0 *request.Request, r1 *marketplacemetering.RegisterUsageOutput)
- func (d *MarketplaceMeteringDouble) RegisterUsageWithContext(i0 context.Context, i1 *marketplacemetering.RegisterUsageInput, ...) (r0 *marketplacemetering.RegisterUsageOutput, r1 error)
- func (d *MarketplaceMeteringDouble) ResolveCustomer(i0 *marketplacemetering.ResolveCustomerInput) (r0 *marketplacemetering.ResolveCustomerOutput, r1 error)
- func (d *MarketplaceMeteringDouble) ResolveCustomerRequest(i0 *marketplacemetering.ResolveCustomerInput) (r0 *request.Request, r1 *marketplacemetering.ResolveCustomerOutput)
- func (d *MarketplaceMeteringDouble) ResolveCustomerWithContext(i0 context.Context, i1 *marketplacemetering.ResolveCustomerInput, ...) (r0 *marketplacemetering.ResolveCustomerOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketplaceMeteringDouble ¶
type MarketplaceMeteringDouble struct { marketplacemeteringiface.MarketplaceMeteringAPI *awsdouble.AWSTestDouble }
MarketplaceMeteringDouble is TestDouble for marketplacemeteringiface.MarketplaceMeteringAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *MarketplaceMeteringDouble
Constructor for MarketplaceMeteringDouble 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 (*MarketplaceMeteringDouble) BatchMeterUsage ¶
func (d *MarketplaceMeteringDouble) BatchMeterUsage(i0 *marketplacemetering.BatchMeterUsageInput) (r0 *marketplacemetering.BatchMeterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) BatchMeterUsageRequest ¶
func (d *MarketplaceMeteringDouble) BatchMeterUsageRequest(i0 *marketplacemetering.BatchMeterUsageInput) (r0 *request.Request, r1 *marketplacemetering.BatchMeterUsageOutput)
func (*MarketplaceMeteringDouble) BatchMeterUsageWithContext ¶
func (d *MarketplaceMeteringDouble) BatchMeterUsageWithContext(i0 context.Context, i1 *marketplacemetering.BatchMeterUsageInput, i2 ...request.Option) (r0 *marketplacemetering.BatchMeterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) MeterUsage ¶
func (d *MarketplaceMeteringDouble) MeterUsage(i0 *marketplacemetering.MeterUsageInput) (r0 *marketplacemetering.MeterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) MeterUsageRequest ¶
func (d *MarketplaceMeteringDouble) MeterUsageRequest(i0 *marketplacemetering.MeterUsageInput) (r0 *request.Request, r1 *marketplacemetering.MeterUsageOutput)
func (*MarketplaceMeteringDouble) MeterUsageWithContext ¶
func (d *MarketplaceMeteringDouble) MeterUsageWithContext(i0 context.Context, i1 *marketplacemetering.MeterUsageInput, i2 ...request.Option) (r0 *marketplacemetering.MeterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) RegisterUsage ¶
func (d *MarketplaceMeteringDouble) RegisterUsage(i0 *marketplacemetering.RegisterUsageInput) (r0 *marketplacemetering.RegisterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) RegisterUsageRequest ¶
func (d *MarketplaceMeteringDouble) RegisterUsageRequest(i0 *marketplacemetering.RegisterUsageInput) (r0 *request.Request, r1 *marketplacemetering.RegisterUsageOutput)
func (*MarketplaceMeteringDouble) RegisterUsageWithContext ¶
func (d *MarketplaceMeteringDouble) RegisterUsageWithContext(i0 context.Context, i1 *marketplacemetering.RegisterUsageInput, i2 ...request.Option) (r0 *marketplacemetering.RegisterUsageOutput, r1 error)
func (*MarketplaceMeteringDouble) ResolveCustomer ¶
func (d *MarketplaceMeteringDouble) ResolveCustomer(i0 *marketplacemetering.ResolveCustomerInput) (r0 *marketplacemetering.ResolveCustomerOutput, r1 error)
func (*MarketplaceMeteringDouble) ResolveCustomerRequest ¶
func (d *MarketplaceMeteringDouble) ResolveCustomerRequest(i0 *marketplacemetering.ResolveCustomerInput) (r0 *request.Request, r1 *marketplacemetering.ResolveCustomerOutput)
func (*MarketplaceMeteringDouble) ResolveCustomerWithContext ¶
func (d *MarketplaceMeteringDouble) ResolveCustomerWithContext(i0 context.Context, i1 *marketplacemetering.ResolveCustomerInput, i2 ...request.Option) (r0 *marketplacemetering.ResolveCustomerOutput, r1 error)