Documentation ¶
Index ¶
- type DellCsiVolumeGroupSnapshotReconciler
- func (r *DellCsiVolumeGroupSnapshotReconciler) GetReference(scheme *runtime.Scheme, obj runtime.Object) (*v1.ObjectReference, error)
- func (r *DellCsiVolumeGroupSnapshotReconciler) HandleSnapContentDelete(obj interface{})
- func (r *DellCsiVolumeGroupSnapshotReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DellCsiVolumeGroupSnapshotReconciler) SetupWithManager(mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DellCsiVolumeGroupSnapshotReconciler ¶
type DellCsiVolumeGroupSnapshotReconciler struct { client.Client Log logr.Logger VGClient csidriver.VolumeGroupSnapshot Scheme *runtime.Scheme EventRecorder record.EventRecorder DriverName string }
DellCsiVolumeGroupSnapshotReconciler reconciles a DellCsiVolumeGroupSnapshot object
func (*DellCsiVolumeGroupSnapshotReconciler) GetReference ¶
func (r *DellCsiVolumeGroupSnapshotReconciler) GetReference(scheme *runtime.Scheme, obj runtime.Object) (*v1.ObjectReference, error)
GetReference returns an ObjectReference which refers to the given object, or an error if the object doesn't follow the conventions that would allow this.
func (*DellCsiVolumeGroupSnapshotReconciler) HandleSnapContentDelete ¶
func (r *DellCsiVolumeGroupSnapshotReconciler) HandleSnapContentDelete(obj interface{})
func (*DellCsiVolumeGroupSnapshotReconciler) Reconcile ¶
func (r *DellCsiVolumeGroupSnapshotReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the DellCsiVolumeGroupSnapshot object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*DellCsiVolumeGroupSnapshotReconciler) SetupWithManager ¶
func (r *DellCsiVolumeGroupSnapshotReconciler) SetupWithManager(mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
SetupWithManager sets up the controller with the Manager. watch For DellCsiVolumeGroupSnapshot events