controller

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 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 GatewayClassDeletionReconciler added in v0.2.2

type GatewayClassDeletionReconciler interface {
	ReconcileGatewayClassDeletion(req reconcile.Request) error
}

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

type GatewayClassEventHandler added in v0.2.2

type GatewayClassEventHandler interface {
	CreateGatewayClass(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	UpdateGatewayClass(old, new *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	DeleteGatewayClass(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	GenericGatewayClass(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
}

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

type GatewayClassEventHandlerFuncs added in v0.2.2

type GatewayClassEventHandlerFuncs struct {
	OnCreate  func(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	OnUpdate  func(old, new *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	OnDelete  func(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
	OnGeneric func(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
}

func (*GatewayClassEventHandlerFuncs) CreateGatewayClass added in v0.2.2

func (*GatewayClassEventHandlerFuncs) DeleteGatewayClass added in v0.2.2

func (*GatewayClassEventHandlerFuncs) GenericGatewayClass added in v0.2.2

func (*GatewayClassEventHandlerFuncs) UpdateGatewayClass added in v0.2.2

type GatewayClassEventWatcher added in v0.2.2

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

func NewGatewayClassEventWatcher added in v0.2.2

func NewGatewayClassEventWatcher(name string, mgr manager.Manager) GatewayClassEventWatcher

type GatewayClassFinalizer added in v0.2.2

type GatewayClassFinalizer interface {
	GatewayClassReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeGatewayClass(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) error
}

Reconcile and finalize the GatewayClass Resource implemented by the user

type GatewayClassReconcileLoop added in v0.2.2

type GatewayClassReconcileLoop interface {
	RunGatewayClassReconciler(ctx context.Context, rec GatewayClassReconciler, predicates ...predicate.Predicate) error
}

func NewGatewayClassReconcileLoop added in v0.2.2

func NewGatewayClassReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) GatewayClassReconcileLoop

type GatewayClassReconciler added in v0.2.2

type GatewayClassReconciler interface {
	ReconcileGatewayClass(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) (reconcile.Result, error)
}

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

type GatewayClassReconcilerFuncs added in v0.2.2

type GatewayClassReconcilerFuncs struct {
	OnReconcileGatewayClass         func(obj *gateway_networking_k8s_io_v1beta1.GatewayClass) (reconcile.Result, error)
	OnReconcileGatewayClassDeletion func(req reconcile.Request) error
}

func (*GatewayClassReconcilerFuncs) ReconcileGatewayClass added in v0.2.2

func (*GatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion added in v0.2.2

func (f *GatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion(req reconcile.Request) error

type GatewayDeletionReconciler

type GatewayDeletionReconciler interface {
	ReconcileGatewayDeletion(req reconcile.Request) error
}

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

type GatewayEventHandler

type GatewayEventHandler interface {
	CreateGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
	UpdateGateway(old, new *gateway_networking_k8s_io_v1beta1.Gateway) error
	DeleteGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
	GenericGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
}

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

type GatewayEventHandlerFuncs

type GatewayEventHandlerFuncs struct {
	OnCreate  func(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
	OnUpdate  func(old, new *gateway_networking_k8s_io_v1beta1.Gateway) error
	OnDelete  func(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
	OnGeneric func(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
}

func (*GatewayEventHandlerFuncs) CreateGateway

func (*GatewayEventHandlerFuncs) DeleteGateway

func (*GatewayEventHandlerFuncs) GenericGateway

func (*GatewayEventHandlerFuncs) UpdateGateway

func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *gateway_networking_k8s_io_v1beta1.Gateway) error

type GatewayEventWatcher

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

func NewGatewayEventWatcher

func NewGatewayEventWatcher(name string, mgr manager.Manager) GatewayEventWatcher

type GatewayFinalizer

type GatewayFinalizer interface {
	GatewayReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
}

Reconcile and finalize the Gateway Resource implemented by the user

type GatewayReconcileLoop

type GatewayReconcileLoop interface {
	RunGatewayReconciler(ctx context.Context, rec GatewayReconciler, predicates ...predicate.Predicate) error
}

func NewGatewayReconcileLoop

func NewGatewayReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) GatewayReconcileLoop

type GatewayReconciler

type GatewayReconciler interface {
	ReconcileGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
}

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

type GatewayReconcilerFuncs

type GatewayReconcilerFuncs struct {
	OnReconcileGateway         func(obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
	OnReconcileGatewayDeletion func(req reconcile.Request) error
}

func (*GatewayReconcilerFuncs) ReconcileGateway

func (*GatewayReconcilerFuncs) ReconcileGatewayDeletion

func (f *GatewayReconcilerFuncs) ReconcileGatewayDeletion(req reconcile.Request) error

type HTTPRouteDeletionReconciler added in v0.2.2

type HTTPRouteDeletionReconciler interface {
	ReconcileHTTPRouteDeletion(req reconcile.Request) error
}

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

type HTTPRouteEventHandler added in v0.2.2

type HTTPRouteEventHandler interface {
	CreateHTTPRoute(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	UpdateHTTPRoute(old, new *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	DeleteHTTPRoute(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	GenericHTTPRoute(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
}

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

type HTTPRouteEventHandlerFuncs added in v0.2.2

type HTTPRouteEventHandlerFuncs struct {
	OnCreate  func(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	OnUpdate  func(old, new *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	OnDelete  func(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
	OnGeneric func(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
}

func (*HTTPRouteEventHandlerFuncs) CreateHTTPRoute added in v0.2.2

func (*HTTPRouteEventHandlerFuncs) DeleteHTTPRoute added in v0.2.2

func (*HTTPRouteEventHandlerFuncs) GenericHTTPRoute added in v0.2.2

func (*HTTPRouteEventHandlerFuncs) UpdateHTTPRoute added in v0.2.2

type HTTPRouteEventWatcher added in v0.2.2

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

func NewHTTPRouteEventWatcher added in v0.2.2

func NewHTTPRouteEventWatcher(name string, mgr manager.Manager) HTTPRouteEventWatcher

type HTTPRouteFinalizer added in v0.2.2

type HTTPRouteFinalizer interface {
	HTTPRouteReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeHTTPRoute(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) error
}

Reconcile and finalize the HTTPRoute Resource implemented by the user

type HTTPRouteReconcileLoop added in v0.2.2

type HTTPRouteReconcileLoop interface {
	RunHTTPRouteReconciler(ctx context.Context, rec HTTPRouteReconciler, predicates ...predicate.Predicate) error
}

func NewHTTPRouteReconcileLoop added in v0.2.2

func NewHTTPRouteReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) HTTPRouteReconcileLoop

type HTTPRouteReconciler added in v0.2.2

type HTTPRouteReconciler interface {
	ReconcileHTTPRoute(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) (reconcile.Result, error)
}

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

type HTTPRouteReconcilerFuncs added in v0.2.2

type HTTPRouteReconcilerFuncs struct {
	OnReconcileHTTPRoute         func(obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) (reconcile.Result, error)
	OnReconcileHTTPRouteDeletion func(req reconcile.Request) error
}

func (*HTTPRouteReconcilerFuncs) ReconcileHTTPRoute added in v0.2.2

func (*HTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion added in v0.2.2

func (f *HTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion(req reconcile.Request) error

type MulticlusterGatewayClassDeletionReconciler added in v0.2.2

type MulticlusterGatewayClassDeletionReconciler interface {
	ReconcileGatewayClassDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the GatewayClass 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 MulticlusterGatewayClassReconcileLoop added in v0.2.2

type MulticlusterGatewayClassReconcileLoop interface {
	// AddMulticlusterGatewayClassReconciler adds a MulticlusterGatewayClassReconciler to the MulticlusterGatewayClassReconcileLoop.
	AddMulticlusterGatewayClassReconciler(ctx context.Context, rec MulticlusterGatewayClassReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterGatewayClassReconcileLoop added in v0.2.2

func NewMulticlusterGatewayClassReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterGatewayClassReconcileLoop

type MulticlusterGatewayClassReconciler added in v0.2.2

type MulticlusterGatewayClassReconciler interface {
	ReconcileGatewayClass(clusterName string, obj *gateway_networking_k8s_io_v1beta1.GatewayClass) (reconcile.Result, error)
}

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

type MulticlusterGatewayClassReconcilerFuncs added in v0.2.2

type MulticlusterGatewayClassReconcilerFuncs struct {
	OnReconcileGatewayClass         func(clusterName string, obj *gateway_networking_k8s_io_v1beta1.GatewayClass) (reconcile.Result, error)
	OnReconcileGatewayClassDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterGatewayClassReconcilerFuncs) ReconcileGatewayClass added in v0.2.2

func (*MulticlusterGatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion added in v0.2.2

func (f *MulticlusterGatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion(clusterName string, req reconcile.Request) error

type MulticlusterGatewayDeletionReconciler

type MulticlusterGatewayDeletionReconciler interface {
	ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Gateway 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 MulticlusterGatewayReconcileLoop

type MulticlusterGatewayReconcileLoop interface {
	// AddMulticlusterGatewayReconciler adds a MulticlusterGatewayReconciler to the MulticlusterGatewayReconcileLoop.
	AddMulticlusterGatewayReconciler(ctx context.Context, rec MulticlusterGatewayReconciler, predicates ...predicate.Predicate)
}

type MulticlusterGatewayReconciler

type MulticlusterGatewayReconciler interface {
	ReconcileGateway(clusterName string, obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
}

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

type MulticlusterGatewayReconcilerFuncs

type MulticlusterGatewayReconcilerFuncs struct {
	OnReconcileGateway         func(clusterName string, obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
	OnReconcileGatewayDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGateway

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion

func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error

type MulticlusterHTTPRouteDeletionReconciler added in v0.2.2

type MulticlusterHTTPRouteDeletionReconciler interface {
	ReconcileHTTPRouteDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the HTTPRoute 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 MulticlusterHTTPRouteReconcileLoop added in v0.2.2

type MulticlusterHTTPRouteReconcileLoop interface {
	// AddMulticlusterHTTPRouteReconciler adds a MulticlusterHTTPRouteReconciler to the MulticlusterHTTPRouteReconcileLoop.
	AddMulticlusterHTTPRouteReconciler(ctx context.Context, rec MulticlusterHTTPRouteReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterHTTPRouteReconcileLoop added in v0.2.2

func NewMulticlusterHTTPRouteReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterHTTPRouteReconcileLoop

type MulticlusterHTTPRouteReconciler added in v0.2.2

type MulticlusterHTTPRouteReconciler interface {
	ReconcileHTTPRoute(clusterName string, obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) (reconcile.Result, error)
}

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

type MulticlusterHTTPRouteReconcilerFuncs added in v0.2.2

type MulticlusterHTTPRouteReconcilerFuncs struct {
	OnReconcileHTTPRoute         func(clusterName string, obj *gateway_networking_k8s_io_v1beta1.HTTPRoute) (reconcile.Result, error)
	OnReconcileHTTPRouteDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterHTTPRouteReconcilerFuncs) ReconcileHTTPRoute added in v0.2.2

func (*MulticlusterHTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion added in v0.2.2

func (f *MulticlusterHTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion(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