Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type CustomResourceDefinitionDeletionReconciler
- type CustomResourceDefinitionEventHandler
- type CustomResourceDefinitionEventHandlerFuncs
- func (f *CustomResourceDefinitionEventHandlerFuncs) CreateCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
- func (f *CustomResourceDefinitionEventHandlerFuncs) DeleteCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
- func (f *CustomResourceDefinitionEventHandlerFuncs) GenericCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
- func (f *CustomResourceDefinitionEventHandlerFuncs) UpdateCustomResourceDefinition(objOld, objNew *apiextensions_k8s_io_v1.CustomResourceDefinition) error
- type CustomResourceDefinitionEventWatcher
- type CustomResourceDefinitionFinalizer
- type CustomResourceDefinitionReconcileLoop
- type CustomResourceDefinitionReconciler
- type CustomResourceDefinitionReconcilerFuncs
- type MulticlusterCustomResourceDefinitionDeletionReconciler
- type MulticlusterCustomResourceDefinitionReconcileLoop
- type MulticlusterCustomResourceDefinitionReconciler
- type MulticlusterCustomResourceDefinitionReconcilerFuncs
- func (f *MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinition(clusterName string, obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error)
- func (f *MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinitionDeletion(clusterName string, req reconcile.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomResourceDefinitionDeletionReconciler ¶
type CustomResourceDefinitionDeletionReconciler interface {
ReconcileCustomResourceDefinitionDeletion(req reconcile.Request) error
}
Reconcile deletion events for the CustomResourceDefinition Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type CustomResourceDefinitionEventHandler ¶
type CustomResourceDefinitionEventHandler interface { CreateCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error UpdateCustomResourceDefinition(old, new *apiextensions_k8s_io_v1.CustomResourceDefinition) error DeleteCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error GenericCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error }
Handle events for the CustomResourceDefinition Resource DEPRECATED: Prefer reconciler pattern.
type CustomResourceDefinitionEventHandlerFuncs ¶
type CustomResourceDefinitionEventHandlerFuncs struct { OnCreate func(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error OnUpdate func(old, new *apiextensions_k8s_io_v1.CustomResourceDefinition) error OnDelete func(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error OnGeneric func(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error }
func (*CustomResourceDefinitionEventHandlerFuncs) CreateCustomResourceDefinition ¶
func (f *CustomResourceDefinitionEventHandlerFuncs) CreateCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
func (*CustomResourceDefinitionEventHandlerFuncs) DeleteCustomResourceDefinition ¶
func (f *CustomResourceDefinitionEventHandlerFuncs) DeleteCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
func (*CustomResourceDefinitionEventHandlerFuncs) GenericCustomResourceDefinition ¶
func (f *CustomResourceDefinitionEventHandlerFuncs) GenericCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error
func (*CustomResourceDefinitionEventHandlerFuncs) UpdateCustomResourceDefinition ¶
func (f *CustomResourceDefinitionEventHandlerFuncs) UpdateCustomResourceDefinition(objOld, objNew *apiextensions_k8s_io_v1.CustomResourceDefinition) error
type CustomResourceDefinitionEventWatcher ¶
type CustomResourceDefinitionEventWatcher interface {
AddEventHandler(ctx context.Context, h CustomResourceDefinitionEventHandler, predicates ...predicate.Predicate) error
}
func NewCustomResourceDefinitionEventWatcher ¶
func NewCustomResourceDefinitionEventWatcher(name string, mgr manager.Manager) CustomResourceDefinitionEventWatcher
type CustomResourceDefinitionFinalizer ¶
type CustomResourceDefinitionFinalizer interface { CustomResourceDefinitionReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task CustomResourceDefinitionFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) error }
Reconcile and finalize the CustomResourceDefinition Resource implemented by the user
type CustomResourceDefinitionReconcileLoop ¶
type CustomResourceDefinitionReconcileLoop interface {
RunCustomResourceDefinitionReconciler(ctx context.Context, rec CustomResourceDefinitionReconciler, predicates ...predicate.Predicate) error
}
type CustomResourceDefinitionReconciler ¶
type CustomResourceDefinitionReconciler interface {
ReconcileCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error)
}
Reconcile Upsert events for the CustomResourceDefinition Resource. implemented by the user
type CustomResourceDefinitionReconcilerFuncs ¶
type CustomResourceDefinitionReconcilerFuncs struct { OnReconcileCustomResourceDefinition func(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error) OnReconcileCustomResourceDefinitionDeletion func(req reconcile.Request) error }
func (*CustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinition ¶
func (f *CustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinition(obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error)
func (*CustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinitionDeletion ¶
func (f *CustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinitionDeletion(req reconcile.Request) error
type MulticlusterCustomResourceDefinitionDeletionReconciler ¶
type MulticlusterCustomResourceDefinitionDeletionReconciler interface {
ReconcileCustomResourceDefinitionDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the CustomResourceDefinition 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 MulticlusterCustomResourceDefinitionReconcileLoop ¶
type MulticlusterCustomResourceDefinitionReconcileLoop interface { // AddMulticlusterCustomResourceDefinitionReconciler adds a MulticlusterCustomResourceDefinitionReconciler to the MulticlusterCustomResourceDefinitionReconcileLoop. AddMulticlusterCustomResourceDefinitionReconciler(ctx context.Context, rec MulticlusterCustomResourceDefinitionReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterCustomResourceDefinitionReconcileLoop ¶
func NewMulticlusterCustomResourceDefinitionReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterCustomResourceDefinitionReconcileLoop
type MulticlusterCustomResourceDefinitionReconciler ¶
type MulticlusterCustomResourceDefinitionReconciler interface {
ReconcileCustomResourceDefinition(clusterName string, obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error)
}
Reconcile Upsert events for the CustomResourceDefinition Resource across clusters. implemented by the user
type MulticlusterCustomResourceDefinitionReconcilerFuncs ¶
type MulticlusterCustomResourceDefinitionReconcilerFuncs struct { OnReconcileCustomResourceDefinition func(clusterName string, obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error) OnReconcileCustomResourceDefinitionDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinition ¶
func (f *MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinition(clusterName string, obj *apiextensions_k8s_io_v1.CustomResourceDefinition) (reconcile.Result, error)
func (*MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinitionDeletion ¶
func (f *MulticlusterCustomResourceDefinitionReconcilerFuncs) ReconcileCustomResourceDefinitionDeletion(clusterName string, req reconcile.Request) error