fake

package
v0.39.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	elasticache.Client

	MockDescribeReplicationGroups func(context.Context, *elasticache.DescribeReplicationGroupsInput, []func(*elasticache.Options)) (*elasticache.DescribeReplicationGroupsOutput, error)
	MockCreateReplicationGroup    func(context.Context, *elasticache.CreateReplicationGroupInput, []func(*elasticache.Options)) (*elasticache.CreateReplicationGroupOutput, error)
	MockModifyReplicationGroup    func(context.Context, *elasticache.ModifyReplicationGroupInput, []func(*elasticache.Options)) (*elasticache.ModifyReplicationGroupOutput, error)
	MockDeleteReplicationGroup    func(context.Context, *elasticache.DeleteReplicationGroupInput, []func(*elasticache.Options)) (*elasticache.DeleteReplicationGroupOutput, error)

	MockDescribeCacheSubnetGroups func(context.Context, *elasticache.DescribeCacheSubnetGroupsInput, []func(*elasticache.Options)) (*elasticache.DescribeCacheSubnetGroupsOutput, error)
	MockCreateCacheSubnetGroup    func(context.Context, *elasticache.CreateCacheSubnetGroupInput, []func(*elasticache.Options)) (*elasticache.CreateCacheSubnetGroupOutput, error)
	MockModifyCacheSubnetGroup    func(context.Context, *elasticache.ModifyCacheSubnetGroupInput, []func(*elasticache.Options)) (*elasticache.ModifyCacheSubnetGroupOutput, error)
	MockDeleteCacheSubnetGroup    func(context.Context, *elasticache.DeleteCacheSubnetGroupInput, []func(*elasticache.Options)) (*elasticache.DeleteCacheSubnetGroupOutput, error)

	MockDescribeCacheClusters func(context.Context, *elasticache.DescribeCacheClustersInput, []func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)
	MockCreateCacheCluster    func(context.Context, *elasticache.CreateCacheClusterInput, []func(*elasticache.Options)) (*elasticache.CreateCacheClusterOutput, error)
	MockDeleteCacheCluster    func(context.Context, *elasticache.DeleteCacheClusterInput, []func(*elasticache.Options)) (*elasticache.DeleteCacheClusterOutput, error)
	MockModifyCacheCluster    func(context.Context, *elasticache.ModifyCacheClusterInput, []func(*elasticache.Options)) (*elasticache.ModifyCacheClusterOutput, error)
	MockIncreaseReplicaCount  func(context.Context, *elasticache.IncreaseReplicaCountInput, []func(*elasticache.Options)) (*elasticache.IncreaseReplicaCountOutput, error)
	MockDecreaseReplicaCount  func(context.Context, *elasticache.DecreaseReplicaCountInput, []func(*elasticache.Options)) (*elasticache.DecreaseReplicaCountOutput, error)

	MockModifyReplicationGroupShardConfiguration func(context.Context, *elasticache.ModifyReplicationGroupShardConfigurationInput, []func(*elasticache.Options)) (*elasticache.ModifyReplicationGroupShardConfigurationOutput, error)

	MockListTagsForResource    func(context.Context, *elasticache.ListTagsForResourceInput, []func(*elasticache.Options)) (*elasticache.ListTagsForResourceOutput, error)
	MockAddTagsToResource      func(context.Context, *elasticache.AddTagsToResourceInput, []func(*elasticache.Options)) (*elasticache.AddTagsToResourceOutput, error)
	MockRemoveTagsFromResource func(context.Context, *elasticache.RemoveTagsFromResourceInput, []func(*elasticache.Options)) (*elasticache.RemoveTagsFromResourceOutput, error)
}

MockClient is a fake implementation of cloudmemorystore.Client.

func (*MockClient) AddTagsToResource

AddTagsToResource calls the underlying MockAddTagsToResource method

func (*MockClient) CreateCacheCluster

CreateCacheCluster calls the underlying MockCreateCacheCluster method.

func (*MockClient) CreateCacheSubnetGroup

CreateCacheSubnetGroup calls the underlying MockCreateCacheSubnetGroup method.

func (*MockClient) CreateReplicationGroup

CreateReplicationGroup calls the underlying MockCreateReplicationGroup method.

func (*MockClient) DecreaseReplicaCount

DecreaseReplicaCount calls the underlying MockDecreaseReplicaCount method

func (*MockClient) DeleteCacheCluster

DeleteCacheCluster calls the underlying MockDeleteCacheCluster method.

func (*MockClient) DeleteCacheSubnetGroup

DeleteCacheSubnetGroup calls the underlying MockDeleteCacheSubnetGroup method.

func (*MockClient) DeleteReplicationGroup

DeleteReplicationGroup calls the underlying MockDeleteReplicationGroup method.

func (*MockClient) DescribeCacheClusters

DescribeCacheClusters calls the underlying MockDescribeCacheClusters method.

func (*MockClient) DescribeCacheSubnetGroups

DescribeCacheSubnetGroups calls the underlying MockDescribeCacheSubnetGroups method.

func (*MockClient) DescribeReplicationGroups

DescribeReplicationGroups calls the underlying MockDescribeReplicationGroups method.

func (*MockClient) IncreaseReplicaCount

IncreaseReplicaCount calls the underlying MockIncreaseReplicaCount method

func (*MockClient) ListTagsForResource

ListTagsForResource calls the underlying MockListTagsForResource method

func (*MockClient) ModifyCacheCluster

ModifyCacheCluster calls the underlying MockModifyCacheCluster method.

func (*MockClient) ModifyCacheSubnetGroup

ModifyCacheSubnetGroup calls the underlying MockCreateCacheSubnetGroup method.

func (*MockClient) ModifyReplicationGroup

ModifyReplicationGroup calls the underlying MockModifyReplicationGroup method.

func (*MockClient) ModifyReplicationGroupShardConfiguration

ModifyReplicationGroupShardConfiguration calls the underlying MockModifyReplicationGroupShardConfiguration method.

func (*MockClient) RemoveTagsFromResource

RemoveTagsFromResource calls the underlying MockRemoveTagsFromResource method

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL