Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type CertificateSigningRequestDeletionReconciler
- type CertificateSigningRequestEventHandler
- type CertificateSigningRequestEventHandlerFuncs
- func (f *CertificateSigningRequestEventHandlerFuncs) CreateCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
- func (f *CertificateSigningRequestEventHandlerFuncs) DeleteCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
- func (f *CertificateSigningRequestEventHandlerFuncs) GenericCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
- func (f *CertificateSigningRequestEventHandlerFuncs) UpdateCertificateSigningRequest(objOld, objNew *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
- type CertificateSigningRequestEventWatcher
- type CertificateSigningRequestFinalizer
- type CertificateSigningRequestReconcileLoop
- type CertificateSigningRequestReconciler
- type CertificateSigningRequestReconcilerFuncs
- type MulticlusterCertificateSigningRequestDeletionReconciler
- type MulticlusterCertificateSigningRequestReconcileLoop
- type MulticlusterCertificateSigningRequestReconciler
- type MulticlusterCertificateSigningRequestReconcilerFuncs
- func (f *MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
- func (f *MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion(clusterName string, req reconcile.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateSigningRequestDeletionReconciler ¶
type CertificateSigningRequestDeletionReconciler interface {
ReconcileCertificateSigningRequestDeletion(req reconcile.Request) error
}
Reconcile deletion events for the CertificateSigningRequest Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type CertificateSigningRequestEventHandler ¶
type CertificateSigningRequestEventHandler interface { CreateCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error UpdateCertificateSigningRequest(old, new *certificates_k8s_io_v1beta1.CertificateSigningRequest) error DeleteCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error GenericCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error }
Handle events for the CertificateSigningRequest Resource DEPRECATED: Prefer reconciler pattern.
type CertificateSigningRequestEventHandlerFuncs ¶
type CertificateSigningRequestEventHandlerFuncs struct { OnCreate func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error OnUpdate func(old, new *certificates_k8s_io_v1beta1.CertificateSigningRequest) error OnDelete func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error OnGeneric func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error }
func (*CertificateSigningRequestEventHandlerFuncs) CreateCertificateSigningRequest ¶
func (f *CertificateSigningRequestEventHandlerFuncs) CreateCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
func (*CertificateSigningRequestEventHandlerFuncs) DeleteCertificateSigningRequest ¶
func (f *CertificateSigningRequestEventHandlerFuncs) DeleteCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
func (*CertificateSigningRequestEventHandlerFuncs) GenericCertificateSigningRequest ¶
func (f *CertificateSigningRequestEventHandlerFuncs) GenericCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
func (*CertificateSigningRequestEventHandlerFuncs) UpdateCertificateSigningRequest ¶
func (f *CertificateSigningRequestEventHandlerFuncs) UpdateCertificateSigningRequest(objOld, objNew *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
type CertificateSigningRequestEventWatcher ¶
type CertificateSigningRequestEventWatcher interface {
AddEventHandler(ctx context.Context, h CertificateSigningRequestEventHandler, predicates ...predicate.Predicate) error
}
func NewCertificateSigningRequestEventWatcher ¶
func NewCertificateSigningRequestEventWatcher(name string, mgr manager.Manager) CertificateSigningRequestEventWatcher
type CertificateSigningRequestFinalizer ¶
type CertificateSigningRequestFinalizer interface { CertificateSigningRequestReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task CertificateSigningRequestFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error }
Reconcile and finalize the CertificateSigningRequest Resource implemented by the user
type CertificateSigningRequestReconcileLoop ¶
type CertificateSigningRequestReconcileLoop interface {
RunCertificateSigningRequestReconciler(ctx context.Context, rec CertificateSigningRequestReconciler, predicates ...predicate.Predicate) error
}
type CertificateSigningRequestReconciler ¶
type CertificateSigningRequestReconciler interface {
ReconcileCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
}
Reconcile Upsert events for the CertificateSigningRequest Resource. implemented by the user
type CertificateSigningRequestReconcilerFuncs ¶
type CertificateSigningRequestReconcilerFuncs struct { OnReconcileCertificateSigningRequest func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error) OnReconcileCertificateSigningRequestDeletion func(req reconcile.Request) error }
func (*CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest ¶
func (f *CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
func (*CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion ¶
func (f *CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion(req reconcile.Request) error
type MulticlusterCertificateSigningRequestDeletionReconciler ¶
type MulticlusterCertificateSigningRequestDeletionReconciler interface {
ReconcileCertificateSigningRequestDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the CertificateSigningRequest 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 MulticlusterCertificateSigningRequestReconcileLoop ¶
type MulticlusterCertificateSigningRequestReconcileLoop interface { // AddMulticlusterCertificateSigningRequestReconciler adds a MulticlusterCertificateSigningRequestReconciler to the MulticlusterCertificateSigningRequestReconcileLoop. AddMulticlusterCertificateSigningRequestReconciler(ctx context.Context, rec MulticlusterCertificateSigningRequestReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterCertificateSigningRequestReconcileLoop ¶
func NewMulticlusterCertificateSigningRequestReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterCertificateSigningRequestReconcileLoop
type MulticlusterCertificateSigningRequestReconciler ¶
type MulticlusterCertificateSigningRequestReconciler interface {
ReconcileCertificateSigningRequest(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
}
Reconcile Upsert events for the CertificateSigningRequest Resource across clusters. implemented by the user
type MulticlusterCertificateSigningRequestReconcilerFuncs ¶
type MulticlusterCertificateSigningRequestReconcilerFuncs struct { OnReconcileCertificateSigningRequest func(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error) OnReconcileCertificateSigningRequestDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest ¶
func (f *MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
func (*MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion ¶
func (f *MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion(clusterName string, req reconcile.Request) error