cloudhsmv2double

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 cloudhsmv2double contains test double implementation of cloudhsmv2iface.CloudHSMV2API

Package cloudhsmv2double provides a TestDouble implementation of cloudhsmv2iface.CloudHSMV2API

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 CloudHSMV2Double

type CloudHSMV2Double struct {
	cloudhsmv2iface.CloudHSMV2API
	*awsdouble.AWSTestDouble
}

CloudHSMV2Double is TestDouble for cloudhsmv2iface.CloudHSMV2API

func NewDouble

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

Constructor for CloudHSMV2Double 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 (*CloudHSMV2Double) CopyBackupToRegion

func (*CloudHSMV2Double) CopyBackupToRegionRequest

func (*CloudHSMV2Double) CopyBackupToRegionWithContext

func (d *CloudHSMV2Double) CopyBackupToRegionWithContext(i0 context.Context, i1 *cloudhsmv2.CopyBackupToRegionInput, i2 ...request.Option) (r0 *cloudhsmv2.CopyBackupToRegionOutput, r1 error)

func (*CloudHSMV2Double) CreateCluster

func (*CloudHSMV2Double) CreateClusterRequest

func (*CloudHSMV2Double) CreateClusterWithContext

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

func (*CloudHSMV2Double) CreateHsm

func (*CloudHSMV2Double) CreateHsmRequest

func (*CloudHSMV2Double) CreateHsmWithContext

func (d *CloudHSMV2Double) CreateHsmWithContext(i0 context.Context, i1 *cloudhsmv2.CreateHsmInput, i2 ...request.Option) (r0 *cloudhsmv2.CreateHsmOutput, r1 error)

func (*CloudHSMV2Double) DeleteBackup

func (*CloudHSMV2Double) DeleteBackupRequest

func (*CloudHSMV2Double) DeleteBackupWithContext

func (d *CloudHSMV2Double) DeleteBackupWithContext(i0 context.Context, i1 *cloudhsmv2.DeleteBackupInput, i2 ...request.Option) (r0 *cloudhsmv2.DeleteBackupOutput, r1 error)

func (*CloudHSMV2Double) DeleteCluster

func (*CloudHSMV2Double) DeleteClusterRequest

func (*CloudHSMV2Double) DeleteClusterWithContext

func (d *CloudHSMV2Double) DeleteClusterWithContext(i0 context.Context, i1 *cloudhsmv2.DeleteClusterInput, i2 ...request.Option) (r0 *cloudhsmv2.DeleteClusterOutput, r1 error)

func (*CloudHSMV2Double) DeleteHsm

func (*CloudHSMV2Double) DeleteHsmRequest

func (*CloudHSMV2Double) DeleteHsmWithContext

func (d *CloudHSMV2Double) DeleteHsmWithContext(i0 context.Context, i1 *cloudhsmv2.DeleteHsmInput, i2 ...request.Option) (r0 *cloudhsmv2.DeleteHsmOutput, r1 error)

func (*CloudHSMV2Double) DescribeBackups

func (*CloudHSMV2Double) DescribeBackupsPages

func (d *CloudHSMV2Double) DescribeBackupsPages(i0 *cloudhsmv2.DescribeBackupsInput, i1 func(*cloudhsmv2.DescribeBackupsOutput, bool) bool) (r0 error)

func (*CloudHSMV2Double) DescribeBackupsPagesWithContext

func (d *CloudHSMV2Double) DescribeBackupsPagesWithContext(i0 context.Context, i1 *cloudhsmv2.DescribeBackupsInput, i2 func(*cloudhsmv2.DescribeBackupsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudHSMV2Double) DescribeBackupsRequest

func (*CloudHSMV2Double) DescribeBackupsWithContext

func (d *CloudHSMV2Double) DescribeBackupsWithContext(i0 context.Context, i1 *cloudhsmv2.DescribeBackupsInput, i2 ...request.Option) (r0 *cloudhsmv2.DescribeBackupsOutput, r1 error)

func (*CloudHSMV2Double) DescribeClusters

func (*CloudHSMV2Double) DescribeClustersPages

func (d *CloudHSMV2Double) DescribeClustersPages(i0 *cloudhsmv2.DescribeClustersInput, i1 func(*cloudhsmv2.DescribeClustersOutput, bool) bool) (r0 error)

func (*CloudHSMV2Double) DescribeClustersPagesWithContext

func (d *CloudHSMV2Double) DescribeClustersPagesWithContext(i0 context.Context, i1 *cloudhsmv2.DescribeClustersInput, i2 func(*cloudhsmv2.DescribeClustersOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudHSMV2Double) DescribeClustersRequest

func (*CloudHSMV2Double) DescribeClustersWithContext

func (d *CloudHSMV2Double) DescribeClustersWithContext(i0 context.Context, i1 *cloudhsmv2.DescribeClustersInput, i2 ...request.Option) (r0 *cloudhsmv2.DescribeClustersOutput, r1 error)

func (*CloudHSMV2Double) InitializeCluster

func (*CloudHSMV2Double) InitializeClusterRequest

func (*CloudHSMV2Double) InitializeClusterWithContext

func (d *CloudHSMV2Double) InitializeClusterWithContext(i0 context.Context, i1 *cloudhsmv2.InitializeClusterInput, i2 ...request.Option) (r0 *cloudhsmv2.InitializeClusterOutput, r1 error)

func (*CloudHSMV2Double) ListTags

func (*CloudHSMV2Double) ListTagsPages

func (d *CloudHSMV2Double) ListTagsPages(i0 *cloudhsmv2.ListTagsInput, i1 func(*cloudhsmv2.ListTagsOutput, bool) bool) (r0 error)

func (*CloudHSMV2Double) ListTagsPagesWithContext

func (d *CloudHSMV2Double) ListTagsPagesWithContext(i0 context.Context, i1 *cloudhsmv2.ListTagsInput, i2 func(*cloudhsmv2.ListTagsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*CloudHSMV2Double) ListTagsRequest

func (*CloudHSMV2Double) ListTagsWithContext

func (d *CloudHSMV2Double) ListTagsWithContext(i0 context.Context, i1 *cloudhsmv2.ListTagsInput, i2 ...request.Option) (r0 *cloudhsmv2.ListTagsOutput, r1 error)

func (*CloudHSMV2Double) RestoreBackup

func (*CloudHSMV2Double) RestoreBackupRequest

func (*CloudHSMV2Double) RestoreBackupWithContext

func (d *CloudHSMV2Double) RestoreBackupWithContext(i0 context.Context, i1 *cloudhsmv2.RestoreBackupInput, i2 ...request.Option) (r0 *cloudhsmv2.RestoreBackupOutput, r1 error)

func (*CloudHSMV2Double) TagResource

func (*CloudHSMV2Double) TagResourceRequest

func (*CloudHSMV2Double) TagResourceWithContext

func (d *CloudHSMV2Double) TagResourceWithContext(i0 context.Context, i1 *cloudhsmv2.TagResourceInput, i2 ...request.Option) (r0 *cloudhsmv2.TagResourceOutput, r1 error)

func (*CloudHSMV2Double) UntagResource

func (*CloudHSMV2Double) UntagResourceRequest

func (*CloudHSMV2Double) UntagResourceWithContext

func (d *CloudHSMV2Double) UntagResourceWithContext(i0 context.Context, i1 *cloudhsmv2.UntagResourceInput, i2 ...request.Option) (r0 *cloudhsmv2.UntagResourceOutput, r1 error)

Jump to

Keyboard shortcuts

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