Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches the 'Namespace' resource creation/update and applied the generation rules on them
func NewGenController ¶
func NewGenController(client *client.Client, eventController event.Generator, policyInformer policySharedInformer.PolicyInformer, violationBuilder violation.Generator, namespaceInformer v1Informer.NamespaceInformer) *Controller
NewGenController returns a new Controller to manage generation rules
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{}) error
Run to run the controller
Click to show internal directories.
Click to hide internal directories.