healthcheck

package
Version: v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultAddOptions are the default DefaultAddArgs for AddToManager.
	DefaultAddOptions = AddOptions{
		HealthCheckDefaults: healthcheck.DefaultAddArgs{
			HealthCheckConfig: healthcheckconfig.HealthCheckConfig{SyncPeriod: metav1.Duration{Duration: defaultSyncPeriod}},
		},
	}
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) error

AddToManager adds a controller with the default Options.

func RegisterHealthChecks

func RegisterHealthChecks(mgr manager.Manager, opts AddOptions) error

RegisterHealthChecks registers health checks for each extension resource

Types

type AddOptions

type AddOptions struct {
	ControllerConfig config.ControllerConfiguration

	HealthCheckDefaults healthcheck.DefaultAddArgs
}

Source Files

Jump to

Keyboard shortcuts

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