package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Aug 26, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Process data based on passed variables.
type DiskBlocks struct {
Blocks uint64 `json:"blocks"`
Bsize int64 `json:"block_size"`
Bfree uint64 `json:"blocks_free"`
Bavail uint64 `json:"blocks_avail"`
Bused uint64 `json:"blocks_used"`
Bpercent string `json:"blocks_percent"`
Balert string `json:"blocks_alert"`
}
type DiskDetails struct {
Name string `json:"name"`
Partition string `json:"partition"`
PartitionType string `json:"partition_type"`
ReadOnly bool `json:"read_only"`
Blocks DiskBlocks `json:"disk_blocks"`
Inodes DiskInodes `json:"disk_inodes"`
}
type DiskInodes struct {
Inodes uint64 `json:"inodes"`
Ifree uint64 `json:"inodes_free"`
Iused uint64 `json:"inodes_used"`
Ipercent string `json:"inodes_percent"`
Ialert string `json:"inodes_alert"`
}
type ValidDisks struct {
Partition string `json:"partition"`
Mount string `json:"mount"`
Type string `json:"type"`
Options string `json:"options"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.