controller

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Feb 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 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_v1alpha1.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_v1alpha1.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 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_v1alpha1.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_v1alpha1.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_v1alpha1.WasmDeployment) (reconcile.Result, error)
	OnReconcileWasmDeploymentDeletion func(req reconcile.Request) error
}

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