namespace

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespaceController

func NewNamespaceController(k8sClientset *kubernetes.Clientset, calicoClient *client.Client) controller.Controller

NewNamespaceController Constructor for NamespaceController

Types

type NamespaceController

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

NamespaceController Implements Controller interface Responsible for monitoring kubernetes namespaces and syncing them to Calico datastore.

func (*NamespaceController) Run

func (c *NamespaceController) 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