policy

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterPolicyController added in v0.5.4

type ClusterPolicyController struct {
	// contains filtered or unexported fields
}

func NewClusterPolicyController added in v0.5.4

func NewClusterPolicyController(
	podInterface corev1.PodInterface,
	appsInterface appsv1.AppsV1Interface,
	varmorInterface varmorinterface.CrdV1beta1Interface,
	vcpInformer varmorinformer.VarmorClusterPolicyInformer,
	statusManager *statusmanager.StatusManager,
	restartExistWorkloads bool,
	enableBehaviorModeling bool,
	bpfExclusiveMode bool,
	debug bool,
	log logr.Logger) (*ClusterPolicyController, error)

NewClusterPolicyController create a new ClusterPolicyController

func (*ClusterPolicyController) CleanUp added in v0.5.4

func (c *ClusterPolicyController) CleanUp()

func (*ClusterPolicyController) Run added in v0.5.4

func (c *ClusterPolicyController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

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,
	enableBehaviorModeling bool,
	bpfExclusiveMode bool,
	debug bool,
	log logr.Logger) (*PolicyController, error)

NewPolicyController create a new PolicyController

func (*PolicyController) CleanUp

func (c *PolicyController) CleanUp()

func (*PolicyController) Run

func (c *PolicyController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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