Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMmLsFs ¶
ParseMmLsFs returns the different devices in the GPFS cluster
Types ¶
type MmDfFsTotalInfo ¶
type MmDfFsTotalInfo struct {
// contains filtered or unexported fields
}
MmDfFsTotalInfo represents the `fstotal` output line information
func (*MmDfFsTotalInfo) ToMapStr ¶
func (m *MmDfFsTotalInfo) ToMapStr() common.MapStr
ToMapStr turns the fs total information into a common.MapStr
func (*MmDfFsTotalInfo) UpdateDevice ¶
func (m *MmDfFsTotalInfo) UpdateDevice(device string)
UpdateDevice sets the device name
type MmDfInodeInfo ¶
type MmDfInodeInfo struct {
// contains filtered or unexported fields
}
MmDfInodeInfo represents the `inode` ouput line information
func (*MmDfInodeInfo) ToMapStr ¶
func (m *MmDfInodeInfo) ToMapStr() common.MapStr
ToMapStr turns the inode information into a common.MapStr
func (*MmDfInodeInfo) UpdateDevice ¶
func (m *MmDfInodeInfo) UpdateDevice(device string)
UpdateDevice sets the device name
type MmDfNSDInfo ¶
type MmDfNSDInfo struct {
// contains filtered or unexported fields
}
MmDfNSDInfo represents the `nsd` output line information
func (*MmDfNSDInfo) ToMapStr ¶
func (m *MmDfNSDInfo) ToMapStr() common.MapStr
ToMapStr turns the nsd information into a common.MapStr
func (*MmDfNSDInfo) UpdateDevice ¶
func (m *MmDfNSDInfo) UpdateDevice(device string)
UpdateDevice sets the device name
type MmDfPoolTotalInfo ¶
type MmDfPoolTotalInfo struct {
// contains filtered or unexported fields
}
MmDfPoolTotalInfo represent the `poolTotal` output line information
func (*MmDfPoolTotalInfo) ToMapStr ¶
func (m *MmDfPoolTotalInfo) ToMapStr() common.MapStr
ToMapStr turns the pool total information into a common.MapStr
func (*MmDfPoolTotalInfo) UpdateDevice ¶
func (m *MmDfPoolTotalInfo) UpdateDevice(device string)
UpdateDevice sets the device name
type MmLsFilesetInfo ¶
type MmLsFilesetInfo struct { ID int64 // contains filtered or unexported fields }
MmLsFilesetInfo contains relevant information about GPFS filesets. For now, we ignore AFM info, as we do no use it.
func ParseMmLsFileset ¶
func ParseMmLsFileset(device string, output string) ([]MmLsFilesetInfo, error)
ParseMmLsFileset converts the output lines to the desired format
func (*MmLsFilesetInfo) ToMapStr ¶
func (m *MmLsFilesetInfo) ToMapStr() common.MapStr
ToMapStr returns the fileset information in a common.MapStr
func (*MmLsFilesetInfo) UpdateDevice ¶
func (m *MmLsFilesetInfo) UpdateDevice(device string)
UpdateDevice sets the device name (this should be the same as filesystemName)
type MmLsFsInfo ¶
type MmLsFsInfo struct {
// contains filtered or unexported fields
}
MmLsFsInfo contains the relevant information from a single mmlsfs run
func (*MmLsFsInfo) ToMapStr ¶
func (m *MmLsFsInfo) ToMapStr() common.MapStr
ToMapStr turns the filesystem info into a common.MapStr
func (*MmLsFsInfo) UpdateDevice ¶
func (m *MmLsFsInfo) UpdateDevice(device string)
UpdateDevice does not do anything, since we already have that information
type ParseResult ¶
type ParseResult interface { ToMapStr() common.MapStr UpdateDevice(string) // in case we need the device information, we should be able to set it if it is not provided }
ParseResult represents the result of parsing one or more output lines from a GPFS command
type QuotaInfo ¶
type QuotaInfo struct {
// contains filtered or unexported fields
}
QuotaInfo contains the information of a single entry produced by mmrepquota
func ParseMmRepQuota ¶
ParseMmRepQuota converts the lines into the desired information
func (*QuotaInfo) UpdateDevice ¶
UpdateDevice does not do anything, since we already have that information