Documentation ¶
Overview ¶
Package reconcilerutil holds utility functions for Kf reconcilers similar to go's ioutil and httputil packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddFinalizer = controllerutil.AddFinalizer
AddFinalizer adds a finalizer to the given object.
View Source
var RemoveFinalizer = controllerutil.RemoveFinalizer
RemoveFinalizer removes a finalizer from the given object.
Functions ¶
func HasFinalizer ¶
HasFinalizer checks if an object has a finalizer.
func HealthCheckerMain ¶
func HealthCheckerMain(ctx context.Context, addr, component string, ctors ...injection.ControllerConstructor)
HealthCheckerMain wraps sharedmain.Main and therefore blocks until the controller is shutdown. The main difference is it starts a health endpoint on addr. Any constructor that implements HealthChecker will be used to determine if the endpoint returns a 204 or a 503.
func IsConflictOSBError ¶
Types ¶
type HealthChecker ¶
HealthChecker has a Healthy method that gets invoked periodically to determine the health of the controller.
Click to show internal directories.
Click to hide internal directories.