Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyController ¶
type PolicyController struct {
// contains filtered or unexported fields
}
PolicyController to manage Policy CRD
func NewPolicyController ¶
func NewPolicyController(client *client.Client, policyInformer sharedinformer.PolicyInformer, violationBuilder violation.Generator, eventController event.Generator, annotationsController annotations.Controller, filterK8Resources string) *PolicyController
NewPolicyController from cmd args
func (*PolicyController) Run ¶
func (pc *PolicyController) Run(stopCh <-chan struct{}) error
Run is main controller thread
func (*PolicyController) Stop ¶
func (pc *PolicyController) Stop()
Stop to perform actions when controller is stopped
Click to show internal directories.
Click to hide internal directories.