controller

package
v1.1.0-beta10 Latest Latest
Warning

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

Go to latest
Published: May 28, 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 MulticlusterServiceDependencyDeletionReconciler added in v1.1.0

type MulticlusterServiceDependencyDeletionReconciler interface {
	ReconcileServiceDependencyDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the ServiceDependency 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 MulticlusterServiceDependencyReconcileLoop added in v1.1.0

type MulticlusterServiceDependencyReconcileLoop interface {
	// AddMulticlusterServiceDependencyReconciler adds a MulticlusterServiceDependencyReconciler to the MulticlusterServiceDependencyReconcileLoop.
	AddMulticlusterServiceDependencyReconciler(ctx context.Context, rec MulticlusterServiceDependencyReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterServiceDependencyReconcileLoop added in v1.1.0

func NewMulticlusterServiceDependencyReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterServiceDependencyReconcileLoop

type MulticlusterServiceDependencyReconciler added in v1.1.0

type MulticlusterServiceDependencyReconciler interface {
	ReconcileServiceDependency(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) (reconcile.Result, error)
}

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

type MulticlusterServiceDependencyReconcilerFuncs added in v1.1.0

type MulticlusterServiceDependencyReconcilerFuncs struct {
	OnReconcileServiceDependency         func(clusterName string, obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) (reconcile.Result, error)
	OnReconcileServiceDependencyDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterServiceDependencyReconcilerFuncs) ReconcileServiceDependency added in v1.1.0

func (*MulticlusterServiceDependencyReconcilerFuncs) ReconcileServiceDependencyDeletion added in v1.1.0

func (f *MulticlusterServiceDependencyReconcilerFuncs) ReconcileServiceDependencyDeletion(clusterName string, req reconcile.Request) error

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 ServiceDependencyDeletionReconciler added in v1.1.0

type ServiceDependencyDeletionReconciler interface {
	ReconcileServiceDependencyDeletion(req reconcile.Request) error
}

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

type ServiceDependencyEventHandler added in v1.1.0

type ServiceDependencyEventHandler interface {
	CreateServiceDependency(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) error
	UpdateServiceDependency(old, new *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) error
	DeleteServiceDependency(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) error
	GenericServiceDependency(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) error
}

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

type ServiceDependencyEventHandlerFuncs added in v1.1.0

func (*ServiceDependencyEventHandlerFuncs) CreateServiceDependency added in v1.1.0

func (*ServiceDependencyEventHandlerFuncs) DeleteServiceDependency added in v1.1.0

func (*ServiceDependencyEventHandlerFuncs) GenericServiceDependency added in v1.1.0

func (*ServiceDependencyEventHandlerFuncs) UpdateServiceDependency added in v1.1.0

type ServiceDependencyEventWatcher added in v1.1.0

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

func NewServiceDependencyEventWatcher added in v1.1.0

func NewServiceDependencyEventWatcher(name string, mgr manager.Manager) ServiceDependencyEventWatcher

type ServiceDependencyFinalizer added in v1.1.0

type ServiceDependencyFinalizer interface {
	ServiceDependencyReconciler

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

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

Reconcile and finalize the ServiceDependency Resource implemented by the user

type ServiceDependencyReconcileLoop added in v1.1.0

type ServiceDependencyReconcileLoop interface {
	RunServiceDependencyReconciler(ctx context.Context, rec ServiceDependencyReconciler, predicates ...predicate.Predicate) error
}

func NewServiceDependencyReconcileLoop added in v1.1.0

func NewServiceDependencyReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) ServiceDependencyReconcileLoop

type ServiceDependencyReconciler added in v1.1.0

type ServiceDependencyReconciler interface {
	ReconcileServiceDependency(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) (reconcile.Result, error)
}

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

type ServiceDependencyReconcilerFuncs added in v1.1.0

type ServiceDependencyReconcilerFuncs struct {
	OnReconcileServiceDependency         func(obj *networking_enterprise_mesh_gloo_solo_io_v1beta1.ServiceDependency) (reconcile.Result, error)
	OnReconcileServiceDependencyDeletion func(req reconcile.Request) error
}

func (*ServiceDependencyReconcilerFuncs) ReconcileServiceDependency added in v1.1.0

func (*ServiceDependencyReconcilerFuncs) ReconcileServiceDependencyDeletion added in v1.1.0

func (f *ServiceDependencyReconcilerFuncs) ReconcileServiceDependencyDeletion(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