package
2.19.1
Repository: https://github.com/adevjoe/kooper.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

MustRetrieverFromListerWatcher returns a Retriever from a Kubernetes client-go cache.ListerWatcher if there is an error it will panic.
New creates a new controller that can be configured using the cfg parameter.
RetrieverFromListerWatcher returns a Retriever from a Kubernetes client-go cache.ListerWatcher.

# Variables

DummyMetricsRecorder is a dummy metrics recorder.
ErrControllerNotValid will be used when the controller has invalid configuration.

# Structs

Config is the controller configuration.

# Interfaces

Controller is the object that will implement the different kinds of controllers that will be running on the application.
Handler knows how to handle the received resources from a kubernetes cluster.
MetricsRecorder knows how to record metrics of a controller.
Retriever is how a controller will retrieve the events on the resources from the APÎ server.

# Type aliases

HandlerFunc knows how to handle resource adds.