mocks

package
v0.1.0-0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) CreateCluster

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

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

func (*IClient) CreateMultiRegionClusters

func (_m *IClient) CreateMultiRegionClusters(ctx context.Context, params *dsql.CreateMultiRegionClustersInput, optFns ...func(*dsql.Options)) (*dsql.CreateMultiRegionClustersOutput, error)

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

func (*IClient) DeleteCluster

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

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

func (*IClient) DeleteMultiRegionClusters

func (_m *IClient) DeleteMultiRegionClusters(ctx context.Context, params *dsql.DeleteMultiRegionClustersInput, optFns ...func(*dsql.Options)) (*dsql.DeleteMultiRegionClustersOutput, error)

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

func (*IClient) GetCluster

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

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

func (*IClient) ListClusters

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

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *dsql.ListTagsForResourceInput, optFns ...func(*dsql.Options)) (*dsql.ListTagsForResourceOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateCluster

func (_m *IClient) UpdateCluster(ctx context.Context, params *dsql.UpdateClusterInput, optFns ...func(*dsql.Options)) (*dsql.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