# Functions
GetGlobalStatus returns the status of all controllers.
NewManager allocates a new manager.
NoopFunc is a no-op placeholder for DoFunc & StopFunc.
# Structs
Controller is a simple pattern that allows to perform the following tasks: - Run an operation in the background and retry until it succeeds - Perform a regular sync operation in the background
A controller has configurable retry intervals and will collect statistics on number of successful runs, number of failures, last error message, and last error timestamp.
ControllerParams contains all parameters of a controller.
ExitReason is a returnable type from DoFunc that causes the controller to exit.
Manager is a list of controllers.
# Type aliases
ControllerFunc is a function that the controller runs.