awsredis

package
v0.0.0-...-1bc5079 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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