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) 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 (*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)
Click to show internal directories.
Click to hide internal directories.