controllers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 47 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VolumeRunsInVolumePool

func VolumeRunsInVolumePool(volume *storagev1alpha1.Volume, volumePoolName string) bool

func VolumeRunsInVolumePoolPredicate

func VolumeRunsInVolumePoolPredicate(volumePoolName string) predicate.Predicate

Types

type VolumeAnnotatorReconciler

type VolumeAnnotatorReconciler struct {
	client.Client

	VolumeEvents irievent.Source[*iri.Volume]
}

func (*VolumeAnnotatorReconciler) Reconcile

func (*VolumeAnnotatorReconciler) SetupWithManager

func (r *VolumeAnnotatorReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumePoolAnnotatorReconciler

type VolumePoolAnnotatorReconciler struct {
	client.Client

	VolumePoolName    string
	VolumeClassMapper vcm.VolumeClassMapper
}

func (*VolumePoolAnnotatorReconciler) Reconcile

func (*VolumePoolAnnotatorReconciler) SetupWithManager

func (r *VolumePoolAnnotatorReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumePoolInit

type VolumePoolInit struct {
	client.Client

	VolumePoolName string
	ProviderID     string

	TopologyLabels map[commonv1alpha1.TopologyLabel]string

	OnInitialized func(ctx context.Context) error
	OnFailed      func(ctx context.Context, reason error) error
}

func (*VolumePoolInit) SetupWithManager

func (i *VolumePoolInit) SetupWithManager(mgr ctrl.Manager) error

func (*VolumePoolInit) Start

func (i *VolumePoolInit) Start(ctx context.Context) error

type VolumePoolReconciler

type VolumePoolReconciler struct {
	client.Client
	VolumePoolName    string
	VolumeRuntime     volume.RuntimeService
	VolumeClassMapper vcm.VolumeClassMapper

	TopologyLabels map[commonv1alpha1.TopologyLabel]string
}

func (*VolumePoolReconciler) Reconcile

func (r *VolumePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*VolumePoolReconciler) SetupWithManager

func (r *VolumePoolReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumeReconciler

type VolumeReconciler struct {
	events.EventRecorder
	client.Client
	Scheme *runtime.Scheme

	VolumeRuntime     iriVolume.RuntimeService
	VolumeRuntimeName string

	VolumeClassMapper vcm.VolumeClassMapper

	VolumePoolName string

	DownwardAPILabels      map[string]string
	DownwardAPIAnnotations map[string]string

	WatchFilterValue string

	MaxConcurrentReconciles int
}

func (*VolumeReconciler) Reconcile

func (r *VolumeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*VolumeReconciler) SetupWithManager

func (r *VolumeReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumeSnapshotAnnotatorReconciler added in v0.3.0

type VolumeSnapshotAnnotatorReconciler struct {
	client.Client

	VolumeSnapshotEvents irievent.Source[*iri.VolumeSnapshot]
}

func (*VolumeSnapshotAnnotatorReconciler) Reconcile added in v0.3.0

func (*VolumeSnapshotAnnotatorReconciler) SetupWithManager added in v0.3.0

func (r *VolumeSnapshotAnnotatorReconciler) SetupWithManager(mgr ctrl.Manager) error

type VolumeSnapshotReconciler added in v0.3.0

type VolumeSnapshotReconciler struct {
	events.EventRecorder
	client.Client
	Scheme *runtime.Scheme

	VolumeRuntime     iriVolume.RuntimeService
	VolumeRuntimeName string

	DownwardAPILabels      map[string]string
	DownwardAPIAnnotations map[string]string

	WatchFilterValue string

	MaxConcurrentReconciles int
}

func (*VolumeSnapshotReconciler) Reconcile added in v0.3.0

func (*VolumeSnapshotReconciler) SetupWithManager added in v0.3.0

func (r *VolumeSnapshotReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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