volume

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: 8 Imported by: 0

Documentation

Index

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

func CasDescribeMap() map[string]func(*client.K8sClient, *corev1.PersistentVolume) error

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

func CasList

CasList returns a list of functions by cas-types for volume listing

func CasListMap

CasListMap returns a map cas-types to functions for volume listing

func Describe

func Describe(vols []string, openebsNs string) error

Describe manages various implementations of Volume Describing

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 Get

func Get(vols []string, openebsNS, casType string) error

Get manages various implementations of Volume listing

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.

Jump to

Keyboard shortcuts

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