mocks

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CopyBackupToRegion

func (_m *IClient) CopyBackupToRegion(ctx context.Context, params *cloudhsmv2.CopyBackupToRegionInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.CopyBackupToRegionOutput, error)

CopyBackupToRegion provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateCluster

func (_m *IClient) CreateCluster(ctx context.Context, params *cloudhsmv2.CreateClusterInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.CreateClusterOutput, error)

CreateCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateHsm

func (_m *IClient) CreateHsm(ctx context.Context, params *cloudhsmv2.CreateHsmInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.CreateHsmOutput, error)

CreateHsm provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteBackup

func (_m *IClient) DeleteBackup(ctx context.Context, params *cloudhsmv2.DeleteBackupInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DeleteBackupOutput, error)

DeleteBackup provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteCluster

func (_m *IClient) DeleteCluster(ctx context.Context, params *cloudhsmv2.DeleteClusterInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DeleteClusterOutput, error)

DeleteCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteHsm

func (_m *IClient) DeleteHsm(ctx context.Context, params *cloudhsmv2.DeleteHsmInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DeleteHsmOutput, error)

DeleteHsm provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteResourcePolicy

func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *cloudhsmv2.DeleteResourcePolicyInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DeleteResourcePolicyOutput, error)

DeleteResourcePolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeBackups

func (_m *IClient) DescribeBackups(ctx context.Context, params *cloudhsmv2.DescribeBackupsInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DescribeBackupsOutput, error)

DescribeBackups provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeClusters

func (_m *IClient) DescribeClusters(ctx context.Context, params *cloudhsmv2.DescribeClustersInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.DescribeClustersOutput, error)

DescribeClusters provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetResourcePolicy

func (_m *IClient) GetResourcePolicy(ctx context.Context, params *cloudhsmv2.GetResourcePolicyInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.GetResourcePolicyOutput, error)

GetResourcePolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) InitializeCluster

func (_m *IClient) InitializeCluster(ctx context.Context, params *cloudhsmv2.InitializeClusterInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.InitializeClusterOutput, error)

InitializeCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTags

func (_m *IClient) ListTags(ctx context.Context, params *cloudhsmv2.ListTagsInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.ListTagsOutput, error)

ListTags provides a mock function with given fields: ctx, params, optFns

func (*IClient) ModifyBackupAttributes

func (_m *IClient) ModifyBackupAttributes(ctx context.Context, params *cloudhsmv2.ModifyBackupAttributesInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.ModifyBackupAttributesOutput, error)

ModifyBackupAttributes provides a mock function with given fields: ctx, params, optFns

func (*IClient) ModifyCluster

func (_m *IClient) ModifyCluster(ctx context.Context, params *cloudhsmv2.ModifyClusterInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.ModifyClusterOutput, error)

ModifyCluster provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() cloudhsmv2.Options

Options provides a mock function with given fields:

func (*IClient) PutResourcePolicy

func (_m *IClient) PutResourcePolicy(ctx context.Context, params *cloudhsmv2.PutResourcePolicyInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.PutResourcePolicyOutput, error)

PutResourcePolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) RestoreBackup

func (_m *IClient) RestoreBackup(ctx context.Context, params *cloudhsmv2.RestoreBackupInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.RestoreBackupOutput, error)

RestoreBackup provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *cloudhsmv2.TagResourceInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *cloudhsmv2.UntagResourceInput, optFns ...func(*cloudhsmv2.Options)) (*cloudhsmv2.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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