Documentation ¶
Overview ¶
Package helpers contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
Package helpers contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
Index ¶
- func CompareKeyspaces(ctx context.Context, fromTS, toTS *topo.Server) error
- func CompareRoutingRules(ctx context.Context, fromTS, toTS *topo.Server) error
- func CompareShardReplications(ctx context.Context, fromTS, toTS *topo.Server) error
- func CompareShards(ctx context.Context, fromTS, toTS *topo.Server) error
- func CompareTablets(ctx context.Context, fromTS, toTS *topo.Server) error
- func CopyKeyspaces(ctx context.Context, fromTS, toTS *topo.Server, parser *sqlparser.Parser) error
- func CopyRoutingRules(ctx context.Context, fromTS, toTS *topo.Server) error
- func CopyShardReplications(ctx context.Context, fromTS, toTS *topo.Server) error
- func CopyShards(ctx context.Context, fromTS, toTS *topo.Server) error
- func CopyTablets(ctx context.Context, fromTS, toTS *topo.Server) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareKeyspaces ¶
CompareKeyspaces will compare the keyspaces in the destination topo.
func CompareRoutingRules ¶
CompareRoutingRules will compare the routing rules in the destination topo.
func CompareShardReplications ¶
CompareShardReplications will compare the ShardReplication objects in the destination topo.
func CompareShards ¶
CompareShards will compare the shards in the destination topo.
func CompareTablets ¶
CompareTablets will compare the tablets in the destination topo.
func CopyKeyspaces ¶
CopyKeyspaces will create the keyspaces in the destination topo.
func CopyRoutingRules ¶
CopyRoutingRules will create the routing rules in the destination topo.
func CopyShardReplications ¶
CopyShardReplications will create the ShardReplication objects in the destination topo.
func CopyShards ¶
CopyShards will create the shards in the destination topo.
Types ¶
This section is empty.