controller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: GPL-3.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 CaCertificateDeletionReconciler

type CaCertificateDeletionReconciler interface {
	ReconcileCaCertificateDeletion(req reconcile.Request) error
}

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

type CaCertificateEventHandler

type CaCertificateEventHandler interface {
	CreateCaCertificate(obj *gate_xdmybl_io_v1.CaCertificate) error
	UpdateCaCertificate(old, new *gate_xdmybl_io_v1.CaCertificate) error
	DeleteCaCertificate(obj *gate_xdmybl_io_v1.CaCertificate) error
	GenericCaCertificate(obj *gate_xdmybl_io_v1.CaCertificate) error
}

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

type CaCertificateEventHandlerFuncs

type CaCertificateEventHandlerFuncs struct {
	OnCreate  func(obj *gate_xdmybl_io_v1.CaCertificate) error
	OnUpdate  func(old, new *gate_xdmybl_io_v1.CaCertificate) error
	OnDelete  func(obj *gate_xdmybl_io_v1.CaCertificate) error
	OnGeneric func(obj *gate_xdmybl_io_v1.CaCertificate) error
}

func (*CaCertificateEventHandlerFuncs) CreateCaCertificate

func (*CaCertificateEventHandlerFuncs) DeleteCaCertificate

func (*CaCertificateEventHandlerFuncs) GenericCaCertificate

func (*CaCertificateEventHandlerFuncs) UpdateCaCertificate

func (f *CaCertificateEventHandlerFuncs) UpdateCaCertificate(objOld, objNew *gate_xdmybl_io_v1.CaCertificate) error

type CaCertificateEventWatcher

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

func NewCaCertificateEventWatcher

func NewCaCertificateEventWatcher(name string, mgr manager.Manager) CaCertificateEventWatcher

type CaCertificateFinalizer

type CaCertificateFinalizer interface {
	CaCertificateReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeCaCertificate(obj *gate_xdmybl_io_v1.CaCertificate) error
}

Reconcile and finalize the CaCertificate Resource implemented by the user

type CaCertificateReconcileLoop

type CaCertificateReconcileLoop interface {
	RunCaCertificateReconciler(ctx context.Context, rec CaCertificateReconciler, predicates ...predicate.Predicate) error
}

func NewCaCertificateReconcileLoop

func NewCaCertificateReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) CaCertificateReconcileLoop

type CaCertificateReconciler

type CaCertificateReconciler interface {
	ReconcileCaCertificate(obj *gate_xdmybl_io_v1.CaCertificate) (reconcile.Result, error)
}

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

type CaCertificateReconcilerFuncs

type CaCertificateReconcilerFuncs struct {
	OnReconcileCaCertificate         func(obj *gate_xdmybl_io_v1.CaCertificate) (reconcile.Result, error)
	OnReconcileCaCertificateDeletion func(req reconcile.Request) error
}

func (*CaCertificateReconcilerFuncs) ReconcileCaCertificate

func (*CaCertificateReconcilerFuncs) ReconcileCaCertificateDeletion

func (f *CaCertificateReconcilerFuncs) ReconcileCaCertificateDeletion(req reconcile.Request) error

type FilterDeletionReconciler

type FilterDeletionReconciler interface {
	ReconcileFilterDeletion(req reconcile.Request) error
}

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

type FilterEventHandler

type FilterEventHandler interface {
	CreateFilter(obj *gate_xdmybl_io_v1.Filter) error
	UpdateFilter(old, new *gate_xdmybl_io_v1.Filter) error
	DeleteFilter(obj *gate_xdmybl_io_v1.Filter) error
	GenericFilter(obj *gate_xdmybl_io_v1.Filter) error
}

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

type FilterEventHandlerFuncs

