controller

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventRecorderComponent = "sc-ingress-controller"
	QueueRetries           = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	ShowVersion       bool
	Namespace         string
	LeaderElectionCfg *config.LeaderElectionConfiguration
	KubeClient        *kubernetes.Clientset
	ResyncPeriod      time.Duration
	IngressClass      string
	CertManagerPrefix string
}

Configuration contains all the settings required by an Ingress controller

type IngressController

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

IngressController represents an Ingress Controller

func NewIngressController

func NewIngressController(config *Configuration, scClient *serverscom.Client, kubeClient *kubernetes.Clientset) *IngressController

NewIngressController creates a new ingress controller

func (*IngressController) Run

func (ic *IngressController) Run(stopCh chan struct{})

Run runs informers and workers to process queue

func (*IngressController) Stop

func (ic *IngressController) Stop()

Stop gracefully stops controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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