Documentation ¶
Index ¶
- Constants
- func NewCommand(ctx context.Context) *cli.Command
- func RebalanceSlots(ctx context.Context, authInfo redis.AuthInfo, address string, ...) error
- func RetrySetSlotStatus(ctx context.Context, client redis.RedisClient, slotId int, nodeId string, ...) (err error)
- func SyncFromLocalToEtcd(c *cli.Context, ctx context.Context, resourceKind string, watch bool, ...) error
- func WatchAndSync(ctx context.Context, client *kubernetes.Clientset, ...) error
Constants ¶
View Source
const ( SlaveWaitInterval = time.Second * 60 MasterWaitInterval = time.Second * 2 DefaultRedisServerPort = "6379" )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func RebalanceSlots ¶
func RebalanceSlots(ctx context.Context, authInfo redis.AuthInfo, address string, logger logr.Logger) error
RebalanceSlots
func RetrySetSlotStatus ¶
func SyncFromLocalToEtcd ¶
func WatchAndSync ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.