events

package
v0.0.0-...-d271c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2014 License: BSD-3-Clause Imports: 4 Imported by: 0

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

type KeyspaceChange struct {
	KeyspaceInfo topo.KeyspaceInfo
	Status       string
}

KeyspaceChange is an event that describes changes to a keyspace.

func (*KeyspaceChange) Syslog

func (kc *KeyspaceChange) Syslog() (syslog.Priority, string)

Syslog writes the event to syslog.

type ShardChange

type ShardChange struct {
	ShardInfo topo.ShardInfo
	Status    string
}

ShardChange is an event that describes changes to a shard.

func (*ShardChange) Syslog

func (sc *ShardChange) Syslog() (syslog.Priority, string)

Syslog writes the event to syslog.

type TabletChange

type TabletChange struct {
	Tablet topo.Tablet
	Status string
}

TabletChange is an event that describes changes to a tablet.

func (*TabletChange) Syslog

func (tc *TabletChange) Syslog() (syslog.Priority, string)

Syslog writes the event to syslog.

Jump to

Keyboard shortcuts

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