Documentation ¶
Index ¶
- type MockClient
- func (c *MockClient) AddTagsToResource(ctx context.Context, i *elasticache.AddTagsToResourceInput, ...) (*elasticache.AddTagsToResourceOutput, error)
- func (c *MockClient) CreateCacheCluster(ctx context.Context, i *elasticache.CreateCacheClusterInput, ...) (*elasticache.CreateCacheClusterOutput, error)
- func (c *MockClient) CreateCacheSubnetGroup(ctx context.Context, i *elasticache.CreateCacheSubnetGroupInput, ...) (*elasticache.CreateCacheSubnetGroupOutput, error)
- func (c *MockClient) CreateReplicationGroup(ctx context.Context, i *elasticache.CreateReplicationGroupInput, ...) (*elasticache.CreateReplicationGroupOutput, error)
- func (c *MockClient) DecreaseReplicaCount(ctx context.Context, i *elasticache.DecreaseReplicaCountInput, ...) (*elasticache.DecreaseReplicaCountOutput, error)
- func (c *MockClient) DeleteCacheCluster(ctx context.Context, i *elasticache.DeleteCacheClusterInput, ...) (*elasticache.DeleteCacheClusterOutput, error)
- func (c *MockClient) DeleteCacheSubnetGroup(ctx context.Context, i *elasticache.DeleteCacheSubnetGroupInput, ...) (*elasticache.DeleteCacheSubnetGroupOutput, error)
- func (c *MockClient) DeleteReplicationGroup(ctx context.Context, i *elasticache.DeleteReplicationGroupInput, ...) (*elasticache.DeleteReplicationGroupOutput, error)
- func (c *MockClient) DescribeCacheClusters(ctx context.Context, i *elasticache.DescribeCacheClustersInput, ...) (*elasticache.DescribeCacheClustersOutput, error)
- func (c *MockClient) DescribeCacheSubnetGroups(ctx context.Context, i *elasticache.DescribeCacheSubnetGroupsInput, ...) (*elasticache.DescribeCacheSubnetGroupsOutput, error)
- func (c *MockClient) DescribeReplicationGroups(ctx context.Context, i *elasticache.DescribeReplicationGroupsInput, ...) (*elasticache.DescribeReplicationGroupsOutput, error)
- func (c *MockClient) IncreaseReplicaCount(ctx context.Context, i *elasticache.IncreaseReplicaCountInput, ...) (*elasticache.IncreaseReplicaCountOutput, error)
- func (c *MockClient) ListTagsForResource(ctx context.Context, i *elasticache.ListTagsForResourceInput, ...) (*elasticache.ListTagsForResourceOutput, error)
- func (c *MockClient) ModifyCacheCluster(ctx context.Context, i *elasticache.ModifyCacheClusterInput, ...) (*elasticache.ModifyCacheClusterOutput, error)
- func (c *MockClient) ModifyCacheSubnetGroup(ctx context.Context, i *elasticache.ModifyCacheSubnetGroupInput, ...) (*elasticache.ModifyCacheSubnetGroupOutput, error)
- func (c *MockClient) ModifyReplicationGroup(ctx context.Context, i *elasticache.ModifyReplicationGroupInput, ...) (*elasticache.ModifyReplicationGroupOutput, error)
- func (c *MockClient) ModifyReplicationGroupShardConfiguration(ctx context.Context, ...) (*elasticache.ModifyReplicationGroupShardConfigurationOutput, error)
- func (c *MockClient) RemoveTagsFromResource(ctx context.Context, i *elasticache.RemoveTagsFromResourceInput, ...) (*elasticache.RemoveTagsFromResourceOutput, error)
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 ¶
func (c *MockClient) AddTagsToResource(ctx context.Context, i *elasticache.AddTagsToResourceInput, opts ...func(*elasticache.Options)) (*elasticache.AddTagsToResourceOutput, error)
AddTagsToResource calls the underlying MockAddTagsToResource method
func (*MockClient) CreateCacheCluster ¶
func (c *MockClient) CreateCacheCluster(ctx context.Context, i *elasticache.CreateCacheClusterInput, opts ...func(*elasticache.Options)) (*elasticache.CreateCacheClusterOutput, error)
CreateCacheCluster calls the underlying MockCreateCacheCluster method.
func (*MockClient) CreateCacheSubnetGroup ¶
func (c *MockClient) CreateCacheSubnetGroup(ctx context.Context, i *elasticache.CreateCacheSubnetGroupInput, opts ...func(*elasticache.Options)) (*elasticache.CreateCacheSubnetGroupOutput, error)
CreateCacheSubnetGroup calls the underlying MockCreateCacheSubnetGroup method.
func (*MockClient) CreateReplicationGroup ¶
func (c *MockClient) CreateReplicationGroup(ctx context.Context, i *elasticache.CreateReplicationGroupInput, opts ...func(*elasticache.Options)) (*elasticache.CreateReplicationGroupOutput, error)
CreateReplicationGroup calls the underlying MockCreateReplicationGroup method.
func (*MockClient) DecreaseReplicaCount ¶
func (c *MockClient) DecreaseReplicaCount(ctx context.Context, i *elasticache.DecreaseReplicaCountInput, opts ...func(*elasticache.Options)) (*elasticache.DecreaseReplicaCountOutput, error)
DecreaseReplicaCount calls the underlying MockDecreaseReplicaCount method
func (*MockClient) DeleteCacheCluster ¶
func (c *MockClient) DeleteCacheCluster(ctx context.Context, i *elasticache.DeleteCacheClusterInput, opts ...func(*elasticache.Options)) (*elasticache.DeleteCacheClusterOutput, error)
DeleteCacheCluster calls the underlying MockDeleteCacheCluster method.
func (*MockClient) DeleteCacheSubnetGroup ¶
func (c *MockClient) DeleteCacheSubnetGroup(ctx context.Context, i *elasticache.DeleteCacheSubnetGroupInput, opts ...func(*elasticache.Options)) (*elasticache.DeleteCacheSubnetGroupOutput, error)
DeleteCacheSubnetGroup calls the underlying MockDeleteCacheSubnetGroup method.
func (*MockClient) DeleteReplicationGroup ¶
func (c *MockClient) DeleteReplicationGroup(ctx context.Context, i *elasticache.DeleteReplicationGroupInput, opts ...func(*elasticache.Options)) (*elasticache.DeleteReplicationGroupOutput, error)
DeleteReplicationGroup calls the underlying MockDeleteReplicationGroup method.
func (*MockClient) DescribeCacheClusters ¶
func (c *MockClient) DescribeCacheClusters(ctx context.Context, i *elasticache.DescribeCacheClustersInput, opts ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)
DescribeCacheClusters calls the underlying MockDescribeCacheClusters method.
func (*MockClient) DescribeCacheSubnetGroups ¶
func (c *MockClient) DescribeCacheSubnetGroups(ctx context.Context, i *elasticache.DescribeCacheSubnetGroupsInput, opts ...func(*elasticache.Options)) (*elasticache.DescribeCacheSubnetGroupsOutput, error)
DescribeCacheSubnetGroups calls the underlying MockDescribeCacheSubnetGroups method.
func (*MockClient) DescribeReplicationGroups ¶
func (c *MockClient) DescribeReplicationGroups(ctx context.Context, i *elasticache.DescribeReplicationGroupsInput, opts ...func(*elasticache.Options)) (*elasticache.DescribeReplicationGroupsOutput, error)
DescribeReplicationGroups calls the underlying MockDescribeReplicationGroups method.
func (*MockClient) IncreaseReplicaCount ¶
func (c *MockClient) IncreaseReplicaCount(ctx context.Context, i *elasticache.IncreaseReplicaCountInput, opts ...func(*elasticache.Options)) (*elasticache.IncreaseReplicaCountOutput, error)
IncreaseReplicaCount calls the underlying MockIncreaseReplicaCount method
func (*MockClient) ListTagsForResource ¶
func (c *MockClient) ListTagsForResource(ctx context.Context, i *elasticache.ListTagsForResourceInput, opts ...func(*elasticache.Options)) (*elasticache.ListTagsForResourceOutput, error)
ListTagsForResource calls the underlying MockListTagsForResource method
func (*MockClient) ModifyCacheCluster ¶
func (c *MockClient) ModifyCacheCluster(ctx context.Context, i *elasticache.ModifyCacheClusterInput, opts ...func(*elasticache.Options)) (*elasticache.ModifyCacheClusterOutput, error)
ModifyCacheCluster calls the underlying MockModifyCacheCluster method.
func (*MockClient) ModifyCacheSubnetGroup ¶
func (c *MockClient) ModifyCacheSubnetGroup(ctx context.Context, i *elasticache.ModifyCacheSubnetGroupInput, opts ...func(*elasticache.Options)) (*elasticache.ModifyCacheSubnetGroupOutput, error)
ModifyCacheSubnetGroup calls the underlying MockCreateCacheSubnetGroup method.
func (*MockClient) ModifyReplicationGroup ¶
func (c *MockClient) ModifyReplicationGroup(ctx context.Context, i *elasticache.ModifyReplicationGroupInput, opts ...func(*elasticache.Options)) (*elasticache.ModifyReplicationGroupOutput, error)
ModifyReplicationGroup calls the underlying MockModifyReplicationGroup method.
func (*MockClient) ModifyReplicationGroupShardConfiguration ¶
func (c *MockClient) ModifyReplicationGroupShardConfiguration(ctx context.Context, i *elasticache.ModifyReplicationGroupShardConfigurationInput, opts ...func(*elasticache.Options)) (*elasticache.ModifyReplicationGroupShardConfigurationOutput, error)
ModifyReplicationGroupShardConfiguration calls the underlying MockModifyReplicationGroupShardConfiguration method.
func (*MockClient) RemoveTagsFromResource ¶
func (c *MockClient) RemoveTagsFromResource(ctx context.Context, i *elasticache.RemoveTagsFromResourceInput, opts ...func(*elasticache.Options)) (*elasticache.RemoveTagsFromResourceOutput, error)
RemoveTagsFromResource calls the underlying MockRemoveTagsFromResource method