Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHealth ¶
func CheckHealth(obj runtime.Unstructured) error
CheckHealth checks whether the given `runtime.Unstructured` is healthy. `nil` is returned when the `runtime.Unstructured` has kind which is not supported by this function.
func ClassChangedPredicate ¶
ClassChangedPredicate is a predicate for changes in `.spec.class`.
Types ¶
type HealthReconciler ¶
type HealthReconciler struct {
// contains filtered or unexported fields
}
func NewHealthReconciler ¶
func NewHealthReconciler(ctx context.Context, log logr.Logger, client, targetClient client.Client, classFilter *managedresources.ClassFilter, syncPeriod time.Duration) *HealthReconciler
Click to show internal directories.
Click to hide internal directories.