Documentation ¶
Index ¶
- func CheckHealth(obj client.Object) (bool, error)
- func FetchAdditionalFailureMessage(ctx context.Context, c client.Client, obj client.Object) (string, error)
- func HealthStatusChanged(log logr.Logger) predicate.Predicate
- func IsIgnored(obj client.Object) bool
- func MapToOriginManagedResource(clusterID string) mapper.MapFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHealth ¶
CheckHealth checks whether the given object is healthy. It returns a bool indicating whether the object was actually checked and an error if any health check failed.
func FetchAdditionalFailureMessage ¶
func FetchAdditionalFailureMessage(ctx context.Context, c client.Client, obj client.Object) (string, error)
FetchAdditionalFailureMessage fetches warning event messages for some objects as additional failure information.
func HealthStatusChanged ¶
HealthStatusChanged returns a predicate that filters for events that indicate a change in the object's health status.
func IsIgnored ¶
IsIgnored returns true when the resources.gardener.cloud/ignore annotation has a truthy value.
func MapToOriginManagedResource ¶
MapToOriginManagedResource is a mapper.MapFunc for resources to their origin ManagedResource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.