ebsdouble

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 ebsdouble contains test double implementation of ebsiface.EBSAPI

Package ebsdouble provides a TestDouble implementation of ebsiface.EBSAPI

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 EBSDouble

type EBSDouble struct {
	ebsiface.EBSAPI
	*awsdouble.AWSTestDouble
}

EBSDouble is TestDouble for ebsiface.EBSAPI

func NewDouble

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

Constructor for EBSDouble 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 (*EBSDouble) GetSnapshotBlock

func (d *EBSDouble) GetSnapshotBlock(i0 *ebs.GetSnapshotBlockInput) (r0 *ebs.GetSnapshotBlockOutput, r1 error)

func (*EBSDouble) GetSnapshotBlockRequest

func (d *EBSDouble) GetSnapshotBlockRequest(i0 *ebs.GetSnapshotBlockInput) (r0 *request.Request, r1 *ebs.GetSnapshotBlockOutput)

func (*EBSDouble) GetSnapshotBlockWithContext

func (d *EBSDouble) GetSnapshotBlockWithContext(i0 context.Context, i1 *ebs.GetSnapshotBlockInput, i2 ...request.Option) (r0 *ebs.GetSnapshotBlockOutput, r1 error)

func (*EBSDouble) ListChangedBlocks

func (d *EBSDouble) ListChangedBlocks(i0 *ebs.ListChangedBlocksInput) (r0 *ebs.ListChangedBlocksOutput, r1 error)

func (*EBSDouble) ListChangedBlocksPages

func (d *EBSDouble) ListChangedBlocksPages(i0 *ebs.ListChangedBlocksInput, i1 func(*ebs.ListChangedBlocksOutput, bool) bool) (r0 error)

func (*EBSDouble) ListChangedBlocksPagesWithContext

func (d *EBSDouble) ListChangedBlocksPagesWithContext(i0 context.Context, i1 *ebs.ListChangedBlocksInput, i2 func(*ebs.ListChangedBlocksOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*EBSDouble) ListChangedBlocksRequest

func (d *EBSDouble) ListChangedBlocksRequest(i0 *ebs.ListChangedBlocksInput) (r0 *request.Request, r1 *ebs.ListChangedBlocksOutput)

func (*EBSDouble) ListChangedBlocksWithContext

func (d *EBSDouble) ListChangedBlocksWithContext(i0 context.Context, i1 *ebs.ListChangedBlocksInput, i2 ...request.Option) (r0 *ebs.ListChangedBlocksOutput, r1 error)

func (*EBSDouble) ListSnapshotBlocks

func (d *EBSDouble) ListSnapshotBlocks(i0 *ebs.ListSnapshotBlocksInput) (r0 *ebs.ListSnapshotBlocksOutput, r1 error)

func (*EBSDouble) ListSnapshotBlocksPages

func (d *EBSDouble) ListSnapshotBlocksPages(i0 *ebs.ListSnapshotBlocksInput, i1 func(*ebs.ListSnapshotBlocksOutput, bool) bool) (r0 error)

func (*EBSDouble) ListSnapshotBlocksPagesWithContext

func (d *EBSDouble) ListSnapshotBlocksPagesWithContext(i0 context.Context, i1 *ebs.ListSnapshotBlocksInput, i2 func(*ebs.ListSnapshotBlocksOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*EBSDouble) ListSnapshotBlocksRequest

func (d *EBSDouble) ListSnapshotBlocksRequest(i0 *ebs.ListSnapshotBlocksInput) (r0 *request.Request, r1 *ebs.ListSnapshotBlocksOutput)

func (*EBSDouble) ListSnapshotBlocksWithContext

func (d *EBSDouble) ListSnapshotBlocksWithContext(i0 context.Context, i1 *ebs.ListSnapshotBlocksInput, i2 ...request.Option) (r0 *ebs.ListSnapshotBlocksOutput, r1 error)

Jump to

Keyboard shortcuts

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