f5

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewF5Controller

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

NewF5Controller creates a F5 controller

Types

type F5Controller

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

F5Controller Controller to communicate with F5

func (*F5Controller) GetBindIP

func (ctr *F5Controller) GetBindIP(name string) (string, error)

GetBindIP returns the IP used by users to access their apps

func (*F5Controller) HandleConfigMapCreate

func (ctr *F5Controller) HandleConfigMapCreate(configMap *api.ConfigMap) error

HandleConfigMapCreate creates a new F5 pool, nodes, monitor and virtual server to provide loadbalancing to the app defined in the configmap

func (*F5Controller) HandleConfigMapDelete

func (ctr *F5Controller) HandleConfigMapDelete(configMap *api.ConfigMap)

HandleConfigMapDelete delete all the resources created in F5 for load balancing an app

func (*F5Controller) HandleNodeCreate

func (ctr *F5Controller) HandleNodeCreate(node *api.Node)

HandleNodeCreate creates new member for this node in every pool

func (*F5Controller) HandleNodeDelete

func (ctr *F5Controller) HandleNodeDelete(node *api.Node)

HandleNodeDelete deletes member for this node

func (*F5Controller) HandleNodeUpdate

func (ctr *F5Controller) 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 (*F5Controller) Name

func (ctr *F5Controller) 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