Documentation ¶
Index ¶
- func CasDescribeList() []func(*client.K8sClient, string) error
- func CasDescribeMap() map[string]func(*client.K8sClient, string) error
- func CasList() ...
- func CasListMap() ...
- func Describe(storages []string, openebsNs, casType string) error
- func DescribeLVMvg(c *client.K8sClient, vg string) error
- func DescribeZFSNode(c *client.K8sClient, sName string) error
- func Get(pools []string, openebsNS string, casType string) error
- func GetVolumeGroups(c *client.K8sClient, vgs []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
- func GetZFSPools(c *client.K8sClient, zfsnodes []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
- type LVMvgDesc
- type ZfsNodeDesc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CasDescribeList ¶ added in v0.3.0
CasDescribeList returns a list of functions which describe a Storage i.e. a zfspool/volume-group
func CasDescribeMap ¶
CasDescribeMap returns a map cas-types to functions for Storage describing
func CasList ¶
func CasList() []func(*client.K8sClient, []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
CasList has a list of method implementations for different cas-types
func CasListMap ¶
func CasListMap() map[string]func(*client.K8sClient, []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
CasListMap returns a map cas-types to functions for Storage listing
func DescribeLVMvg ¶ added in v0.3.0
DescribeLVMvg describes an LVM volume group
func DescribeZFSNode ¶ added in v0.3.0
DescribeZFSNode describes a ZFS node & the zfspools present in it
func GetVolumeGroups ¶
func GetVolumeGroups(c *client.K8sClient, vgs []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
GetVolumeGroups lists all volume groups by node
func GetZFSPools ¶
func GetZFSPools(c *client.K8sClient, zfsnodes []string) ([]metav1.TableColumnDefinition, []metav1.TableRow, error)
GetZFSPools lists all zfspools by zfsnodes
Types ¶
Click to show internal directories.
Click to hide internal directories.