health

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0, MIT Imports: 20 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 HealthReconciler

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

func NewHealthReconciler

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

func (*HealthReconciler) Reconcile

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

Jump to

Keyboard shortcuts

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