events

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package events contains event structs used by the tabletmanager package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateChange

type StateChange struct {
	// OldTablet is the topo record of the tablet before the change.
	OldTablet pb.Tablet
	// NewTablet is the topo record representing the current state.
	NewTablet pb.Tablet
	// Reason is an optional string that describes the source of the change.
	Reason string
}

StateChange is an event that describes state changes in the tablet as seen by the TabletManager. It is triggered after the tablet has processed a state change, which might have been initiated internally, or when the tablet noticed that an external process modified its topo record.

Jump to

Keyboard shortcuts

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