Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SwarmWatchTime is the default interval when pulling for changes
SwarmWatchTimeSec = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeethovenInstance ¶
type Scheduler ¶
type Scheduler interface { // Watch for changes using streams and make callbacks to the specified // handler when apps have been added, removed or health changes. Watch(reload chan bool) // Shutdown the current stream watching Shutdown() // FetchApps will find all applications/services from the scheduler source FetchApps() (map[string]*App, error) // FetchBeethovenInstances will find all beethoven running instances FetchBeethovenInstances() ([]*BeethovenInstance, error) }
type ShutdownChan ¶
type ShutdownChan chan bool
Click to show internal directories.
Click to hide internal directories.