loadbalancer

package
v0.0.0-...-7fcd28e Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller implements a loadbalancer controller that assignes IPs to the loadbalancer Services from a predefined IP range USED ONLY FOR TESTING

func NewController

func NewController(cidr *net.IPNet,
	client clientset.Interface,
	serviceInformer coreinformers.ServiceInformer) *Controller

func (*Controller) Run

func (c *Controller) Run(workers int, stopCh <-chan struct{}) error

Run will not return until stopCh is closed. workers determines how many endpoints will be handled in parallel.

Jump to

Keyboard shortcuts

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