operator

package
v0.0.0-...-d0c0f99 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2017 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator struct {
	KubeClient clientset.Interface
	ExtClient  tcs.ExtensionInterface
	PromClient pcm.MonitoringV1alpha1Interface
	Opt        config.Options

	SyncPeriod time.Duration
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(
	kubeClient clientset.Interface,
	extClient tcs.ExtensionInterface,
	promClient pcm.MonitoringV1alpha1Interface,
	opt config.Options,
) *Operator

func (*Operator) AddEngress

func (op *Operator) AddEngress(engress *tapi.Ingress)

func (*Operator) DeleteEngress

func (op *Operator) DeleteEngress(engress *tapi.Ingress)

func (*Operator) PurgeOffshootsWithDeprecatedLabels

func (op *Operator) PurgeOffshootsWithDeprecatedLabels() error

func (*Operator) Run

func (op *Operator) Run()

func (*Operator) Setup

func (op *Operator) Setup() error

func (*Operator) UpdateEngress

func (op *Operator) UpdateEngress(oldEngress, newEngress *tapi.Ingress)

func (*Operator) WatchCertificateTPRs

func (op *Operator) WatchCertificateTPRs()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchConfigMaps

func (op *Operator) WatchConfigMaps()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchDaemonSets

func (op *Operator) WatchDaemonSets()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchDeployments

func (op *Operator) WatchDeployments()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchEndpoints

func (op *Operator) WatchEndpoints()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchIngressTPRs

func (op *Operator) WatchIngressTPRs()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchIngresses

func (op *Operator) WatchIngresses()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchNamespaces

func (op *Operator) WatchNamespaces()

Blocks caller. Intended to be called as a Go routine. ref: https://github.com/kubernetes/kubernetes/issues/46736

func (*Operator) WatchServiceMonitors

func (op *Operator) WatchServiceMonitors()

Blocks caller. Intended to be called as a Go routine.

func (*Operator) WatchServices

func (op *Operator) WatchServices()

Blocks caller. Intended to be called as a Go routine.

Jump to

Keyboard shortcuts

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