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 DescribeCstorVolume(c *client.K8sClient, vol *corev1.PersistentVolume) error
- func DescribeJivaVolume(c *client.K8sClient, vol *corev1.PersistentVolume) 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 GetCStor(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
- func GetJiva(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, 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 ¶
const ( // JivaVolInfoTemplate to store the jiva volume and pvc describe related details JivaVolInfoTemplate = `` /* 357-byte string literal not displayed */ // JivaPortalTemplate to store the portal details for jiva volume and pvc JivaPortalTemplate = `` /* 249-byte string literal not displayed */ )
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 DescribeCstorVolume ¶
func DescribeCstorVolume(c *client.K8sClient, vol *corev1.PersistentVolume) error
DescribeCstorVolume describes a cstor storage engine PersistentVolume
func DescribeJivaVolume ¶
func DescribeJivaVolume(c *client.K8sClient, vol *corev1.PersistentVolume) error
DescribeJivaVolume describes a jiva storage engine PersistentVolume
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 GetCStor ¶
func GetCStor(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
GetCStor returns a list of CStor volumes
func GetJiva ¶
func GetJiva(c *client.K8sClient, pvList *corev1.PersistentVolumeList, openebsNS string) ([]metav1.TableRow, error)
GetJiva returns a list of JivaVolumes
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.