controller

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

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

Jump to

Keyboard shortcuts

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