Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DeletingState name deletion state of MigrationGroup DeletingState = "Deleting" // MigratedState name of post migrate call state of MigrationGroup MigratedState = "Migrated" // MaxRetryDurationForActions maximum amount of time between retries of failed action MaxRetryDurationForActions = 1 * time.Hour // NodeLabelFilter is filter to get all pmax nodes NodeLabelFilter = "powermax-node" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeRescanReconciler ¶
type NodeRescanReconciler struct { Client client.Client Log logr.Logger Scheme *runtime.Scheme EventRecorder record.EventRecorder DriverName string NodeName string MaxRetryDurationForActions time.Duration }
NodeRescanReconciler reconciles PersistentVolume resources
func (*NodeRescanReconciler) Reconcile ¶
func (r *NodeRescanReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile contains reconciliation logic that updates MigrationGroup depending on it's current state
func (*NodeRescanReconciler) SetupWithManager ¶
func (r *NodeRescanReconciler) SetupWithManager(mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
SetupWithManager start using reconciler by creating new controller managed by provided manager
Click to show internal directories.
Click to hide internal directories.