ingress

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 22 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(ctx context.Context, threadiness int) error

Run starts the controller threads

type ControllerConfig

type ControllerConfig struct {
	Client           kubernetes.Interface
	IngressWrap      *ingressutil.IngressWrap
	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

type IngressWrapper added in v1.2.0

type IngressWrapper interface {
	GetCached(namespace, name string) (*ingressutil.Ingress, error)
	Update(ctx context.Context, namespace string, ingress *ingressutil.Ingress) (*ingressutil.Ingress, error)
}

Jump to

Keyboard shortcuts

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