Documentation ¶
Index ¶
- func CreateDirectory(path string) error
- func DeleteDirectory(path string) error
- func IsLovoStorageClassPV(pv *corev1.PersistentVolume) bool
- func IsLovoStorageClassPVC(pvc *corev1.PersistentVolumeClaim) bool
- func LovoOnCurrentNode(pv *corev1.PersistentVolume) bool
- func ReclaimPV(ctx context.Context, client client.Client, pv *corev1.PersistentVolume) error
- type PersistentVolumeClaimReconciler
- type PersistentVolumeReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirectory ¶
func DeleteDirectory ¶
func IsLovoStorageClassPV ¶
func IsLovoStorageClassPV(pv *corev1.PersistentVolume) bool
func IsLovoStorageClassPVC ¶
func IsLovoStorageClassPVC(pvc *corev1.PersistentVolumeClaim) bool
func LovoOnCurrentNode ¶
func LovoOnCurrentNode(pv *corev1.PersistentVolume) bool
Types ¶
type PersistentVolumeClaimReconciler ¶
type PersistentVolumeClaimReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
PersistentVolumeClaimReconciler reconciles a corev1.PersistentVolumeClaim object
func (*PersistentVolumeClaimReconciler) SetupWithManager ¶
func (r *PersistentVolumeClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PersistentVolumeReconciler ¶
type PersistentVolumeReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
PersistentVolumeReconciler reconciles a corev1.PersistentVolume object
func (*PersistentVolumeReconciler) SetupWithManager ¶
func (r *PersistentVolumeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.