Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHealthChecker ¶
type ServiceHealthChecker struct {
// contains filtered or unexported fields
}
func NewServiceHealthChecker ¶
func NewServiceHealthChecker(ctx context.Context, metrics metricsHealthCheck, config *dynamic.ServerHealthCheck, service StatusSetter, info *runtime.ServiceInfo, transport http.RoundTripper, targets map[string]*url.URL) *ServiceHealthChecker
func (*ServiceHealthChecker) Launch ¶
func (shc *ServiceHealthChecker) Launch(ctx context.Context)
type StatusSetter ¶
StatusSetter should be implemented by a service that, when the status of a registered target change, needs to be notified of that change.
type StatusUpdater ¶
StatusUpdater should be implemented by a service that, when its status changes (e.g. all if its children are down), needs to propagate upwards (to their parent(s)) that change.
Click to show internal directories.
Click to hide internal directories.