persistentvolumeclaim

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CasDescribeMap

CasDescribeMap returns a map cas-types to functions for persistentvolumeclaim describing

func Describe

func Describe(pvcs []string, namespace string, openebsNs string) error

Describe manages various implementations of PersistentVolumeClaim Describing

func DescribeGenericVolumeClaim

func DescribeGenericVolumeClaim(pvc *corev1.PersistentVolumeClaim, pv *corev1.PersistentVolume, casType string, mountPods string) error

DescribeGenericVolumeClaim describes a any PersistentVolumeClaim, if the cas type is not discovered.

func DescribeLVMVolumeClaim added in v0.4.0

func DescribeLVMVolumeClaim(c *client.K8sClient, pvc *corev1.PersistentVolumeClaim, pv *corev1.PersistentVolume, mountPods string) error

DescribeLVMVolumeClaim describes a LVM storage engine PersistentVolumeClaim

func DescribeZFSVolumeClaim added in v0.4.0

func DescribeZFSVolumeClaim(c *client.K8sClient, pvc *corev1.PersistentVolumeClaim, pv *corev1.PersistentVolume, mountPods string) error

DescribeZFSVolumeClaim describes a ZFS storage engine PersistentVolumeClaim

func GetMountPods added in v0.5.0

func GetMountPods(pvcName string, nsPods []corev1.Pod) []corev1.Pod

GetMountPods filters the array of Pods and returns an array of Pods that mount the PersistentVolumeClaim

func PodsToString added in v0.5.0

func PodsToString(pods []corev1.Pod) string

PodsToString Flattens the array of Pods and returns a string fit to display in the output

func SortPods added in v0.5.0

func SortPods(pods []corev1.Pod) []corev1.Pod

SortPods sorts the array of Pods by name

Types

This section is empty.

Jump to

Keyboard shortcuts

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