rebalancing

package
v0.0.0-...-be6ac10 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rebalancer

type Rebalancer interface {
	MoveIn(ctx context.Context, IDs []string, domain string) error
	MoveOut(ctx context.Context, IDs []string, domain string) error
}

func New

func New(mongoClientPrimary *mongo.Client, mongoClientHot *mongo.Client, lookupClient *lookupclient.ClientCtx) Rebalancer

Jump to

Keyboard shortcuts

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