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
}
func NewPolicyController ¶
func NewPolicyController( podInterface corev1.PodInterface, appsInterface appsv1.AppsV1Interface, varmorInterface varmorinterface.CrdV1beta1Interface, vpInformer varmorinformer.VarmorPolicyInformer, statusManager *statusmanager.StatusManager, restartExistWorkloads bool, enableDefenseInDepth bool, debug bool, log logr.Logger) (*PolicyController, error)
NewPolicyController create a new PolicyController
func (*PolicyController) CleanUp ¶
func (pc *PolicyController) CleanUp()
func (*PolicyController) Run ¶
func (pc *PolicyController) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.