package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# Functions
LoadKubeStateForResync loads Kubernetes state from given DB for resync.
NewPlugin creates a new Plugin with the provided Options.
ResyncDatabase updates database content to reflect the given Kubernetes state data.
UseDeps returns Option that can inject custom dependencies.
# Variables
DefaultPlugin is a default instance of Controller.
ErrClosedController is returned when Controller is used when it is already closed.
ErrClosedWatcher is returned when dbWatcher is used when it is already closed.
ErrEventLoopIsAborting returned to an event producer via method Event.Done() when event loop is aborting after a fatal error has occurred.
ErrEventQueueFull is returned when queue for events is full.
ErrResyncReqQueueFull is returned when queue for resync request is full.
# Structs
Config holds the Controller configuration.
Controller implements single event loop for Contiv.
Deps lists dependencies of the Controller.
EventHandlingRecord is a record of an event being handled by a given handler.
EventRecord is a record of a processed event, added into the history of events, available via REST interface.
QueuedEvent wraps event for the event queue.
# Interfaces
ExternalConfigSource defines API that a source of external configuration must implement.
# Type aliases
Option is a function that can be used in NewPlugin to customize Plugin.