Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) CopyBackupToRegion(ctx context.Context, params *cloudhsmv2.CopyBackupToRegionInput, ...) (*cloudhsmv2.CopyBackupToRegionOutput, error)
- func (_m *IClient) CreateCluster(ctx context.Context, params *cloudhsmv2.CreateClusterInput, ...) (*cloudhsmv2.CreateClusterOutput, error)
- func (_m *IClient) CreateHsm(ctx context.Context, params *cloudhsmv2.CreateHsmInput, ...) (*cloudhsmv2.CreateHsmOutput, error)
- func (_m *IClient) DeleteBackup(ctx context.Context, params *cloudhsmv2.DeleteBackupInput, ...) (*cloudhsmv2.DeleteBackupOutput, error)
- func (_m *IClient) DeleteCluster(ctx context.Context, params *cloudhsmv2.DeleteClusterInput, ...) (*cloudhsmv2.DeleteClusterOutput, error)
- func (_m *IClient) DeleteHsm(ctx context.Context, params *cloudhsmv2.DeleteHsmInput, ...) (*cloudhsmv2.DeleteHsmOutput, error)
- func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *cloudhsmv2.DeleteResourcePolicyInput, ...) (*cloudhsmv2.DeleteResourcePolicyOutput, error)
- func (_m *IClient) DescribeBackups(ctx context.Context, params *cloudhsmv2.DescribeBackupsInput, ...) (*cloudhsmv2.DescribeBackupsOutput, error)
- func (_m *IClient) DescribeClusters(ctx context.Context, params *cloudhsmv2.DescribeClustersInput, ...) (*cloudhsmv2.DescribeClustersOutput, error)
- func (_m *IClient) GetResourcePolicy(ctx context.Context, params *cloudhsmv2.GetResourcePolicyInput, ...) (*cloudhsmv2.GetResourcePolicyOutput, error)
- func (_m *IClient) InitializeCluster(ctx context.Context, params *cloudhsmv2.InitializeClusterInput, ...) (*cloudhsmv2.InitializeClusterOutput, error)
- func (_m *IClient) ListTags(ctx context.Context, params *cloudhsmv2.ListTagsInput, ...) (*cloudhsmv2.ListTagsOutput, error)
- func (_m *IClient) ModifyBackupAttributes(ctx context.Context, params *cloudhsmv2.ModifyBackupAttributesInput, ...) (*cloudhsmv2.ModifyBackupAttributesOutput, error)
- func (_m *IClient) ModifyCluster(ctx context.Context, params *cloudhsmv2.ModifyClusterInput, ...) (*cloudhsmv2.ModifyClusterOutput, error)
- func (_m *IClient) Options() cloudhsmv2.Options
- func (_m *IClient) PutResourcePolicy(ctx context.Context, params *cloudhsmv2.PutResourcePolicyInput, ...) (*cloudhsmv2.PutResourcePolicyOutput, error)
- func (_m *IClient) RestoreBackup(ctx context.Context, params *cloudhsmv2.RestoreBackupInput, ...) (*cloudhsmv2.RestoreBackupOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *cloudhsmv2.TagResourceInput, ...) (*cloudhsmv2.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *cloudhsmv2.UntagResourceInput, ...) (*cloudhsmv2.UntagResourceOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
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