Documentation
¶
Overview ¶
Package events defines the structures used for events dispatched from the wrangler package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrateServedFrom ¶
type MigrateServedFrom struct {
base.StatusUpdater
KeyspaceName string
SourceShard topo.ShardInfo
DestinationShard topo.ShardInfo
ServedType topodatapb.TabletType
Reverse bool
}
MigrateServedFrom is an event that describes a single step in the process of adding or removing a forwarding rule to have certain ServedTypes served by another keyspace.
type MigrateServedTypes ¶
type MigrateServedTypes struct {
base.StatusUpdater
KeyspaceName string
SourceShards []*topo.ShardInfo
DestinationShards []*topo.ShardInfo
ServedType topodatapb.TabletType
Reverse bool
}
MigrateServedTypes is an event that describes a single step in the process of switching a ServedType from one set of shards to another.
type Reparent ¶
type Reparent struct {
base.StatusUpdater
ShardInfo topo.ShardInfo
OldMaster, NewMaster topodatapb.Tablet
ExternalID string
}
Reparent is an event that describes a single step in the reparent process.
Click to show internal directories.
Click to hide internal directories.