Documentation ¶
Overview ¶
Package events defines the structures used for events relating directly to individual topology elements, like keyspaces, shards, and tablets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyspaceChange ¶
KeyspaceChange is an event that describes changes to a keyspace.
type ShardChange ¶
ShardChange is an event that describes changes to a shard.
type TabletChange ¶
TabletChange is an event that describes changes to a tablet's topo record. It is triggered when the CURRENT process changes ANY tablet's record. It is NOT triggered when a DIFFERENT process changes THIS tablet's record. To be notified when THIS tablet's record changes, even if it was changed by a different process, listen for go/vt/tabletmanager/events.StateChange.