controller

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes Controllers

Definitions for the multicluster Kubernetes Controllers

Definitions for the Kubernetes Controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IstioOperatorDeletionReconciler

type IstioOperatorDeletionReconciler interface {
	ReconcileIstioOperatorDeletion(req reconcile.Request) error
}

Reconcile deletion events for the IstioOperator Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type IstioOperatorEventHandler

type IstioOperatorEventHandler interface {
	CreateIstioOperator(obj *install_istio_io_v1alpha1.IstioOperator) error
	UpdateIstioOperator(old, new *install_istio_io_v1alpha1.IstioOperator) error
	DeleteIstioOperator(obj *install_istio_io_v1alpha1.IstioOperator) error
	GenericIstioOperator(obj *install_istio_io_v1alpha1.IstioOperator) error
}

Handle events for the IstioOperator Resource DEPRECATED: Prefer reconciler pattern.

type IstioOperatorEventHandlerFuncs

type IstioOperatorEventHandlerFuncs struct {
	OnCreate  func(obj *install_istio_io_v1alpha1.IstioOperator) error
	OnUpdate  func(old, new *install_istio_io_v1alpha1.IstioOperator) error
	OnDelete  func(obj *install_istio_io_v1alpha1.IstioOperator) error
	OnGeneric func(obj *install_istio_io_v1alpha1.IstioOperator) error
}

func (*IstioOperatorEventHandlerFuncs) CreateIstioOperator

func (*IstioOperatorEventHandlerFuncs) DeleteIstioOperator

func (*IstioOperatorEventHandlerFuncs) GenericIstioOperator

func (*IstioOperatorEventHandlerFuncs) UpdateIstioOperator

func (f *IstioOperatorEventHandlerFuncs) UpdateIstioOperator(objOld, objNew *install_istio_io_v1alpha1.IstioOperator) error

type IstioOperatorEventWatcher

type IstioOperatorEventWatcher interface {
	AddEventHandler(ctx context.Context, h IstioOperatorEventHandler, predicates ...predicate.Predicate) error
}

func NewIstioOperatorEventWatcher

func NewIstioOperatorEventWatcher(name string, mgr manager.Manager) IstioOperatorEventWatcher

type IstioOperatorFinalizer

type IstioOperatorFinalizer interface {
	IstioOperatorReconciler

	// name of the finalizer used by this handler.
	// finalizer names should be unique for a single task
	IstioOperatorFinalizerName() string

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeIstioOperator(obj *install_istio_io_v1alpha1.IstioOperator) error
}

Reconcile and finalize the IstioOperator Resource implemented by the user

type IstioOperatorReconcileLoop

type IstioOperatorReconcileLoop interface {
	RunIstioOperatorReconciler(ctx context.Context, rec IstioOperatorReconciler, predicates ...predicate.Predicate) error
}

func NewIstioOperatorReconcileLoop

func NewIstioOperatorReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) IstioOperatorReconcileLoop

type IstioOperatorReconciler

type IstioOperatorReconciler interface {
	ReconcileIstioOperator(obj *install_istio_io_v1alpha1.IstioOperator) (reconcile.Result, error)
}

Reconcile Upsert events for the IstioOperator Resource. implemented by the user

type IstioOperatorReconcilerFuncs

type IstioOperatorReconcilerFuncs struct {
	OnReconcileIstioOperator         func(obj *install_istio_io_v1alpha1.IstioOperator) (reconcile.Result, error)
	OnReconcileIstioOperatorDeletion func(req reconcile.Request) error
}

func (*IstioOperatorReconcilerFuncs) ReconcileIstioOperator

func (*IstioOperatorReconcilerFuncs) ReconcileIstioOperatorDeletion

func (f *IstioOperatorReconcilerFuncs) ReconcileIstioOperatorDeletion(req reconcile.Request) error

type MulticlusterIstioOperatorDeletionReconciler

type MulticlusterIstioOperatorDeletionReconciler interface {
	ReconcileIstioOperatorDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the IstioOperator Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type MulticlusterIstioOperatorReconcileLoop

type MulticlusterIstioOperatorReconcileLoop interface {
	// AddMulticlusterIstioOperatorReconciler adds a MulticlusterIstioOperatorReconciler to the MulticlusterIstioOperatorReconcileLoop.
	AddMulticlusterIstioOperatorReconciler(ctx context.Context, rec MulticlusterIstioOperatorReconciler, predicates ...predicate.Predicate)
}

type MulticlusterIstioOperatorReconciler

type MulticlusterIstioOperatorReconciler interface {
	ReconcileIstioOperator(clusterName string, obj *install_istio_io_v1alpha1.IstioOperator) (reconcile.Result, error)
}

Reconcile Upsert events for the IstioOperator Resource across clusters. implemented by the user

type MulticlusterIstioOperatorReconcilerFuncs

type MulticlusterIstioOperatorReconcilerFuncs struct {
	OnReconcileIstioOperator         func(clusterName string, obj *install_istio_io_v1alpha1.IstioOperator) (reconcile.Result, error)
	OnReconcileIstioOperatorDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterIstioOperatorReconcilerFuncs) ReconcileIstioOperator

func (*MulticlusterIstioOperatorReconcilerFuncs) ReconcileIstioOperatorDeletion

func (f *MulticlusterIstioOperatorReconcilerFuncs) ReconcileIstioOperatorDeletion(clusterName string, req reconcile.Request) error

Directories

Path Synopsis
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.

Jump to

Keyboard shortcuts

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