ingress

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ControllerName name of the controler
	ControllerName = "ingresses"
	// UserAgentName name of the user agent
	UserAgentName = "federation-ingresses-controller"
)

Variables

This section is empty.

Functions

func BuildGlobalLbStatusAnnotation

func BuildGlobalLbStatusAnnotation(globalLbStat map[string][]v1.LoadBalancerStatus) string

BuildGlobalLbStatusAnnotation marshalls the load balancer status

func StartFederatedIngressController

func StartFederatedIngressController(config *restclient.Config, options *opt.FederatedIngressControllerOptions, stopChan <-chan struct{})

StartFederatedIngressController starts a new federated ingress controller

Types

type IngressController

type IngressController struct {
	sync.Mutex // Lock used for leader election
	// contains filtered or unexported fields
}

IngressController ingress controller at federation level

func NewIngressController

func NewIngressController(client federationclientset.Interface) *IngressController

NewIngressController returns a new ingress controller

func (*IngressController) Run

func (ic *IngressController) Run(stopChan <-chan struct{})

Run the ingress controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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