controller

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "ingress-shim"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Client   kubernetes.Interface
	CMClient clientset.Interface
	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

func New

func New(
	certificatesInformer cminformers.CertificateInformer,
	ingressInformer extinformers.IngressInformer,
	issuerInformer cminformers.IssuerInformer,
	clusterIssuerInformer cminformers.ClusterIssuerInformer,
	client kubernetes.Interface,
	cmClient clientset.Interface,
	recorder record.EventRecorder,
	options *options.ControllerOptions,
) *Controller

New returns a new Certificates controller. It sets up the informer handler functions for all the types it watches.

func (*Controller) Run

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

func (*Controller) Sync

func (c *Controller) Sync(ctx context.Context, ing *extv1beta1.Ingress) error

Jump to

Keyboard shortcuts

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