networkpolicy

package
v1.0.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyController

func NewPolicyController(extensionsClient *rest.RESTClient, calicoClient *client.Client) controller.Controller

NewPolicyController Constructor for PolicyController

Types

type PolicyController

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

PolicyController Implements Controller interface Responsible for monitoring kubernetes network policies and syncing them to Calico datastore.

func (*PolicyController) Run

func (c *PolicyController) Run(threadiness int, reconcilerPeriod string, stopCh chan struct{})

Run starts the controller.

Jump to

Keyboard shortcuts

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