operator

package
v0.0.0-...-607a5b3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 51 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator struct {
	config.Config

	ClientConfig   *rest.Config
	KubeClient     kubernetes.Interface
	WorkloadClient wcs.Interface
	CRDClient      kext_cs.ApiextensionsV1beta1Interface
	VoyagerClient  cs.Interface
	PromClient     prom.MonitoringV1Interface
	// contains filtered or unexported fields
}

func (*Operator) CheckCertificates

func (op *Operator) CheckCertificates()

func (*Operator) IngressServiceUsesAuthSecret

func (op *Operator) IngressServiceUsesAuthSecret(ing *tapi.Ingress, secret *core.Secret) bool

func (*Operator) PurgeOffshootsDaemonSet

func (op *Operator) PurgeOffshootsDaemonSet() error

func (*Operator) PurgeOffshootsWithDeprecatedLabels

func (op *Operator) PurgeOffshootsWithDeprecatedLabels() error

func (*Operator) Run

func (w *Operator) Run(stopCh <-chan struct{})

func (*Operator) RunInformers

func (op *Operator) RunInformers(stopCh <-chan struct{})

func (*Operator) ValidateIngress

func (op *Operator) ValidateIngress() error

type OperatorConfig

type OperatorConfig struct {
	config.Config

	ClientConfig   *rest.Config
	KubeClient     kubernetes.Interface
	WorkloadClient wcs.Interface
	CRDClient      kext_cs.ApiextensionsV1beta1Interface
	VoyagerClient  cs.Interface
	PromClient     prom.MonitoringV1Interface
	AdmissionHooks []hooks.AdmissionHook
}

func NewOperatorConfig

func NewOperatorConfig(clientConfig *rest.Config) *OperatorConfig

func (*OperatorConfig) New

func (c *OperatorConfig) New() (*Operator, error)

Jump to

Keyboard shortcuts

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