Documentation ¶
Overview ¶
Package healthcheck contains functions used for cluster validation
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultAddOptions are the default DefaultAddArgs for AddToManager. DefaultAddOptions = healthcheck.DefaultAddArgs{ HealthCheckConfig: healthcheckconfig.HealthCheckConfig{SyncPeriod: metav1.Duration{Duration: defaultSyncPeriod}}, } )
Functions ¶
func AddToManager ¶
AddToManager adds a controller with the default Options.
PARAMETERS mgr manager.Manager Health check controller manager instance
func RegisterHealthChecks ¶
func RegisterHealthChecks(mgr manager.Manager, opts healthcheck.DefaultAddArgs) error
RegisterHealthChecks registers health checks for each extension resource HealthChecks are grouped by extension (e.g worker), extension.type (e.g hcloud) and Health Check Type (e.g SystemComponentsHealthy)
PARAMETERS mgr manager.Manager Health check controller manager instance opts healthcheck.DefaultAddArgs Options to add
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.