Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheSyncHealthz ¶
NewCacheSyncHealthz returns a new healthz.Checker that will pass only if all informers in the given cacheSyncWaiter sync.
func NewHeartbeatHealthz ¶
func NewHeartbeatHealthz(ctx context.Context, reader client.Reader, expiration time.Duration, namespace, loadBalancerMachineName string) healthz.Checker
NewHeartbeatHealthz returns a new healthz.Checker that checks the condition heartbeat of the LBM that are written by the yawollet. This way we can check if we have a healthy connection to the API-Server, both writing (updating the heartbeats), and reading (retrieving the updated heartbeats), without additional requests to the API Server.
func NewLoadBalancerRevisionHealthz ¶
func NewLoadBalancerRevisionHealthz( ctx context.Context, reader client.Reader, namespace, loadBalancerName, loadBalancerMachineName string, ) healthz.Checker
NewLoadBalancerRevisionHealthz returns a new healthz.Checker that will pass if the LoadBalancerMachine belongs to the latest revision of the corresponding LoadBalancer.
Types ¶
This section is empty.