# Functions
CheckByHealthCheckTrait checks health condition through HealthCheckTrait.
CheckContainerziedWorkloadHealth check health condition of ContainerizedWorkload.
CheckDaemonsetHealth checks health condition of DaemonSet.
CheckDeploymentHealth checks health condition of Deployment.
CheckPodSpecWorkloadHealth check health condition of podspecworkloads.standard.oam.dev.
CheckStatefulsetHealth checks health condition of StatefulSet.
CheckUnknownWorkload handles unknown type workloads.
NewReconciler returns a Reconciler that reconciles HealthScope by keeping track of its healthstatus.
Setup adds a controller that reconciles HealthScope.
WithChecker adds workload health checker.
WithLogger specifies how the Reconciler should log messages.
WithRecorder specifies how the Reconciler should record events.
WithTraitChecker adds health checker based on HealthCheckTrait.
# Constants
StatusHealthy represents healthy status.
StatusUnhealthy represents unhealthy status.
StatusUnknown represents unknown status.
# Structs
A Reconciler reconciles OAM Scopes by keeping track of the health status of components.
# Interfaces
A WorloadHealthChecker checks health status of specified resource and saves status into an HealthCondition object.
# Type aliases
HealthStatus represents health status strings.
PeerHealthConditions refers to a slice of health condition of worloads belonging to one version-enabled component.
A ReconcilerOption configures a Reconciler.
ScopeHealthCondition holds health condition of a scope.
WorkloadHealthCheckFn checks health status of specified resource and saves status into an HealthCondition object.
WorkloadHealthCondition holds health status of any resource.