snowballdouble

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 snowballdouble contains test double implementation of snowballiface.SnowballAPI

Package snowballdouble provides a TestDouble implementation of snowballiface.SnowballAPI

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 SnowballDouble

type SnowballDouble struct {
	snowballiface.SnowballAPI
	*awsdouble.AWSTestDouble
}

SnowballDouble is TestDouble for snowballiface.SnowballAPI

func NewDouble

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

Constructor for SnowballDouble 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 (*SnowballDouble) CancelCluster

func (*SnowballDouble) CancelClusterRequest

func (d *SnowballDouble) CancelClusterRequest(i0 *snowball.CancelClusterInput) (r0 *request.Request, r1 *snowball.CancelClusterOutput)

func (*SnowballDouble) CancelClusterWithContext

func (d *SnowballDouble) CancelClusterWithContext(i0 context.Context, i1 *snowball.CancelClusterInput, i2 ...request.Option) (r0 *snowball.CancelClusterOutput, r1 error)

func (*SnowballDouble) CancelJob

func (*SnowballDouble) CancelJobRequest

func (d *SnowballDouble) CancelJobRequest(i0 *snowball.CancelJobInput) (r0 *request.Request, r1 *snowball.CancelJobOutput)

func (*SnowballDouble) CancelJobWithContext

func (d *SnowballDouble) CancelJobWithContext(i0 context.Context, i1 *snowball.CancelJobInput, i2 ...request.Option) (r0 *snowball.CancelJobOutput, r1 error)

func (*SnowballDouble) CreateAddress

func (*SnowballDouble) CreateAddressRequest

func (d *SnowballDouble) CreateAddressRequest(i0 *snowball.CreateAddressInput) (r0 *request.Request, r1 *snowball.CreateAddressOutput)

func (*SnowballDouble) CreateAddressWithContext

func (d *SnowballDouble) CreateAddressWithContext(i0 context.Context, i1 *snowball.CreateAddressInput, i2 ...request.Option) (r0 *snowball.CreateAddressOutput, r1 error)

func (*SnowballDouble) CreateCluster

func (*SnowballDouble) CreateClusterRequest

func (d *SnowballDouble) CreateClusterRequest(i0 *snowball.CreateClusterInput) (r0 *request.Request, r1 *snowball.CreateClusterOutput)

func (*SnowballDouble) CreateClusterWithContext

func (d *SnowballDouble) CreateClusterWithContext(i0 context.Context, i1 *snowball.CreateClusterInput, i2 ...request.Option) (r0 *snowball.CreateClusterOutput, r1 error)

func (*SnowballDouble) CreateJob

func (*SnowballDouble) CreateJobRequest

func (d *SnowballDouble) CreateJobRequest(i0 *snowball.CreateJobInput) (r0 *request.Request, r1 *snowball.CreateJobOutput)

func (*SnowballDouble) CreateJobWithContext

func (d *SnowballDouble) CreateJobWithContext(i0 context.Context, i1 *snowball.CreateJobInput, i2 ...request.Option) (r0 *snowball.CreateJobOutput, r1 error)

func (*SnowballDouble) DescribeAddress

func (*SnowballDouble) DescribeAddressRequest

func (d *SnowballDouble) DescribeAddressRequest(i0 *snowball.DescribeAddressInput) (r0 *request.Request, r1 *snowball.DescribeAddressOutput)

func (*SnowballDouble) DescribeAddressWithContext

func (d *SnowballDouble) DescribeAddressWithContext(i0 context.Context, i1 *snowball.DescribeAddressInput, i2 ...request.Option) (r0 *snowball.DescribeAddressOutput, r1 error)

func (*SnowballDouble) DescribeAddresses

func (*SnowballDouble) DescribeAddressesPages

func (d *SnowballDouble) DescribeAddressesPages(i0 *snowball.DescribeAddressesInput, i1 func(*snowball.DescribeAddressesOutput, bool) bool) (r0 error)

func (*SnowballDouble) DescribeAddressesPagesWithContext

