ingressip

package
v3.6.0-0.alpha.1.804.5... Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// It's necessary to allocate for the initial sync in consistent
	// order rather than in the order received.  This requires waiting
	// until the initial sync has been processed, and to avoid a hot
	// loop, we'll wait this long between checks.
	SyncProcessedPollPeriod = 100 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressIPController

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

IngressIPController is responsible for allocating ingress ip addresses to Service objects of type LoadBalancer.

func NewIngressIPController

func NewIngressIPController(kc kclientset.Interface, externalKubeClientset kclientsetexternal.Interface, ipNet *net.IPNet, resyncInterval time.Duration) *IngressIPController

NewIngressIPController creates a new IngressIPController. TODO this should accept a shared informer

func (*IngressIPController) Run

func (ic *IngressIPController) Run(stopCh <-chan struct{})

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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