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) AddTagsToResource

func (_m *IClient) AddTagsToResource(ctx context.Context, params *elasticache.AddTagsToResourceInput, optFns ...func(*elasticache.Options)) (*elasticache.AddTagsToResourceOutput, error)

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

func (*IClient) AuthorizeCacheSecurityGroupIngress

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

func (*IClient) BatchApplyUpdateAction

func (_m *IClient) BatchApplyUpdateAction(ctx context.Context, params *elasticache.BatchApplyUpdateActionInput, optFns ...func(*elasticache.Options)) (*elasticache.BatchApplyUpdateActionOutput, error)

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

func (*IClient) BatchStopUpdateAction

func (_m *IClient) BatchStopUpdateAction(ctx context.Context, params *elasticache.BatchStopUpdateActionInput, optFns ...func(*elasticache.Options)) (*elasticache.BatchStopUpdateActionOutput, error)

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

func (*IClient) CompleteMigration

func (_m *IClient) CompleteMigration(ctx context.Context, params *elasticache.CompleteMigrationInput, optFns ...func(*elasticache.Options)) (*elasticache.CompleteMigrationOutput, error)

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

func (*IClient) CopyServerlessCacheSnapshot

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

func (*IClient) CopySnapshot

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

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

func (*IClient) CreateCacheCluster

func (_m *IClient) CreateCacheCluster(ctx context.Context, params *elasticache.CreateCacheClusterInput, optFns ...func(*elasticache.Options)) (*elasticache.CreateCacheClusterOutput, error)

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

func (*IClient) CreateCacheParameterGroup

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

func (*IClient) CreateCacheSecurityGroup

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

func (*IClient) CreateCacheSubnetGroup

func (_m *IClient) CreateCacheSubnetGroup(ctx context.Context, params *elasticache.CreateCacheSubnetGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.CreateCacheSubnetGroupOutput, error)

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

func (*IClient) CreateGlobalReplicationGroup

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

func (*IClient) CreateReplicationGroup

func (_m *IClient) CreateReplicationGroup(ctx context.Context, params *elasticache.CreateReplicationGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.CreateReplicationGroupOutput, error)

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

func (*IClient) CreateServerlessCache

func (_m *IClient) CreateServerlessCache(ctx context.Context, params *elasticache.CreateServerlessCacheInput, optFns ...func(*elasticache.Options)) (*elasticache.CreateServerlessCacheOutput, error)

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

func (*IClient) CreateServerlessCacheSnapshot

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

func (*IClient) CreateSnapshot

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

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

func (*IClient) CreateUser

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

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

func (*IClient) CreateUserGroup

func (_m *IClient) CreateUserGroup(ctx context.Context, params *elasticache.CreateUserGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.CreateUserGroupOutput, error)

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

func (*IClient) DecreaseNodeGroupsInGlobalReplicationGroup

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

func (*IClient) DecreaseReplicaCount

func (_m *IClient) DecreaseReplicaCount(ctx context.Context, params *elasticache.DecreaseReplicaCountInput, optFns ...func(*elasticache.Options)) (*elasticache.DecreaseReplicaCountOutput, error)

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

func (*IClient) DeleteCacheCluster

func (_m *IClient) DeleteCacheCluster(ctx context.Context, params *elasticache.DeleteCacheClusterInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteCacheClusterOutput, error)

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

func (*IClient) DeleteCacheParameterGroup

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

func (*IClient) DeleteCacheSecurityGroup

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

func (*IClient) DeleteCacheSubnetGroup

func (_m *IClient) DeleteCacheSubnetGroup(ctx context.Context, params *elasticache.DeleteCacheSubnetGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteCacheSubnetGroupOutput, error)

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

func (*IClient) DeleteGlobalReplicationGroup

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

func (*IClient) DeleteReplicationGroup

func (_m *IClient) DeleteReplicationGroup(ctx context.Context, params *elasticache.DeleteReplicationGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteReplicationGroupOutput, error)

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

func (*IClient) DeleteServerlessCache

func (_m *IClient) DeleteServerlessCache(ctx context.Context, params *elasticache.DeleteServerlessCacheInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteServerlessCacheOutput, error)

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

func (*IClient) DeleteServerlessCacheSnapshot

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

func (*IClient) DeleteSnapshot

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

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

func (*IClient) DeleteUser

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

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

func (*IClient) DeleteUserGroup

func (_m *IClient) DeleteUserGroup(ctx context.Context, params *elasticache.DeleteUserGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteUserGroupOutput, error)

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

func (*IClient) DescribeCacheClusters

func (_m *IClient) DescribeCacheClusters(ctx context.Context, params *elasticache.DescribeCacheClustersInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)

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

func (*IClient) DescribeCacheEngineVersions

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

func (*IClient) DescribeCacheParameterGroups

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

