Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreObjectsHealthy ¶
AreObjectsHealthy checks if the given resources are healthy. It returns a nil error if all the resources are healthy, if any resource is not healthy, the error will contain the GVK + namespace/resourceName and the error message of each unhealthy resource.
The current list of supported resources is: - Deployments - StatefulSets - DaemonSets - ReplicaSets - Pods - APIServices - CustomResourceDefinitions - Jobs - Services - PersistentVolumeClaims - PodDisruptionBudgets
If the resource is not supported, it is assumed to be healthy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.