mocks

package
v0.0.5 Latest Latest
Warning

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

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

func (_m *IClient) BatchUpdateCluster(ctx context.Context, params *memorydb.BatchUpdateClusterInput, optFns ...func(*memorydb.Options)) (*memorydb.BatchUpdateClusterOutput, error)

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

func (*IClient) CopySnapshot

func (_m *IClient) CopySnapshot(ctx context.Context, params *memorydb.CopySnapshotInput, optFns ...func(*memorydb.Options)) (*memorydb.CopySnapshotOutput, error)

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

func (*IClient) CreateACL

func (_m *IClient) CreateACL(ctx context.Context, params *memorydb.CreateACLInput, optFns ...func(*memorydb.Options)) (*memorydb.CreateACLOutput, error)

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

func (*IClient) CreateCluster

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

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

func (*IClient) CreateParameterGroup

func (_m *IClient) CreateParameterGroup(ctx context.Context, params *memorydb.CreateParameterGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.CreateParameterGroupOutput, error)

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

func (*IClient) CreateSnapshot

func (_m *IClient) CreateSnapshot(ctx context.Context, params *memorydb.CreateSnapshotInput, optFns ...func(*memorydb.Options)) (*memorydb.CreateSnapshotOutput, error)

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

func (*IClient) CreateSubnetGroup

func (_m *IClient) CreateSubnetGroup(ctx context.Context, params *memorydb.CreateSubnetGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.CreateSubnetGroupOutput, error)

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

func (*IClient) CreateUser

func (_m *IClient) CreateUser(ctx context.Context, params *memorydb.CreateUserInput, optFns ...func(*memorydb.Options)) (*memorydb.CreateUserOutput, error)

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

func (*IClient) DeleteACL

func (_m *IClient) DeleteACL(ctx context.Context, params *memorydb.DeleteACLInput, optFns ...func(*memorydb.Options)) (*memorydb.DeleteACLOutput, error)

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

func (*IClient) DeleteCluster

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

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

func (*IClient) DeleteParameterGroup

func (_m *IClient) DeleteParameterGroup(ctx context.Context, params *memorydb.DeleteParameterGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.DeleteParameterGroupOutput, error)

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

func (*IClient) DeleteSnapshot

func (_m *IClient) DeleteSnapshot(ctx context.Context, params *memorydb.DeleteSnapshotInput, optFns ...func(*memorydb.Options)) (*memorydb.DeleteSnapshotOutput, error)

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

func (*IClient) DeleteSubnetGroup

func (_m *IClient) DeleteSubnetGroup(ctx context.Context, params *memorydb.DeleteSubnetGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.DeleteSubnetGroupOutput, error)

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

func (*IClient) DeleteUser

func (_m *IClient) DeleteUser(ctx context.Context, params *memorydb.DeleteUserInput, optFns ...func(*memorydb.Options)) (*memorydb.DeleteUserOutput, error)

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

func (*IClient) DescribeACLs

func (_m *IClient) DescribeACLs(ctx context.Context, params *memorydb.DescribeACLsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeACLsOutput, error)

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

func (*IClient) DescribeClusters

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

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

func (*IClient) DescribeEngineVersions

func (_m *IClient) DescribeEngineVersions(ctx context.Context, params *memorydb.DescribeEngineVersionsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeEngineVersionsOutput, error)

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

func (*IClient) DescribeEvents

func (_m *IClient) DescribeEvents(ctx context.Context, params *memorydb.DescribeEventsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeEventsOutput, error)

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

func (*IClient) DescribeParameterGroups

func (_m *IClient) DescribeParameterGroups(ctx context.Context, params *memorydb.DescribeParameterGroupsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeParameterGroupsOutput, error)

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

func (*IClient) DescribeParameters

func (_m *IClient) DescribeParameters(ctx context.Context, params *memorydb.DescribeParametersInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeParametersOutput, error)

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

func (*IClient) DescribeReservedNodes

func (_m *IClient) DescribeReservedNodes(ctx context.Context, params *memorydb.DescribeReservedNodesInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeReservedNodesOutput, error)

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

func (*IClient) DescribeReservedNodesOfferings

func (_m *IClient) DescribeReservedNodesOfferings(ctx context.Context, params *memorydb.DescribeReservedNodesOfferingsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeReservedNodesOfferingsOutput, error)

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

func (*IClient) DescribeServiceUpdates

func (_m *IClient) DescribeServiceUpdates(ctx context.Context, params *memorydb.DescribeServiceUpdatesInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeServiceUpdatesOutput, error)

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

func (*IClient) DescribeSnapshots

func (_m *IClient) DescribeSnapshots(ctx context.Context, params *memorydb.DescribeSnapshotsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeSnapshotsOutput, error)

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

func (*IClient) DescribeSubnetGroups

func (_m *IClient) DescribeSubnetGroups(ctx context.Context, params *memorydb.DescribeSubnetGroupsInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeSubnetGroupsOutput, error)

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

func (*IClient) DescribeUsers

func (_m *IClient) DescribeUsers(ctx context.Context, params *memorydb.DescribeUsersInput, optFns ...func(*memorydb.Options)) (*memorydb.DescribeUsersOutput, error)

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

func (*IClient) FailoverShard

func (_m *IClient) FailoverShard(ctx context.Context, params *memorydb.FailoverShardInput, optFns ...func(*memorydb.Options)) (*memorydb.FailoverShardOutput, error)

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

func (*IClient) ListAllowedNodeTypeUpdates

func (_m *IClient) ListAllowedNodeTypeUpdates(ctx context.Context, params *memorydb.ListAllowedNodeTypeUpdatesInput, optFns ...func(*memorydb.Options)) (*memorydb.ListAllowedNodeTypeUpdatesOutput, error)

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

func (*IClient) ListTags

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PurchaseReservedNodesOffering

func (_m *IClient) PurchaseReservedNodesOffering(ctx context.Context, params *memorydb.PurchaseReservedNodesOfferingInput, optFns ...func(*memorydb.Options)) (*memorydb.PurchaseReservedNodesOfferingOutput, error)

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

func (*IClient) ResetParameterGroup

func (_m *IClient) ResetParameterGroup(ctx context.Context, params *memorydb.ResetParameterGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.ResetParameterGroupOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateACL

func (_m *IClient) UpdateACL(ctx context.Context, params *memorydb.UpdateACLInput, optFns ...func(*memorydb.Options)) (*memorydb.UpdateACLOutput, error)

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

func (*IClient) UpdateCluster

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

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

func (*IClient) UpdateParameterGroup

func (_m *IClient) UpdateParameterGroup(ctx context.Context, params *memorydb.UpdateParameterGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.UpdateParameterGroupOutput, error)

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

func (*IClient) UpdateSubnetGroup

func (_m *IClient) UpdateSubnetGroup(ctx context.Context, params *memorydb.UpdateSubnetGroupInput, optFns ...func(*memorydb.Options)) (*memorydb.UpdateSubnetGroupOutput, error)

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

func (*IClient) UpdateUser

func (_m *IClient) UpdateUser(ctx context.Context, params *memorydb.UpdateUserInput, optFns ...func(*memorydb.Options)) (*memorydb.UpdateUserOutput, error)

UpdateUser 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