Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrConnNotFoundRequeueNeeded = errors.New("connection not found, requeue needed") ErrScheduleNotFound = errors.New("schedule not found") )
Functions ¶
This section is empty.
Types ¶
type CSIAddonsNodeReconciler ¶
type CSIAddonsNodeReconciler struct { client.Client Scheme *runtime.Scheme ConnPool *connection.ConnectionPool }
CSIAddonsNodeReconciler reconciles a CSIAddonsNode object
func (*CSIAddonsNodeReconciler) Reconcile ¶
func (r *CSIAddonsNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*CSIAddonsNodeReconciler) SetupWithManager ¶
func (r *CSIAddonsNodeReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type EncryptionKeyRotationCronJobReconciler ¶
EncryptionKeyRotationCronJobReconciler reconciles a EncryptionKeyRotationCronJob object
func (*EncryptionKeyRotationCronJobReconciler) Reconcile ¶
func (r *EncryptionKeyRotationCronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*EncryptionKeyRotationCronJobReconciler) SetupWithManager ¶
func (r *EncryptionKeyRotationCronJobReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type EncryptionKeyRotationJobReconciler ¶
type EncryptionKeyRotationJobReconciler struct { client.Client Scheme *runtime.Scheme ConnPool *connection.ConnectionPool Timeout time.Duration }
EncryptionKeyRotationJobReconciler reconciles a EncryptionKeyRotationJob object
func (*EncryptionKeyRotationJobReconciler) Reconcile ¶
func (r *EncryptionKeyRotationJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*EncryptionKeyRotationJobReconciler) SetupWithManager ¶
func (r *EncryptionKeyRotationJobReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type NetworkFenceInstance ¶
type NetworkFenceInstance struct {
// contains filtered or unexported fields
}
NetworkFenceInstance contains the attributes that can be useful in reconciling a particular instance of the NetworkFence resource.
type NetworkFenceReconciler ¶
type NetworkFenceReconciler struct { client.Client // Scheme defines methods for serializing and deserializing API objects. Scheme *runtime.Scheme // ConnectionPool consists of map of Connection objects Connpool *conn.ConnectionPool // Timeout for the Reconcile operation. Timeout time.Duration }
NetworkFenceReconciler reconciles a NetworkFence object.
func (*NetworkFenceReconciler) Reconcile ¶
func (r *NetworkFenceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*NetworkFenceReconciler) SetupWithManager ¶
func (r *NetworkFenceReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type Operation ¶ added in v0.10.0
type Operation string
Operation defines the sub operation to be performed on the PVC. e.g. reclaimspace, keyrotation
type PersistentVolumeClaimReconciler ¶
type PersistentVolumeClaimReconciler struct { client.Client Scheme *runtime.Scheme // ConnectionPool consists of map of Connection objects. ConnPool *connection.ConnectionPool }
PersistentVolumeClaimReconciler reconciles a PersistentVolumeClaim object
func (*PersistentVolumeClaimReconciler) Reconcile ¶
func (r *PersistentVolumeClaimReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. This is triggered when `reclaimspace.csiaddons.openshift/schedule` annotation is found on newly created PVC or its found on the namespace or if there is a change in value of the annotation. It is also triggered by any changes to the child cronjob.
func (*PersistentVolumeClaimReconciler) SetupWithManager ¶
func (r *PersistentVolumeClaimReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ReclaimSpaceCronJobReconciler ¶
ReclaimSpaceCronJobReconciler reconciles a ReclaimSpaceCronJob object
func (*ReclaimSpaceCronJobReconciler) Reconcile ¶
func (r *ReclaimSpaceCronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Reconcile will be called when there is any event related to reclaimSpaceCronJob and also when there is an event related to child reclaimSpaceJobs due to controllerOwnerRef.
func (*ReclaimSpaceCronJobReconciler) SetupWithManager ¶
func (r *ReclaimSpaceCronJobReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ReclaimSpaceJobReconciler ¶
type ReclaimSpaceJobReconciler struct { client.Client // Scheme defines methods for serializing and deserializing API objects. Scheme *runtime.Scheme // ConnectionPool consists of map of Connection objects. ConnPool *connection.ConnectionPool // Timeout for the Reconcile operation. Timeout time.Duration }
ReclaimSpaceJobReconciler reconciles a ReclaimSpaceJob object.
func (*ReclaimSpaceJobReconciler) Reconcile ¶
func (r *ReclaimSpaceJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ReclaimSpaceJobReconciler) SetupWithManager ¶
func (r *ReclaimSpaceJobReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.