lbaasv2

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

func NewLBaaSController

func NewLBaaSController(kubeClient *unversioned.Client, watchNamespace string, conf map[string]string, configLabelKey, configLabelValue string) (backend.BackendController, error)

NewLBaaSController creates a LBaaS controller

Types

type LBaaSController

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

LBaaSController Controller to manage LBaaS resources

func (*LBaaSController) GetBindIP

func (lbaas *LBaaSController) GetBindIP(name string) (string, error)

GetBindIP returns the IP used by users to access their apps

func (*LBaaSController) HandleConfigMapCreate

func (lbaas *LBaaSController) HandleConfigMapCreate(configMap *api.ConfigMap) error

HandleConfigMapCreate creates a new lbaas loadbalancer resource

func (*LBaaSController) HandleConfigMapDelete

func (lbaas *LBaaSController) HandleConfigMapDelete(configMap *api.ConfigMap)

HandleConfigMapDelete delete the lbaas loadbalancer resource

func (*LBaaSController) HandleNodeCreate

func (lbaas *LBaaSController) HandleNodeCreate(node *api.Node)

HandleNodeCreate creates new member for this node in every loadbalancer pool

func (*LBaaSController) HandleNodeDelete

func (lbaas *LBaaSController) HandleNodeDelete(node *api.Node)

HandleNodeDelete deletes member for this node

func (*LBaaSController) HandleNodeUpdate

func (lbaas *LBaaSController) HandleNodeUpdate(oldNode *api.Node, curNode *api.Node)

HandleNodeUpdate updates IP of the member for this node if it exists. If it doesnt, it will create a new member

func (*LBaaSController) Name

func (lbaas *LBaaSController) Name() string

Name returns the name of the backend controller

Jump to

Keyboard shortcuts

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