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

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

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

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

type GatewayClassEventHandlerFuncs

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

func (*GatewayClassEventHandlerFuncs) CreateGatewayClass

func (*GatewayClassEventHandlerFuncs) DeleteGatewayClass

func (*GatewayClassEventHandlerFuncs) GenericGatewayClass

func (*GatewayClassEventHandlerFuncs) UpdateGatewayClass

func (f *GatewayClassEventHandlerFuncs) UpdateGatewayClass(objOld, objNew *gateway_networking_k8s_io_v1.GatewayClass) error

type GatewayClassEventWatcher

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

func NewGatewayClassEventWatcher

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

type GatewayClassFinalizer

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_v1.GatewayClass) error
}

Reconcile and finalize the GatewayClass Resource implemented by the user

type GatewayClassReconcileLoop

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

func NewGatewayClassReconcileLoop

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

type GatewayClassReconciler

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

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

type GatewayClassReconcilerFuncs

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

func (*GatewayClassReconcilerFuncs) ReconcileGatewayClass

func (*GatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion

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_v1.Gateway) error
	UpdateGateway(old, new *gateway_networking_k8s_io_v1.Gateway) error
	DeleteGateway(obj *gateway_networking_k8s_io_v1.Gateway) error
	GenericGateway(obj *gateway_networking_k8s_io_v1.Gateway) error
}

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

type GatewayEventHandlerFuncs

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

func (*GatewayEventHandlerFuncs) CreateGateway

func (*GatewayEventHandlerFuncs) DeleteGateway

func (*GatewayEventHandlerFuncs) GenericGateway

func (*GatewayEventHandlerFuncs) UpdateGateway

func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *gateway_networking_k8s_io_v1.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_v1.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_v1.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_v1.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

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

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

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

type HTTPRouteEventHandlerFuncs

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

func (*HTTPRouteEventHandlerFuncs) CreateHTTPRoute

func (*HTTPRouteEventHandlerFuncs) DeleteHTTPRoute

func (*HTTPRouteEventHandlerFuncs) GenericHTTPRoute

func (*HTTPRouteEventHandlerFuncs) UpdateHTTPRoute

func (f *HTTPRouteEventHandlerFuncs) UpdateHTTPRoute(objOld, objNew *gateway_networking_k8s_io_v1.HTTPRoute) error

type HTTPRouteEventWatcher

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

func NewHTTPRouteEventWatcher

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

type HTTPRouteFinalizer

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_v1.HTTPRoute) error
}

Reconcile and finalize the HTTPRoute Resource implemented by the user

type HTTPRouteReconcileLoop

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

func NewHTTPRouteReconcileLoop

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

type HTTPRouteReconciler

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

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

type HTTPRouteReconcilerFuncs

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

func (*HTTPRouteReconcilerFuncs) ReconcileHTTPRoute

func (*HTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion

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

type MulticlusterGatewayClassDeletionReconciler

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

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

type MulticlusterGatewayClassReconciler

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

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

type MulticlusterGatewayClassReconcilerFuncs

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

func (*MulticlusterGatewayClassReconcilerFuncs) ReconcileGatewayClass

func (*MulticlusterGatewayClassReconcilerFuncs) ReconcileGatewayClassDeletion

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_v1.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_v1.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

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

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

type MulticlusterHTTPRouteReconciler

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

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

type MulticlusterHTTPRouteReconcilerFuncs

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

func (*MulticlusterHTTPRouteReconcilerFuncs) ReconcileHTTPRoute

func (*MulticlusterHTTPRouteReconcilerFuncs) ReconcileHTTPRouteDeletion

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