jobs

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 FirehoseBase added in v1.3.0

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

Firehose ...

func NewFirehoseBase added in v1.3.0

func NewFirehoseBase() (*FirehoseBase, error)

NewFirehose ...

func (*FirehoseBase) SetRestoreValue added in v1.3.0

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

func (*FirehoseBase) Start added in v1.3.0

func (f *FirehoseBase) Start(w WatchJobListFunc)

Start the firehose

func (*FirehoseBase) Stop added in v1.3.0

func (f *FirehoseBase) Stop()

Stop the firehose

func (*FirehoseBase) UpdateCh added in v1.3.0

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

type JobFirehose added in v1.3.0

type JobFirehose struct {
	FirehoseBase
}

Firehose ...

func NewJobFirehose added in v1.3.0

func NewJobFirehose() (*JobFirehose, error)

NewFirehose ...

func (*JobFirehose) Name added in v1.3.0

func (f *JobFirehose) Name() string

func (*JobFirehose) Publish added in v1.3.0

func (f *JobFirehose) Publish(update *nomad.Job)

Publish an update from the firehose

func (*JobFirehose) Start added in v1.3.0

func (f *JobFirehose) Start()

type JobListStubFirehose added in v1.3.0

type JobListStubFirehose struct {
	FirehoseBase
}

Firehose ...

func NewJobListStubFirehose added in v1.3.0

func NewJobListStubFirehose() (*JobListStubFirehose, error)

NewFirehose ...

func (*JobListStubFirehose) Name added in v1.3.0

func (f *JobListStubFirehose) Name() string

func (*JobListStubFirehose) Publish added in v1.3.0

func (f *JobListStubFirehose) Publish(update *nomad.JobListStub)

Publish an update from the firehose

func (*JobListStubFirehose) Start added in v1.3.0

func (f *JobListStubFirehose) Start()

type WatchJobListFunc added in v1.3.0

type WatchJobListFunc func(job *nomad.JobListStub)

Jump to

Keyboard shortcuts

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