namespace

package
v4.3.0-beta.3+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL