Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prober ¶
type Prober interface {
GetServiceHealthy(serviceName string) (*v1.HealthStatus, bool)
WatchServiceHealthy(serviceName string) Watcher
CloseWatch(serviceName string, id string) error
Start()
AddServices(in []*v1.Service)
CheckIfExist(in *v1.Service) bool
SetServices([]*v1.Service)
GetServices() []*v1.Service
GetServiceHealth() map[string]*v1.HealthStatus
SetAndUpdateServices([]*v1.Service) error
AddAndUpdateServices([]*v1.Service) error
UpdateServiceProbe(service *v1.Service)
UpdateServicesProbe(services []*v1.Service)
Stop() error
DisableWatcher(serviceName, watcherID string)
EnableWatcher(serviceName, watcherID string)
GetProbe(name string) probe.Probe
StopProbes(names []string)
}
Prober Prober
Click to show internal directories.
Click to hide internal directories.