operator

package
v0.0.0-...-f656c03 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 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

	KubeClient    kubernetes.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) MigrateCertificate

func (op *Operator) MigrateCertificate(cert *api.Certificate) (bool, error)

https://github.com/appscode/voyager/issues/505

func (*Operator) MigrateCertificates

func (op *Operator) MigrateCertificates() error

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
	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
⌂ 换网址