Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { ControllerManager controller.Manager Informer coreinformers.NamespaceInformer }
Controller holds the connections for the controller
func NewNamespaceController ¶
func NewNamespaceController(controllerManager controller.Manager, informer coreinformers.NamespaceInformer) (*Controller, error)
NewNamespaceController creates a new namespace controller that will watch for namespace events as responds accordingly. This adding and removing controller groups as namespaces watched by the PostgreSQL Operator are added and deleted.
func (*Controller) AddNamespaceEventHandler ¶
func (c *Controller) AddNamespaceEventHandler()
AddNamespaceEventHandler adds the pod event handler to the namespace informer
Click to show internal directories.
Click to hide internal directories.