controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadBalancerController

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

LoadBalancerController is a kubernetes load balancer controller

func NewLoadBalancerController

func NewLoadBalancerController(client *client.Client, namespace string, resyncPeriod time.Duration, balancerIP string, lbManager balancer.Manager, configMapLB string, ingressFilterNeeded bool, ingressFilter []string) *LoadBalancerController

NewLoadBalancerController creates a new LoadBalancerController TODO balancerIP should be a string array

func (*LoadBalancerController) Run

func (lbc *LoadBalancerController) Run()

Run starts the load balancer control loop

func (*LoadBalancerController) Stop

func (lbc *LoadBalancerController) Stop() error

Stop stops the loadbalancer controller

Jump to

Keyboard shortcuts

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