package
0.6.1
Repository: https://github.com/cosi-project/runtime.git
Documentation: pkg.go.dev

# Functions

NewController creates a new TransformController.
WithExtraEventChannel adds an extra event channel to the controller.
WithExtraInputs adds extra inputs to the controller.
WithExtraOutputs adds extra outputs to the controller.
WithIgnoreTearingDownInputs makes controller treat tearing down inputs as 'normal' inputs.
WithInputFinalizers enables setting finalizers on controller inputs.
WithInputListOptions adds a filter on input resource list.
WithOnShutdownCallback adds a callback to be called when the controller is shutting down, either gracefully or due to an error.
WithOutputKind sets main output resource kind.

# Variables

MetricCycleBusy counts the number of seconds the controller was busy in the reconcile loop.
MetricReconcileCycles counts the number of times reconcile loop ran.
MetricReconcileInputItems counts the number of resources reconciled overall.

# Structs

Controller provides a generic implementation of a controller which implements controller transforming Input resources into Output resources.
ControllerOptions configures TransformController.
Settings configures the controller.
SkipReconcileTag is used to tag errors when reconciliation should be skipped without an error.

# Type aliases

ControllerOption is an option for TransformController.
OnShutdownCallback is a function called when the controller is shutting down, either gracefully or due to an error.