package
1.9.2
Repository: https://github.com/kubevela/pkg.git
Documentation: pkg.go.dev

# Functions

AddFlags add flags for controller reconciles.
AddReconcileTimeoutFlags add flags for controller reconcile timeout.
BaseContextFrom extract base context from context.
IsPaused check if the target object should skip reconcile.
NewReconcileContext create context with default timeout (60s).
NewReconcileTerminationContext create context with graceful period to timeout for terminating reconciles.
NewTriggerHandler get name and namespace from query params, add it to the event channel.
RegisterTriggerHandler register trigger handler to the webhook server of mgr.
SetPause set if the target object should skip reconcile.
WithBaseContext wraps context with base context.

# Constants

LabelPause skip reconcile for objects that contains the label and with value "true".
ValueTrue true value.

# Variables

ReconcileTerminationGracefulPeriod graceful period for terminating reconcile.
ReconcileTimeout timeout for controller to reconcile.