pricingdouble

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 pricingdouble contains test double implementation of pricingiface.PricingAPI

Package pricingdouble provides a TestDouble implementation of pricingiface.PricingAPI

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 PricingDouble

type PricingDouble struct {
	pricingiface.PricingAPI
	*awsdouble.AWSTestDouble
}

PricingDouble is TestDouble for pricingiface.PricingAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *PricingDouble

Constructor for PricingDouble 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 (*PricingDouble) DescribeServices

func (*PricingDouble) DescribeServicesPages

func (d *PricingDouble) DescribeServicesPages(i0 *pricing.DescribeServicesInput, i1 func(*pricing.DescribeServicesOutput, bool) bool) (r0 error)

func (*PricingDouble) DescribeServicesPagesWithContext

func (d *PricingDouble) DescribeServicesPagesWithContext(i0 context.Context, i1 *pricing.DescribeServicesInput, i2 func(*pricing.DescribeServicesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*PricingDouble) DescribeServicesRequest

func (d *PricingDouble) DescribeServicesRequest(i0 *pricing.DescribeServicesInput) (r0 *request.Request, r1 *pricing.DescribeServicesOutput)

func (*PricingDouble) DescribeServicesWithContext

func (d *PricingDouble) DescribeServicesWithContext(i0 context.Context, i1 *pricing.DescribeServicesInput, i2 ...request.Option) (r0 *pricing.DescribeServicesOutput, r1 error)

func (*PricingDouble) GetAttributeValues

func (*PricingDouble) GetAttributeValuesPages

func (d *PricingDouble) GetAttributeValuesPages(i0 *pricing.GetAttributeValuesInput, i1 func(*pricing.GetAttributeValuesOutput, bool) bool) (r0 error)

func (*PricingDouble) GetAttributeValuesPagesWithContext

func (d *PricingDouble) GetAttributeValuesPagesWithContext(i0 context.Context, i1 *pricing.GetAttributeValuesInput, i2 func(*pricing.GetAttributeValuesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*PricingDouble) GetAttributeValuesRequest

func (d *PricingDouble) GetAttributeValuesRequest(i0 *pricing.GetAttributeValuesInput) (r0 *request.Request, r1 *pricing.GetAttributeValuesOutput)

func (*PricingDouble) GetAttributeValuesWithContext

func (d *PricingDouble) GetAttributeValuesWithContext(i0 context.Context, i1 *pricing.GetAttributeValuesInput, i2 ...request.Option) (r0 *pricing.GetAttributeValuesOutput, r1 error)

func (*PricingDouble) GetProducts

func (d *PricingDouble) GetProducts(i0 *pricing.GetProductsInput) (r0 *pricing.GetProductsOutput, r1 error)

func (*PricingDouble) GetProductsPages

func (d *PricingDouble) GetProductsPages(i0 *pricing.GetProductsInput, i1 func(*pricing.GetProductsOutput, bool) bool) (r0 error)

func (*PricingDouble) GetProductsPagesWithContext

func (d *PricingDouble) GetProductsPagesWithContext(i0 context.Context, i1 *pricing.GetProductsInput, i2 func(*pricing.GetProductsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*PricingDouble) GetProductsRequest

func (d *PricingDouble) GetProductsRequest(i0 *pricing.GetProductsInput) (r0 *request.Request, r1 *pricing.GetProductsOutput)

func (*PricingDouble) GetProductsWithContext

func (d *PricingDouble) GetProductsWithContext(i0 context.Context, i1 *pricing.GetProductsInput, i2 ...request.Option) (r0 *pricing.GetProductsOutput, r1 error)

Jump to

Keyboard shortcuts

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