Help us shape the future of Go! Take the 2026 Go Developer Survey

ingressip

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 21 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 kclient.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.

Source Files

  • controller.go

Jump to

Keyboard shortcuts

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