type FilterEventHandlerFuncs struct {
	OnCreate  func(obj *gate_xdmybl_io_v1.Filter) error
	OnUpdate  func(old, new *gate_xdmybl_io_v1.Filter) error
	OnDelete  func(obj *gate_xdmybl_io_v1.Filter) error
	OnGeneric func(obj *gate_xdmybl_io_v1.Filter) error
}

func (*FilterEventHandlerFuncs) CreateFilter

func (f *FilterEventHandlerFuncs) CreateFilter(obj *gate_xdmybl_io_v1.Filter) error

func (*FilterEventHandlerFuncs) DeleteFilter

func (f *FilterEventHandlerFuncs) DeleteFilter(obj *gate_xdmybl_io_v1.Filter) error

func (*FilterEventHandlerFuncs) GenericFilter

func (f *FilterEventHandlerFuncs) GenericFilter(obj *gate_xdmybl_io_v1.Filter) error

func (*FilterEventHandlerFuncs) UpdateFilter

func (f *FilterEventHandlerFuncs) UpdateFilter(objOld, objNew *gate_xdmybl_io_v1.Filter) error

type FilterEventWatcher

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

func NewFilterEventWatcher

func NewFilterEventWatcher(name string, mgr manager.Manager) FilterEventWatcher

type FilterFinalizer

type FilterFinalizer interface {
	FilterReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeFilter(obj *gate_xdmybl_io_v1.Filter) error
}

Reconcile and finalize the Filter Resource implemented by the user

type FilterReconcileLoop

type FilterReconcileLoop interface {
	RunFilterReconciler(ctx context.Context, rec FilterReconciler, predicates ...predicate.Predicate) error
}

func NewFilterReconcileLoop

func NewFilterReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) FilterReconcileLoop

type FilterReconciler

type FilterReconciler interface {
	ReconcileFilter(obj *gate_xdmybl_io_v1.Filter) (reconcile.Result, error)
}

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

type FilterReconcilerFuncs

type FilterReconcilerFuncs struct {
	OnReconcileFilter         func(obj *gate_xdmybl_io_v1.Filter) (reconcile.Result, error)
	OnReconcileFilterDeletion func(req reconcile.Request) error
}

func (*FilterReconcilerFuncs) ReconcileFilter

func (*FilterReconcilerFuncs) ReconcileFilterDeletion

func (f *FilterReconcilerFuncs) ReconcileFilterDeletion(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 *gate_xdmybl_io_v1.Gateway) error
	UpdateGateway(old, new *gate_xdmybl_io_v1.Gateway) error
	DeleteGateway(obj *gate_xdmybl_io_v1.Gateway) error
	GenericGateway(obj *gate_xdmybl_io_v1.Gateway) error
}

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

type GatewayEventHandlerFuncs

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

func (*GatewayEventHandlerFuncs) CreateGateway

func (*GatewayEventHandlerFuncs) DeleteGateway

func (*GatewayEventHandlerFuncs) GenericGateway

func (f *GatewayEventHandlerFuncs) GenericGateway(obj *gate_xdmybl_io_v1.Gateway) error

func (*GatewayEventHandlerFuncs) UpdateGateway

func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *gate_xdmybl_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 *gate_xdmybl_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 *gate_xdmybl_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 *gate_xdmybl_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 MulticlusterCaCertificateDeletionReconciler

