events

package
v0.0.0-...-3712671 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: BSD-3-Clause Imports: 6 Imported by: 0

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 Reparent

type Reparent struct {
	ShardInfo topo.ShardInfo

	OldMaster, NewMaster topo.Tablet

	Status string
	// contains filtered or unexported fields
}

Reparent is an event that describes a single step in the reparent process.

func (*Reparent) Syslog

func (r *Reparent) Syslog() (syslog.Priority, string)

Syslog writes a Reparent event to syslog.

func (*Reparent) UpdateStatus

func (r *Reparent) UpdateStatus(status string)

UpdateStatus sets a new status and then dispatches the event.

Jump to

Keyboard shortcuts

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