controllers

package
v0.0.0-...-ca7731e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapController

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

ConfigMapController watches Kubernetes API for ConfigMap changes and reconfigures keepalived and backend when needed

func NewConfigMapController

func NewConfigMapController(kubeClient *client.Client, resyncPeriod time.Duration, namespace string, controller factory.BackendController, runKeepalived bool) (*ConfigMapController, error)

NewConfigMapController creates a controller

func (*ConfigMapController) Run

func (configMapController *ConfigMapController) Run()

Run starts the configmap controller

type StoreToConfigMapLister

type StoreToConfigMapLister struct {
	cache.Store
}

StoreToConfigMapLister makes a Store that lists ConfigMap.

Jump to

Keyboard shortcuts

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