operator

package
v0.0.0-...-56e15b1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 48 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 {
	config.Config

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

func (*Operator) IngressServiceUsesAuthSecret

func (op *Operator) IngressServiceUsesAuthSecret(ing *api.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

	LicenseFile    string
	ClientConfig   *rest.Config
	KubeClient     kubernetes.Interface
	WorkloadClient wcs.Interface
	CRDClient      crd_cs.Interface
	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