allocations

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 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 AllocationUpdate

type AllocationUpdate struct {
	Name               string
	NodeID             string
	AllocationID       string
	DesiredStatus      string
	DesiredDescription string
	ClientStatus       string
	ClientDescription  string
	JobID              string
	GroupName          string
	TaskName           string
	EvalID             string
	TaskState          string
	TaskFailed         bool
	TaskStartedAt      *time.Time
	TaskFinishedAt     *time.Time
	TaskEvent          *nomad.TaskEvent
}

AllocationUpdate ...

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) 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