ingress

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 25 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 describes an ingress controller

func NewController

func NewController(cfg ControllerConfig) *Controller

NewController returns a new ingress controller

func (*Controller) Run

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

Run starts the controller threads

type ControllerConfig

type ControllerConfig struct {
	Client           kubernetes.Interface
	IngressInformer  extensionsinformers.IngressInformer
	IngressWorkQueue workqueue.RateLimitingInterface

	RolloutsInformer informers.RolloutInformer
	RolloutWorkQueue workqueue.RateLimitingInterface

	MetricsServer *metrics.MetricsServer
	ALBClasses    []string
	NGINXClasses  []string
}

ControllerConfig describes the data required to instantiate a new ingress controller

Jump to

Keyboard shortcuts

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