func (*IClient) DescribeCacheParameters

func (_m *IClient) DescribeCacheParameters(ctx context.Context, params *elasticache.DescribeCacheParametersInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheParametersOutput, error)

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

func (*IClient) DescribeCacheSecurityGroups

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

func (*IClient) DescribeCacheSubnetGroups

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

func (*IClient) DescribeEngineDefaultParameters

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

func (*IClient) DescribeEvents

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

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

func (*IClient) DescribeGlobalReplicationGroups

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

func (*IClient) DescribeReplicationGroups

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

func (*IClient) DescribeReservedCacheNodes

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

func (*IClient) DescribeReservedCacheNodesOfferings

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

func (*IClient) DescribeServerlessCacheSnapshots

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

func (*IClient) DescribeServerlessCaches

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

func (*IClient) DescribeServiceUpdates

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

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

func (*IClient) DescribeSnapshots

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

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

func (*IClient) DescribeUpdateActions

func (_m *IClient) DescribeUpdateActions(ctx context.Context, params *elasticache.DescribeUpdateActionsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeUpdateActionsOutput, error)

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

func (*IClient) DescribeUserGroups

func (_m *IClient) DescribeUserGroups(ctx context.Context, params *elasticache.DescribeUserGroupsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeUserGroupsOutput, error)

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

func (*IClient) DescribeUsers

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

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

func (*IClient) DisassociateGlobalReplicationGroup

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

func (*IClient) ExportServerlessCacheSnapshot

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

func (*IClient) FailoverGlobalReplicationGroup

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

func (*IClient) IncreaseNodeGroupsInGlobalReplicationGroup

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

func (*IClient) IncreaseReplicaCount

func (_m *IClient) IncreaseReplicaCount(ctx context.Context, params *elasticache.IncreaseReplicaCountInput, optFns ...func(*elasticache.Options)) (*elasticache.IncreaseReplicaCountOutput, error)

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

func (*IClient) ListAllowedNodeTypeModifications

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ModifyCacheCluster

func (_m *IClient) ModifyCacheCluster(ctx context.Context, params *elasticache.ModifyCacheClusterInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyCacheClusterOutput, error)

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

func (*IClient) ModifyCacheParameterGroup

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

func (*IClient) ModifyCacheSubnetGroup

func (_m *IClient) ModifyCacheSubnetGroup(ctx context.Context, params *elasticache.ModifyCacheSubnetGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyCacheSubnetGroupOutput, error)

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

func (*IClient) ModifyGlobalReplicationGroup

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

func (*IClient) ModifyReplicationGroup

func (_m *IClient) ModifyReplicationGroup(ctx context.Context, params *elasticache.ModifyReplicationGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyReplicationGroupOutput, error)

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

func (*IClient) ModifyReplicationGroupShardConfiguration

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

func (*IClient) ModifyServerlessCache

func (_m *IClient) ModifyServerlessCache(ctx context.Context, params *elasticache.ModifyServerlessCacheInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyServerlessCacheOutput, error)

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

func (*IClient) ModifyUser

func (_m *IClient) ModifyUser(ctx context.Context, params *elasticache.ModifyUserInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyUserOutput, error)

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

func (*IClient) ModifyUserGroup

func (_m *IClient) ModifyUserGroup(ctx context.Context, params *elasticache.ModifyUserGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.ModifyUserGroupOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PurchaseReservedCacheNodesOffering

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

func (*IClient) RebalanceSlotsInGlobalReplicationGroup

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

func (*IClient) RebootCacheCluster

func (_m *IClient) RebootCacheCluster(ctx context.Context, params *elasticache.RebootCacheClusterInput, optFns ...func(*elasticache.Options)) (*elasticache.RebootCacheClusterOutput, error)

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

func (*IClient) RemoveTagsFromResource

func (_m *IClient) RemoveTagsFromResource(ctx context.Context, params *elasticache.RemoveTagsFromResourceInput, optFns ...func(*elasticache.Options)) (*elasticache.RemoveTagsFromResourceOutput, error)

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

func (*IClient) ResetCacheParameterGroup

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

func (*IClient) RevokeCacheSecurityGroupIngress

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

func (*IClient) StartMigration

func (_m *IClient) StartMigration(ctx context.Context, params *elasticache.StartMigrationInput, optFns ...func(*elasticache.Options)) (*elasticache.StartMigrationOutput, error)

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

func (*IClient) TestFailover

func (_m *IClient) TestFailover(ctx context.Context, params *elasticache.TestFailoverInput, optFns ...func(*elasticache.Options)) (*elasticache.TestFailoverOutput, error)

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

func (*IClient) TestMigration

func (_m *IClient) TestMigration(ctx context.Context, params *elasticache.TestMigrationInput, optFns ...func(*elasticache.Options)) (*elasticache.TestMigrationOutput, error)

TestMigration 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