csinoderescanner

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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 ActionType

type ActionType string

ActionType refers to the next action

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL