Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromoteRedisSecondaryToPrimary ¶
func PromoteRedisSecondaryToPrimary(client FailoverGlobalReplicationGroupAPI, region string, pid, gid *string) error
PromoteRedisSecondaryToPrimary
Types ¶
type DescribeReplicationGroupsAPI ¶
type DescribeReplicationGroupsAPI interface {
DescribeReplicationGroups(ctx context.Context, params *elasticache.DescribeReplicationGroupsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeReplicationGroupsOutput, error)
}
type FailoverGlobalReplicationGroupAPI ¶
type FailoverGlobalReplicationGroupAPI interface {
FailoverGlobalReplicationGroup(ctx context.Context, params *elasticache.FailoverGlobalReplicationGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.FailoverGlobalReplicationGroupOutput, error)
}
Click to show internal directories.
Click to hide internal directories.