type MulticlusterCaCertificateDeletionReconciler interface {
	ReconcileCaCertificateDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the CaCertificate 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 MulticlusterCaCertificateReconcileLoop

type MulticlusterCaCertificateReconcileLoop interface {
	// AddMulticlusterCaCertificateReconciler adds a MulticlusterCaCertificateReconciler to the MulticlusterCaCertificateReconcileLoop.
	AddMulticlusterCaCertificateReconciler(ctx context.Context, rec MulticlusterCaCertificateReconciler, predicates ...predicate.Predicate)
}

type MulticlusterCaCertificateReconciler

type MulticlusterCaCertificateReconciler interface {
	ReconcileCaCertificate(clusterName string, obj *gate_xdmybl_io_v1.CaCertificate) (reconcile.Result, error)
}

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

type MulticlusterCaCertificateReconcilerFuncs

type MulticlusterCaCertificateReconcilerFuncs struct {
	OnReconcileCaCertificate         func(clusterName string, obj *gate_xdmybl_io_v1.CaCertificate) (reconcile.Result, error)
	OnReconcileCaCertificateDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterCaCertificateReconcilerFuncs) ReconcileCaCertificate

func (*MulticlusterCaCertificateReconcilerFuncs) ReconcileCaCertificateDeletion

func (f *MulticlusterCaCertificateReconcilerFuncs) ReconcileCaCertificateDeletion(clusterName string, req reconcile.Request) error

type MulticlusterFilterDeletionReconciler

type MulticlusterFilterDeletionReconciler interface {
	ReconcileFilterDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Filter 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 MulticlusterFilterReconcileLoop

type MulticlusterFilterReconcileLoop interface {
	// AddMulticlusterFilterReconciler adds a MulticlusterFilterReconciler to the MulticlusterFilterReconcileLoop.
	AddMulticlusterFilterReconciler(ctx context.Context, rec MulticlusterFilterReconciler, predicates ...predicate.Predicate)
}

type MulticlusterFilterReconciler

type MulticlusterFilterReconciler interface {
	ReconcileFilter(clusterName string, obj *gate_xdmybl_io_v1.Filter) (reconcile.Result, error)
}

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

type MulticlusterFilterReconcilerFuncs

type MulticlusterFilterReconcilerFuncs struct {
	OnReconcileFilter         func(clusterName string, obj *gate_xdmybl_io_v1.Filter) (reconcile.Result, error)
	OnReconcileFilterDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterFilterReconcilerFuncs) ReconcileFilter

func (f *MulticlusterFilterReconcilerFuncs) ReconcileFilter(clusterName string, obj *gate_xdmybl_io_v1.Filter) (reconcile.Result, error)

func (*MulticlusterFilterReconcilerFuncs) ReconcileFilterDeletion

func (f *MulticlusterFilterReconcilerFuncs) ReconcileFilterDeletion(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 *gate_xdmybl_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 *gate_xdmybl_io_v1.Gateway) (reconcile.Result, error)
	OnReconcileGatewayDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGateway

func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGateway(clusterName string, obj *gate_xdmybl_io_v1.Gateway) (reconcile.Result, error)

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion

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

type MulticlusterSslCertificateDeletionReconciler

type MulticlusterSslCertificateDeletionReconciler interface {
	ReconcileSslCertificateDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the SslCertificate 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 MulticlusterSslCertificateReconcileLoop

type MulticlusterSslCertificateReconcileLoop interface {
	// AddMulticlusterSslCertificateReconciler adds a MulticlusterSslCertificateReconciler to the MulticlusterSslCertificateReconcileLoop.
	AddMulticlusterSslCertificateReconciler(ctx context.Context, rec MulticlusterSslCertificateReconciler, predicates ...predicate.Predicate)
}

type MulticlusterSslCertificateReconciler

type MulticlusterSslCertificateReconciler interface {
	ReconcileSslCertificate(clusterName string, obj *gate_xdmybl_io_v1.SslCertificate) (reconcile.Result, error)
}

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

type MulticlusterSslCertificateReconcilerFuncs

type MulticlusterSslCertificateReconcilerFuncs struct {
	OnReconcileSslCertificate         func(clusterName string, obj *gate_xdmybl_io_v1.SslCertificate) (reconcile.Result, error)
	OnReconcileSslCertificateDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterSslCertificateReconcilerFuncs) ReconcileSslCertificate

func (*MulticlusterSslCertificateReconcilerFuncs) ReconcileSslCertificateDeletion

func (f *MulticlusterSslCertificateReconcilerFuncs) ReconcileSslCertificateDeletion(clusterName string, req reconcile.Request) error

type MulticlusterUpstreamDeletionReconciler

type MulticlusterUpstreamDeletionReconciler interface {
	ReconcileUpstreamDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Upstream 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 MulticlusterUpstreamReconcileLoop

type MulticlusterUpstreamReconcileLoop interface {
	// AddMulticlusterUpstreamReconciler adds a MulticlusterUpstreamReconciler to the MulticlusterUpstreamReconcileLoop.
	AddMulticlusterUpstreamReconciler(ctx context.Context, rec MulticlusterUpstreamReconciler, predicates ...predicate.Predicate)
}

type MulticlusterUpstreamReconciler

type MulticlusterUpstreamReconciler interface {
	ReconcileUpstream(clusterName string, obj *gate_xdmybl_io_v1.Upstream) (reconcile.Result, error)
}

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

type MulticlusterUpstreamReconcilerFuncs

type MulticlusterUpstreamReconcilerFuncs struct {
	OnReconcileUpstream         func(clusterName string, obj *gate_xdmybl_io_v1.Upstream) (reconcile.Result, error)
	OnReconcileUpstreamDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterUpstreamReconcilerFuncs) ReconcileUpstream

func (f *MulticlusterUpstreamReconcilerFuncs) ReconcileUpstream(clusterName string, obj *gate_xdmybl_io_v1.Upstream) (reconcile.Result, error)

func (*MulticlusterUpstreamReconcilerFuncs) ReconcileUpstreamDeletion

func (f *MulticlusterUpstreamReconcilerFuncs) ReconcileUpstreamDeletion(clusterName string, req reconcile.Request) error

type SslCertificateDeletionReconciler

type SslCertificateDeletionReconciler interface {
	ReconcileSslCertificateDeletion(req reconcile.Request) error
}

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

type SslCertificateEventHandler

type SslCertificateEventHandler interface {
	CreateSslCertificate(obj *gate_xdmybl_io_v1.SslCertificate) error
	UpdateSslCertificate(old, new *gate_xdmybl_io_v1.SslCertificate) error
	DeleteSslCertificate(obj *gate_xdmybl_io_v1.SslCertificate) error
	GenericSslCertificate(obj *gate_xdmybl_io_v1.SslCertificate) error
}

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

type SslCertificateEventHandlerFuncs

type SslCertificateEventHandlerFuncs struct {
	OnCreate  func(obj *gate_xdmybl_io_v1.SslCertificate) error
	OnUpdate  func(old, new *gate_xdmybl_io_v1.SslCertificate) error
	OnDelete  func(obj *gate_xdmybl_io_v1.SslCertificate) error
	OnGeneric func(obj *gate_xdmybl_io_v1.SslCertificate) error
}

func (*SslCertificateEventHandlerFuncs) CreateSslCertificate

func (*SslCertificateEventHandlerFuncs) DeleteSslCertificate

func (*SslCertificateEventHandlerFuncs) GenericSslCertificate

func (*SslCertificateEventHandlerFuncs) UpdateSslCertificate

func (f *SslCertificateEventHandlerFuncs) UpdateSslCertificate(objOld, objNew *gate_xdmybl_io_v1.SslCertificate) error

type SslCertificateEventWatcher

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

func NewSslCertificateEventWatcher

func NewSslCertificateEventWatcher(name string, mgr manager.Manager) SslCertificateEventWatcher

type SslCertificateFinalizer

type SslCertificateFinalizer interface {
	SslCertificateReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeSslCertificate(obj *gate_xdmybl_io_v1.SslCertificate) error
}

Reconcile and finalize the SslCertificate Resource implemented by the user

type SslCertificateReconcileLoop

type SslCertificateReconcileLoop interface {
	RunSslCertificateReconciler(ctx context.Context, rec SslCertificateReconciler, predicates ...predicate.Predicate) error
}

func NewSslCertificateReconcileLoop

func NewSslCertificateReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) SslCertificateReconcileLoop

type SslCertificateReconciler

type SslCertificateReconciler interface {
	ReconcileSslCertificate(obj *gate_xdmybl_io_v1.SslCertificate) (reconcile.Result, error)
}

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

type SslCertificateReconcilerFuncs

type SslCertificateReconcilerFuncs struct {
	OnReconcileSslCertificate         func(obj *gate_xdmybl_io_v1.SslCertificate) (reconcile.Result, error)
	OnReconcileSslCertificateDeletion func(req reconcile.Request) error
}

func (*SslCertificateReconcilerFuncs) ReconcileSslCertificate

func (*SslCertificateReconcilerFuncs) ReconcileSslCertificateDeletion

func (f *SslCertificateReconcilerFuncs) ReconcileSslCertificateDeletion(req reconcile.Request) error

type UpstreamDeletionReconciler

type UpstreamDeletionReconciler interface {
	ReconcileUpstreamDeletion(req reconcile.Request) error
}

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

type UpstreamEventHandler

type UpstreamEventHandler interface {
	CreateUpstream(obj *gate_xdmybl_io_v1.Upstream) error
	UpdateUpstream(old, new *gate_xdmybl_io_v1.Upstream) error
	DeleteUpstream(obj *gate_xdmybl_io_v1.Upstream) error
	GenericUpstream(obj *gate_xdmybl_io_v1.Upstream) error
}

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

type UpstreamEventHandlerFuncs

type UpstreamEventHandlerFuncs struct {
	OnCreate  func(obj *gate_xdmybl_io_v1.Upstream) error
	OnUpdate  func(old, new *gate_xdmybl_io_v1.Upstream) error
	OnDelete  func(obj *gate_xdmybl_io_v1.Upstream) error
	OnGeneric func(obj *gate_xdmybl_io_v1.Upstream) error
}

func (*UpstreamEventHandlerFuncs) CreateUpstream

func (*UpstreamEventHandlerFuncs) DeleteUpstream

func (*UpstreamEventHandlerFuncs) GenericUpstream

func (f *UpstreamEventHandlerFuncs) GenericUpstream(obj *gate_xdmybl_io_v1.Upstream) error

func (*UpstreamEventHandlerFuncs) UpdateUpstream

func (f *UpstreamEventHandlerFuncs) UpdateUpstream(objOld, objNew *gate_xdmybl_io_v1.Upstream) error

type UpstreamEventWatcher

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

func NewUpstreamEventWatcher

func NewUpstreamEventWatcher(name string, mgr manager.Manager) UpstreamEventWatcher

type UpstreamFinalizer

type UpstreamFinalizer interface {
	UpstreamReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeUpstream(obj *gate_xdmybl_io_v1.Upstream) error
}

Reconcile and finalize the Upstream Resource implemented by the user

type UpstreamReconcileLoop

type UpstreamReconcileLoop interface {
	RunUpstreamReconciler(ctx context.Context, rec UpstreamReconciler, predicates ...predicate.Predicate) error
}

func NewUpstreamReconcileLoop

func NewUpstreamReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) UpstreamReconcileLoop

type UpstreamReconciler

type UpstreamReconciler interface {
	ReconcileUpstream(obj *gate_xdmybl_io_v1.Upstream) (reconcile.Result, error)
}

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

type UpstreamReconcilerFuncs

type UpstreamReconcilerFuncs struct {
	OnReconcileUpstream         func(obj *gate_xdmybl_io_v1.Upstream) (reconcile.Result, error)
	OnReconcileUpstreamDeletion func(req reconcile.Request) error
}

func (*UpstreamReconcilerFuncs) ReconcileUpstream

func (*UpstreamReconcilerFuncs) ReconcileUpstreamDeletion

func (f *UpstreamReconcilerFuncs) ReconcileUpstreamDeletion(req reconcile.Request) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL