# Functions
DefaultHealthCheck simply returns the default health check.
DefaultHealthCheck simply returns the default health check.
NewFakeHealthCheckProvider returns a new FakeHealthChecks.
NewHealthCheck creates a HealthCheck which abstracts nested structs away.
NewHealthChecker creates a new health checker.
# Constants
These values set a low health threshold and a high failure threshold.
DefaultHealthyThreshold defines the threshold of success probes that declare a backend "healthy".
DefaultNEGHealthCheckInterval defines how frequently a probe runs with NEG backends.
DefaultTimeout defines the timeout of each probe for NEG.
DefaultNEGUnhealthyThreshold defines the threshold of failure probes that declare a network endpoint "unhealthy" In NEG mode, cloud loadbalancer health check request will no longer be loadbalanced by kube-proxy(iptables).
DefaultTimeout defines the timeout of each probe for IG.
DefaultUnhealthyThreshold defines the threshold of failure probes that declare a instance "unhealthy".
This is a constant for GCE API.
# Structs
FakeHealthCheckProvider fakes out health checks.
HealthCheck embeds two types - the generic healthcheck compute.HealthCheck and the HTTP settings compute.HTTPHealthCheck.
HealthChecks manages health checks.
# Interfaces
HealthChecker is an interface to manage cloud HTTPHealthChecks.
HealthCheckProvider is an interface to manage a single GCE health check.