controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IngressClassAnnotation = "kubernetes.io/ingress.class"
	IgnoreAnnotation       = "ingress.statcan.gc.ca/ignore"
	GatewaysAnnotation     = "ingress.statcan.gc.ca/gateways"
)

Functions

This section is empty.

Types

type Controller

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

Controller responds to new resources and applies the necessary configuration

func NewController

func NewController(
	kubeclientset kubernetes.Interface,
	istioclientset istio.Interface,
	clusterDomain string,
	defaultGateway string,
	ingressClass string,
	defaultWeight int,
	ingressesInformer networkinginformers.IngressInformer,
	servicesInformer corev1informers.ServiceInformer,
	virtualServicesInformer istionetworkinginformers.VirtualServiceInformer) *Controller

NewController creates a new Controller object.

func (*Controller) Run

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

Run runs the controller.

Jump to

Keyboard shortcuts

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