outpostsdouble

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 outpostsdouble contains test double implementation of outpostsiface.OutpostsAPI

Package outpostsdouble provides a TestDouble implementation of outpostsiface.OutpostsAPI

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 OutpostsDouble

type OutpostsDouble struct {
	outpostsiface.OutpostsAPI
	*awsdouble.AWSTestDouble
}

OutpostsDouble is TestDouble for outpostsiface.OutpostsAPI

func NewDouble

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

Constructor for OutpostsDouble 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 (*OutpostsDouble) CreateOutpost

func (*OutpostsDouble) CreateOutpostRequest

func (d *OutpostsDouble) CreateOutpostRequest(i0 *outposts.CreateOutpostInput) (r0 *request.Request, r1 *outposts.CreateOutpostOutput)

func (*OutpostsDouble) CreateOutpostWithContext

func (d *OutpostsDouble) CreateOutpostWithContext(i0 context.Context, i1 *outposts.CreateOutpostInput, i2 ...request.Option) (r0 *outposts.CreateOutpostOutput, r1 error)

func (*OutpostsDouble) GetOutpost

func (*OutpostsDouble) GetOutpostInstanceTypes

func (*OutpostsDouble) GetOutpostInstanceTypesRequest

func (*OutpostsDouble) GetOutpostInstanceTypesWithContext

func (d *OutpostsDouble) GetOutpostInstanceTypesWithContext(i0 context.Context, i1 *outposts.GetOutpostInstanceTypesInput, i2 ...request.Option) (r0 *outposts.GetOutpostInstanceTypesOutput, r1 error)

func (*OutpostsDouble) GetOutpostRequest

func (d *OutpostsDouble) GetOutpostRequest(i0 *outposts.GetOutpostInput) (r0 *request.Request, r1 *outposts.GetOutpostOutput)

func (*OutpostsDouble) GetOutpostWithContext

func (d *OutpostsDouble) GetOutpostWithContext(i0 context.Context, i1 *outposts.GetOutpostInput, i2 ...request.Option) (r0 *outposts.GetOutpostOutput, r1 error)

func (*OutpostsDouble) ListOutposts

func (*OutpostsDouble) ListOutpostsPages

func (d *OutpostsDouble) ListOutpostsPages(i0 *outposts.ListOutpostsInput, i1 func(*outposts.ListOutpostsOutput, bool) bool) (r0 error)

func (*OutpostsDouble) ListOutpostsPagesWithContext

func (d *OutpostsDouble) ListOutpostsPagesWithContext(i0 context.Context, i1 *outposts.ListOutpostsInput, i2 func(*outposts.ListOutpostsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*OutpostsDouble) ListOutpostsRequest

func (d *OutpostsDouble) ListOutpostsRequest(i0 *outposts.ListOutpostsInput) (r0 *request.Request, r1 *outposts.ListOutpostsOutput)

func (*OutpostsDouble) ListOutpostsWithContext

func (d *OutpostsDouble) ListOutpostsWithContext(i0 context.Context, i1 *outposts.ListOutpostsInput, i2 ...request.Option) (r0 *outposts.ListOutpostsOutput, r1 error)

func (*OutpostsDouble) ListSites

func (*OutpostsDouble) ListSitesPages

func (d *OutpostsDouble) ListSitesPages(i0 *outposts.ListSitesInput, i1 func(*outposts.ListSitesOutput, bool) bool) (r0 error)

func (*OutpostsDouble) ListSitesPagesWithContext

func (d *OutpostsDouble) ListSitesPagesWithContext(i0 context.Context, i1 *outposts.ListSitesInput, i2 func(*outposts.ListSitesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*OutpostsDouble) ListSitesRequest

func (d *OutpostsDouble) ListSitesRequest(i0 *outposts.ListSitesInput) (r0 *request.Request, r1 *outposts.ListSitesOutput)

func (*OutpostsDouble) ListSitesWithContext

func (d *OutpostsDouble) ListSitesWithContext(i0 context.Context, i1 *outposts.ListSitesInput, i2 ...request.Option) (r0 *outposts.ListSitesOutput, r1 error)

Jump to

Keyboard shortcuts

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