controller

package
v1.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 MulticlusterVirtualDestinationDeletionReconciler

type MulticlusterVirtualDestinationDeletionReconciler interface {
	ReconcileVirtualDestinationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the VirtualDestination 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 MulticlusterVirtualDestinationReconcileLoop

type MulticlusterVirtualDestinationReconcileLoop interface {
	// AddMulticlusterVirtualDestinationReconciler adds a MulticlusterVirtualDestinationReconciler to the MulticlusterVirtualDestinationReconcileLoop.
	AddMulticlusterVirtualDestinationReconciler(ctx context.Context, rec MulticlusterVirtualDestinationReconciler, predicates ...predicate.Predicate)
}

type MulticlusterVirtualDestinationReconciler

type MulticlusterVirtualDestinationReconciler interface {
	ReconcileVirtualDestination(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) (reconcile.Result, error)
}

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

type MulticlusterVirtualDestinationReconcilerFuncs

type MulticlusterVirtualDestinationReconcilerFuncs struct {
	OnReconcileVirtualDestination         func(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) (reconcile.Result, error)
	OnReconcileVirtualDestinationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterVirtualDestinationReconcilerFuncs) ReconcileVirtualDestination

func (*MulticlusterVirtualDestinationReconcilerFuncs) ReconcileVirtualDestinationDeletion

func (f *MulticlusterVirtualDestinationReconcilerFuncs) ReconcileVirtualDestinationDeletion(clusterName string, req reconcile.Request) error

type MulticlusterWasmDeploymentDeletionReconciler

type MulticlusterWasmDeploymentDeletionReconciler interface {
	ReconcileWasmDeploymentDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the WasmDeployment 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 MulticlusterWasmDeploymentReconcileLoop

type MulticlusterWasmDeploymentReconcileLoop interface {
	// AddMulticlusterWasmDeploymentReconciler adds a MulticlusterWasmDeploymentReconciler to the MulticlusterWasmDeploymentReconcileLoop.
	AddMulticlusterWasmDeploymentReconciler(ctx context.Context, rec MulticlusterWasmDeploymentReconciler, predicates ...predicate.Predicate)
}

type MulticlusterWasmDeploymentReconciler

type MulticlusterWasmDeploymentReconciler interface {
	ReconcileWasmDeployment(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.WasmDeployment) (reconcile.Result, error)
}

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

type MulticlusterWasmDeploymentReconcilerFuncs

type MulticlusterWasmDeploymentReconcilerFuncs struct {
	OnReconcileWasmDeployment         func(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.WasmDeployment) (reconcile.Result, error)
	OnReconcileWasmDeploymentDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeployment

func (*MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion

func (f *MulticlusterWasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion(clusterName string, req reconcile.Request) error

type VirtualDestinationDeletionReconciler

type VirtualDestinationDeletionReconciler interface {
	ReconcileVirtualDestinationDeletion(req reconcile.Request) error
}

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

type VirtualDestinationEventHandler

type VirtualDestinationEventHandler interface {
	CreateVirtualDestination(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) error
	UpdateVirtualDestination(old, new *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) error
	DeleteVirtualDestination(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) error
	GenericVirtualDestination(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) error
}

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

type VirtualDestinationEventWatcher

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

func NewVirtualDestinationEventWatcher

func NewVirtualDestinationEventWatcher(name string, mgr manager.Manager) VirtualDestinationEventWatcher

type VirtualDestinationFinalizer

type VirtualDestinationFinalizer interface {
	VirtualDestinationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeVirtualDestination(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) error
}

Reconcile and finalize the VirtualDestination Resource implemented by the user

type VirtualDestinationReconcileLoop

type VirtualDestinationReconcileLoop interface {
	RunVirtualDestinationReconciler(ctx context.Context, rec VirtualDestinationReconciler, predicates ...predicate.Predicate) error
}

func NewVirtualDestinationReconcileLoop

func NewVirtualDestinationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) VirtualDestinationReconcileLoop

type VirtualDestinationReconciler

type VirtualDestinationReconciler interface {
	ReconcileVirtualDestination(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) (reconcile.Result, error)
}

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

type VirtualDestinationReconcilerFuncs

type VirtualDestinationReconcilerFuncs struct {
	OnReconcileVirtualDestination         func(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.VirtualDestination) (reconcile.Result, error)
	OnReconcileVirtualDestinationDeletion func(req reconcile.Request) error
}

func (*VirtualDestinationReconcilerFuncs) ReconcileVirtualDestination

func (*VirtualDestinationReconcilerFuncs) ReconcileVirtualDestinationDeletion

func (f *VirtualDestinationReconcilerFuncs) ReconcileVirtualDestinationDeletion(req reconcile.Request) error

type WasmDeploymentDeletionReconciler

type WasmDeploymentDeletionReconciler interface {
	ReconcileWasmDeploymentDeletion(req reconcile.Request) error
}

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

type WasmDeploymentEventHandler

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

type WasmDeploymentEventWatcher

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

func NewWasmDeploymentEventWatcher

func NewWasmDeploymentEventWatcher(name string, mgr manager.Manager) WasmDeploymentEventWatcher

type WasmDeploymentFinalizer

type WasmDeploymentFinalizer interface {
	WasmDeploymentReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.WasmDeployment) error
}

Reconcile and finalize the WasmDeployment Resource implemented by the user

type WasmDeploymentReconcileLoop

type WasmDeploymentReconcileLoop interface {
	RunWasmDeploymentReconciler(ctx context.Context, rec WasmDeploymentReconciler, predicates ...predicate.Predicate) error
}

func NewWasmDeploymentReconcileLoop

func NewWasmDeploymentReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) WasmDeploymentReconcileLoop

type WasmDeploymentReconciler

type WasmDeploymentReconciler interface {
	ReconcileWasmDeployment(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.WasmDeployment) (reconcile.Result, error)
}

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

type WasmDeploymentReconcilerFuncs

type WasmDeploymentReconcilerFuncs struct {
	OnReconcileWasmDeployment         func(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.WasmDeployment) (reconcile.Result, error)
	OnReconcileWasmDeploymentDeletion func(req reconcile.Request) error
}

func (*WasmDeploymentReconcilerFuncs) ReconcileWasmDeployment

func (*WasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion

func (f *WasmDeploymentReconcilerFuncs) ReconcileWasmDeploymentDeletion(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