Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type GatewayDeletionReconciler
- type GatewayEventHandler
- type GatewayEventHandlerFuncs
- func (f *GatewayEventHandlerFuncs) CreateGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
- func (f *GatewayEventHandlerFuncs) DeleteGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
- func (f *GatewayEventHandlerFuncs) GenericGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
- func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *gateway_networking_k8s_io_v1beta1.Gateway) error
- type GatewayEventWatcher
- type GatewayFinalizer
- type GatewayReconcileLoop
- type GatewayReconciler
- type GatewayReconcilerFuncs
- type MulticlusterGatewayDeletionReconciler
- type MulticlusterGatewayReconcileLoop
- type MulticlusterGatewayReconciler
- type MulticlusterGatewayReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayDeletionReconciler ¶
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 (f *GatewayEventHandlerFuncs) CreateGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
func (*GatewayEventHandlerFuncs) DeleteGateway ¶
func (f *GatewayEventHandlerFuncs) DeleteGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
func (*GatewayEventHandlerFuncs) GenericGateway ¶
func (f *GatewayEventHandlerFuncs) GenericGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) error
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 ¶
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 (f *GatewayReconcilerFuncs) ReconcileGateway(obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
func (*GatewayReconcilerFuncs) ReconcileGatewayDeletion ¶
func (f *GatewayReconcilerFuncs) ReconcileGatewayDeletion(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) }
func NewMulticlusterGatewayReconcileLoop ¶
func NewMulticlusterGatewayReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterGatewayReconcileLoop
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 (f *MulticlusterGatewayReconcilerFuncs) ReconcileGateway(clusterName string, obj *gateway_networking_k8s_io_v1beta1.Gateway) (reconcile.Result, error)
func (*MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion ¶
func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error