controller

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

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 EnvoyFilterDeletionReconciler

type EnvoyFilterDeletionReconciler interface {
	ReconcileEnvoyFilterDeletion(req reconcile.Request) error
}

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

type EnvoyFilterEventHandler

type EnvoyFilterEventHandler interface {
	CreateEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	UpdateEnvoyFilter(old, new *networking_istio_io_v1alpha3.EnvoyFilter) error
	DeleteEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	GenericEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

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

type EnvoyFilterEventHandlerFuncs

type EnvoyFilterEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnUpdate  func(old, new *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnDelete  func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnGeneric func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

func (*EnvoyFilterEventHandlerFuncs) CreateEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) DeleteEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) GenericEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) UpdateEnvoyFilter

func (f *EnvoyFilterEventHandlerFuncs) UpdateEnvoyFilter(objOld, objNew *networking_istio_io_v1alpha3.EnvoyFilter) error

type EnvoyFilterEventWatcher

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

func NewEnvoyFilterEventWatcher

func NewEnvoyFilterEventWatcher(name string, mgr manager.Manager) EnvoyFilterEventWatcher

type EnvoyFilterFinalizer

type EnvoyFilterFinalizer interface {
	EnvoyFilterReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

Reconcile and finalize the EnvoyFilter Resource implemented by the user

type EnvoyFilterReconcileLoop

type EnvoyFilterReconcileLoop interface {
	RunEnvoyFilterReconciler(ctx context.Context, rec EnvoyFilterReconciler, predicates ...predicate.Predicate) error
}

func NewEnvoyFilterReconcileLoop

func NewEnvoyFilterReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) EnvoyFilterReconcileLoop

type EnvoyFilterReconciler

type EnvoyFilterReconciler interface {
	ReconcileEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
}

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

type EnvoyFilterReconcilerFuncs

type EnvoyFilterReconcilerFuncs struct {
	OnReconcileEnvoyFilter         func(obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
	OnReconcileEnvoyFilterDeletion func(req reconcile.Request) error
}

func (*EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilter

func (*EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion

func (f *EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion(req reconcile.Request) error

type MulticlusterEnvoyFilterDeletionReconciler

type MulticlusterEnvoyFilterDeletionReconciler interface {
	ReconcileEnvoyFilterDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the EnvoyFilter 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 MulticlusterEnvoyFilterReconcileLoop

type MulticlusterEnvoyFilterReconcileLoop interface {
	// AddMulticlusterEnvoyFilterReconciler adds a MulticlusterEnvoyFilterReconciler to the MulticlusterEnvoyFilterReconcileLoop.
	AddMulticlusterEnvoyFilterReconciler(ctx context.Context, rec MulticlusterEnvoyFilterReconciler, predicates ...predicate.Predicate)
}

type MulticlusterEnvoyFilterReconciler

type MulticlusterEnvoyFilterReconciler interface {
	ReconcileEnvoyFilter(clusterName string, obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
}

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

type MulticlusterEnvoyFilterReconcilerFuncs

type MulticlusterEnvoyFilterReconcilerFuncs struct {
	OnReconcileEnvoyFilter         func(clusterName string, obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
	OnReconcileEnvoyFilterDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilter

func (*MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion

func (f *MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion(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