Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker interface { WatchPodOnNode( nodename types.NodeName, podID types.PodID, quitCh <-chan struct{}, ) (chan health.Result, chan error) WatchService( ctx context.Context, serviceID string, resultCh chan<- map[types.NodeName]health.Result, errCh chan<- error, watchDelay time.Duration, ) WatchHealth( resultCh chan []*health.Result, errCh chan<- error, quitCh <-chan struct{}, jitterWindow time.Duration, ) Service(serviceID string) (map[types.NodeName]health.Result, error) }
func NewHealthChecker ¶
func NewHealthChecker(cClient consulutil.ConsulClient) HealthChecker
type LabelReader ¶
Click to show internal directories.
Click to hide internal directories.