Documentation ¶
Index ¶
- Constants
- func CasDescribeMap() map[string]func(*client.K8sClient, *corev1.PersistentVolume) error
- func CasList() ...
- func CasListMap() ...
- func Describe(vols []string, openebsNs string) error
- func DescribeLVMLocalPVs(c *client.K8sClient, vol *corev1.PersistentVolume) error
- func DescribeLocalHostpathVolume(_ *client.K8sClient, vol *corev1.PersistentVolume) error
- func DescribeZFSLocalPVs(c *client.K8sClient, vol *corev1.PersistentVolume) error
- func Get(vols []string, openebsNS, casType string) error
- func GetLVMLocalPV(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
- func GetLocalHostpath(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
- func GetZFSLocalPVs(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
Constants ¶
View Source
const ( // LocalHostpathVolInfoTemplate to store the local-hostpath volume and pvc describe related details LocalHostpathVolInfoTemplate = `` /* 328-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func CasDescribeMap ¶
CasDescribeMap returns a map cas-types to functions for volume describing
func CasList ¶
func CasList() []func(*client.K8sClient, *corev1.PersistentVolumeList, string) ([]metav1.TableRow, error)
CasList returns a list of functions by cas-types for volume listing
func CasListMap ¶
func CasListMap() map[string]func(*client.K8sClient, *corev1.PersistentVolumeList, string) ([]metav1.TableRow, error)
CasListMap returns a map cas-types to functions for volume listing
func DescribeLVMLocalPVs ¶ added in v0.3.0
func DescribeLVMLocalPVs(c *client.K8sClient, vol *corev1.PersistentVolume) error
DescribeLVMLocalPVs describes a single lvm-localpv volume
func DescribeLocalHostpathVolume ¶ added in v0.4.0
func DescribeLocalHostpathVolume(_ *client.K8sClient, vol *corev1.PersistentVolume) error
DescribeLocalHostpathVolume describes a localpv-hostpath PersistentVolume
func DescribeZFSLocalPVs ¶ added in v0.3.0
func DescribeZFSLocalPVs(c *client.K8sClient, vol *corev1.PersistentVolume) error
DescribeZFSLocalPVs describes a single zfs-localpv volume
func GetLVMLocalPV ¶
func GetLVMLocalPV(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
GetLVMLocalPV returns a list of LVM-LocalPV volumes
func GetLocalHostpath ¶ added in v0.4.0
func GetLocalHostpath(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
GetLocalHostpath returns a list of localpv-hostpath columes
func GetZFSLocalPVs ¶
func GetZFSLocalPVs(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
GetZFSLocalPVs returns a list of ZFSVolumes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.