func (d *SnowballDouble) DescribeAddressesPagesWithContext(i0 context.Context, i1 *snowball.DescribeAddressesInput, i2 func(*snowball.DescribeAddressesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SnowballDouble) DescribeAddressesRequest

func (*SnowballDouble) DescribeAddressesWithContext

func (d *SnowballDouble) DescribeAddressesWithContext(i0 context.Context, i1 *snowball.DescribeAddressesInput, i2 ...request.Option) (r0 *snowball.DescribeAddressesOutput, r1 error)

func (*SnowballDouble) DescribeCluster

func (*SnowballDouble) DescribeClusterRequest

func (d *SnowballDouble) DescribeClusterRequest(i0 *snowball.DescribeClusterInput) (r0 *request.Request, r1 *snowball.DescribeClusterOutput)

func (*SnowballDouble) DescribeClusterWithContext

func (d *SnowballDouble) DescribeClusterWithContext(i0 context.Context, i1 *snowball.DescribeClusterInput, i2 ...request.Option) (r0 *snowball.DescribeClusterOutput, r1 error)

func (*SnowballDouble) DescribeJob

func (*SnowballDouble) DescribeJobRequest

func (d *SnowballDouble) DescribeJobRequest(i0 *snowball.DescribeJobInput) (r0 *request.Request, r1 *snowball.DescribeJobOutput)

func (*SnowballDouble) DescribeJobWithContext

func (d *SnowballDouble) DescribeJobWithContext(i0 context.Context, i1 *snowball.DescribeJobInput, i2 ...request.Option) (r0 *snowball.DescribeJobOutput, r1 error)

func (*SnowballDouble) GetJobManifest

func (*SnowballDouble) GetJobManifestRequest

func (d *SnowballDouble) GetJobManifestRequest(i0 *snowball.GetJobManifestInput) (r0 *request.Request, r1 *snowball.GetJobManifestOutput)

func (*SnowballDouble) GetJobManifestWithContext

func (d *SnowballDouble) GetJobManifestWithContext(i0 context.Context, i1 *snowball.GetJobManifestInput, i2 ...request.Option) (r0 *snowball.GetJobManifestOutput, r1 error)

func (*SnowballDouble) GetJobUnlockCode

func (*SnowballDouble) GetJobUnlockCodeRequest

func (d *SnowballDouble) GetJobUnlockCodeRequest(i0 *snowball.GetJobUnlockCodeInput) (r0 *request.Request, r1 *snowball.GetJobUnlockCodeOutput)

func (*SnowballDouble) GetJobUnlockCodeWithContext

func (d *SnowballDouble) GetJobUnlockCodeWithContext(i0 context.Context, i1 *snowball.GetJobUnlockCodeInput, i2 ...request.Option) (r0 *snowball.GetJobUnlockCodeOutput, r1 error)

func (*SnowballDouble) GetSnowballUsage

func (*SnowballDouble) GetSnowballUsageRequest

func (d *SnowballDouble) GetSnowballUsageRequest(i0 *snowball.GetSnowballUsageInput) (r0 *request.Request, r1 *snowball.GetSnowballUsageOutput)

func (*SnowballDouble) GetSnowballUsageWithContext

func (d *SnowballDouble) GetSnowballUsageWithContext(i0 context.Context, i1 *snowball.GetSnowballUsageInput, i2 ...request.Option) (r0 *snowball.GetSnowballUsageOutput, r1 error)

func (*SnowballDouble) GetSoftwareUpdates

func (*SnowballDouble) GetSoftwareUpdatesRequest

func (*SnowballDouble) GetSoftwareUpdatesWithContext

func (d *SnowballDouble) GetSoftwareUpdatesWithContext(i0 context.Context, i1 *snowball.GetSoftwareUpdatesInput, i2 ...request.Option) (r0 *snowball.GetSoftwareUpdatesOutput, r1 error)

func (*SnowballDouble) ListClusterJobs

func (*SnowballDouble) ListClusterJobsRequest

func (d *SnowballDouble) ListClusterJobsRequest(i0 *snowball.ListClusterJobsInput) (r0 *request.Request, r1 *snowball.ListClusterJobsOutput)

func (*SnowballDouble) ListClusterJobsWithContext

func (d *SnowballDouble) ListClusterJobsWithContext(i0 context.Context, i1 *snowball.ListClusterJobsInput, i2 ...request.Option) (r0 *snowball.ListClusterJobsOutput, r1 error)

func (*SnowballDouble) ListClusters

func (*SnowballDouble) ListClustersRequest

func (d *SnowballDouble) ListClustersRequest(i0 *snowball.ListClustersInput) (r0 *request.Request, r1 *snowball.ListClustersOutput)

func (*SnowballDouble) ListClustersWithContext

func (d *SnowballDouble) ListClustersWithContext(i0 context.Context, i1 *snowball.ListClustersInput, i2 ...request.Option) (r0 *snowball.ListClustersOutput, r1 error)

func (*SnowballDouble) ListCompatibleImages

func (*SnowballDouble) ListCompatibleImagesRequest

func (*SnowballDouble) ListCompatibleImagesWithContext

func (d *SnowballDouble) ListCompatibleImagesWithContext(i0 context.Context, i1 *snowball.ListCompatibleImagesInput, i2 ...request.Option) (r0 *snowball.ListCompatibleImagesOutput, r1 error)

func (*SnowballDouble) ListJobs

func (*SnowballDouble) ListJobsPages

func (d *SnowballDouble) ListJobsPages(i0 *snowball.ListJobsInput, i1 func(*snowball.ListJobsOutput, bool) bool) (r0 error)

func (*SnowballDouble) ListJobsPagesWithContext

func (d *SnowballDouble) ListJobsPagesWithContext(i0 context.Context, i1 *snowball.ListJobsInput, i2 func(*snowball.ListJobsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*SnowballDouble) ListJobsRequest

func (d *SnowballDouble) ListJobsRequest(i0 *snowball.ListJobsInput) (r0 *request.Request, r1 *snowball.ListJobsOutput)

func (*SnowballDouble) ListJobsWithContext

func (d *SnowballDouble) ListJobsWithContext(i0 context.Context, i1 *snowball.ListJobsInput, i2 ...request.Option) (r0 *snowball.ListJobsOutput, r1 error)

func (*SnowballDouble) UpdateCluster

func (*SnowballDouble) UpdateClusterRequest

func (d *SnowballDouble) UpdateClusterRequest(i0 *snowball.UpdateClusterInput) (r0 *request.Request, r1 *snowball.UpdateClusterOutput)

func (*SnowballDouble) UpdateClusterWithContext

func (d *SnowballDouble) UpdateClusterWithContext(i0 context.Context, i1 *snowball.UpdateClusterInput, i2 ...request.Option) (r0 *snowball.UpdateClusterOutput, r1 error)

func (*SnowballDouble) UpdateJob

func (*SnowballDouble) UpdateJobRequest

func (d *SnowballDouble) UpdateJobRequest(i0 *snowball.UpdateJobInput) (r0 *request.Request, r1 *snowball.UpdateJobOutput)

func (*SnowballDouble) UpdateJobWithContext

func (d *SnowballDouble) UpdateJobWithContext(i0 context.Context, i1 *snowball.UpdateJobInput, i2 ...request.Option) (r0 *snowball.UpdateJobOutput, r1 error)

Jump to

Keyboard shortcuts

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