nodes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Firehose

type Firehose struct {
	// contains filtered or unexported fields
}

Firehose ...

func NewFirehose

func NewFirehose() (*Firehose, error)

NewFirehose ...

func (*Firehose) Name added in v1.2.0

func (f *Firehose) Name() string

func (*Firehose) Publish

func (f *Firehose) Publish(update *nomad.Node)

Publish an update from the firehose

func (*Firehose) SetRestoreValue added in v1.2.0

func (f *Firehose) SetRestoreValue(restoreValue interface{}) error

func (*Firehose) Start

func (f *Firehose) Start()

Start the firehose

func (*Firehose) Stop

func (f *Firehose) Stop()

Stop the firehose

func (*Firehose) UpdateCh added in v1.2.0

func (f *Firehose) UpdateCh() <-chan interface{}

Jump to

Keyboard shortcuts

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