Documentation ¶
Overview ¶
Package controller contains implementation and defition to create kubernetes controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Run runs the controller, it receives a channel that when receiving a signal it will stop the controller, // Run will block until it's stopped. Run(stopper <-chan struct{}) error }
Controller is the object that will implement the different kinds of controllers that will be running on the application.
func NewConcurrent ¶ added in v0.2.0
func NewConcurrent(concurrentWorkers int, resync time.Duration, handler handler.Handler, retriever retrieve.Retriever, metricRecorder metrics.Recorder, logger log.Logger) (Controller, error)
NewConcurrent creates a new controller that will process the received events concurrently.
Click to show internal directories.
Click to hide internal directories.