Documentation ¶
Index ¶
Constants ¶
View Source
const ( Add = iota Update Delete )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(log logger.Logger, config Config, client kubernetes.Interface, handler Handlerer) *Controller
New initializes a new controller which is used to watch namespaces.
func (*Controller) Watch ¶
func (c *Controller) Watch(stopCh chan struct{})
Watch uses the informer to watch for namespace state changes in the cluster.
Click to show internal directories.
Click to hide internal directories.