Documentation
¶
Index ¶
- func Once(w Watcher, s Subscription, logger *log.Entry, send chan *structs.Action, ...)
- func Stream(w Streamer, s Subscription, logger *log.Entry, send chan *structs.Action, ...)
- func Unwatch(w Keyer, s Subscription, logger *log.Entry) error
- func Watch(w Watcher, s Subscription, logger *log.Entry, send chan *structs.Action, ...)
- type Keyer
- type Manager
- type Streamer
- type Subscription
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Once ¶ added in v0.19.0
func Once(w Watcher, s Subscription, logger *log.Entry, send chan *structs.Action, destroyCh chan interface{})
Once is a generic one-off query for Nomad
func Stream ¶ added in v0.19.0
func Stream(w Streamer, s Subscription, logger *log.Entry, send chan *structs.Action, destroyCh chan interface{})
Stream is a generic one-off query for Nomad
Types ¶
type Streamer ¶ added in v0.19.0
type Streamer interface { Do(send chan *structs.Action, subscribeCh chan interface{}, destroyCh chan interface{}) (*structs.Response, error) Key() string IsMutable() bool BackendType() string }
Streamer interface
type Subscription ¶ added in v0.19.0
Click to show internal directories.
Click to hide internal directories.