controller

package
v0.0.0-...-1a8a335 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	APIServerHost  string
	KubeConfigFile string
	Client         clientset.Interface

	ResyncPeriod time.Duration

	ConfigMapName string

	Namespace string

	ForceNamespaceIsolation bool

	FS                              filesystem.Filesystem
	LemonLDAPConfigurationDirectory string

	Command []string
}

Configuration stores lemonldap-ng-controller configuration

type LemonLDAPNGController

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

LemonLDAPNGController watches the kubernetes api for changes to ingresses

func NewLemonLDAPNGController

func NewLemonLDAPNGController(controllerConfig *Configuration) *LemonLDAPNGController

NewLemonLDAPNGController returns a new ingress controller

func (*LemonLDAPNGController) Run

func (c *LemonLDAPNGController) Run(stopCh <-chan struct{}) error

Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shutdown the workqueue and wait for workers to finish processing their current work items.

func (*LemonLDAPNGController) StartProcess

func (c *LemonLDAPNGController) StartProcess(stopCh <-chan struct{})

StartProcess starts a new LemonLDAP::NG master process running in foreground

Jump to

Keyboard shortcuts

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