Documentation ¶
Index ¶
- func Sleep(ctx context.Context, d time.Duration) bool
- func WatchServiceChanges(client *api.Client, ctx context.Context, newService chan<- string, ...)
- func WatchServices(client *api.Client, ctx context.Context, servicesChan chan<- serviceMap, ...)
- type ChecksWatcher
- type Config
- type Daemon
- type HealthCheckLogger
- type JsonHealthCheckLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchServiceChanges ¶
Types ¶
type ChecksWatcher ¶
type ChecksWatcher struct {
// contains filtered or unexported fields
}
func NewChecksWatcher ¶
func (*ChecksWatcher) Run ¶
func (w *ChecksWatcher) Run(logger HealthCheckLogger)
func (*ChecksWatcher) Stop ¶
func (w *ChecksWatcher) Stop()
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type HealthCheckLogger ¶
type HealthCheckLogger interface {
// contains filtered or unexported methods
}
type JsonHealthCheckLogger ¶
type JsonHealthCheckLogger struct {
// contains filtered or unexported fields
}
func NewJsonHealthCheckLogger ¶
func NewJsonHealthCheckLogger() *JsonHealthCheckLogger
Click to show internal directories.
Click to hide internal directories.