mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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) CopyClusterSnapshot

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

func (*IClient) CreateCluster

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

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

func (*IClient) CreateClusterSnapshot

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

func (*IClient) DeleteCluster

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

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

func (*IClient) DeleteClusterSnapshot

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

func (*IClient) GetCluster

func (_m *IClient) GetCluster(ctx context.Context, params *docdbelastic.GetClusterInput, optFns ...func(*docdbelastic.Options)) (*docdbelastic.GetClusterOutput, error)

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

func (*IClient) GetClusterSnapshot

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

func (*IClient) ListClusterSnapshots

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

func (*IClient) ListClusters

func (_m *IClient) ListClusters(ctx context.Context, params *docdbelastic.ListClustersInput, optFns ...func(*docdbelastic.Options)) (*docdbelastic.ListClustersOutput, error)

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

func (*IClient) ListTagsForResource

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RestoreClusterFromSnapshot

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

func (*IClient) StartCluster

func (_m *IClient) StartCluster(ctx context.Context, params *docdbelastic.StartClusterInput, optFns ...func(*docdbelastic.Options)) (*docdbelastic.StartClusterOutput, error)

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

func (*IClient) StopCluster

func (_m *IClient) StopCluster(ctx context.Context, params *docdbelastic.StopClusterInput, optFns ...func(*docdbelastic.Options)) (*docdbelastic.StopClusterOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateCluster

func (_m *IClient) UpdateCluster(ctx context.Context, params *docdbelastic.UpdateClusterInput, optFns ...func(*docdbelastic.Options)) (*docdbelastic.UpdateClusterOutput, error)

UpdateCluster 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