health

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: Apache-2.0, MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHealth

func CheckHealth(scheme *runtime.Scheme, obj runtime.Object) 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.

Types

type Reconciler added in v0.20.0

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler performs health checks for resources managed by ManagedResources.

func NewReconciler added in v0.20.0

func NewReconciler(ctx context.Context, log logr.Logger, client, targetClient client.Client, targetScheme *runtime.Scheme, classFilter *managedresources.ClassFilter, syncPeriod time.Duration) *Reconciler

NewReconciler returns a new health reconciler.

func (*Reconciler) Reconcile added in v0.20.0

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile performs health checks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL