pod

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPodController

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

NewPodController Constructor for PodController

Types

type EndpointCache

type EndpointCache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

type PodController

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

PodController implements the Controller interface. It is responsible for monitoring kubernetes pods and updating workload endpoints in the Calico datastore if changed.

func (*PodController) Run

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

Run starts controller.Internally it starts syncing kubernetes and calico caches.

Jump to

Keyboard shortcuts

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