Documentation ¶
Index ¶
- func ClusterMembershipStatus(cmdOutput []byte) model.ClusterMembershipStatus
- func Clusters(cmdOutput []byte) []model.ClusterInfo
- func Filesystems(cmdOutput []byte) []model.Filesystem
- func Host(cmdOutput []byte) model.Host
- func NewIter(splitted []string) func() string
- func OvmVMs(cmdOutput []byte) map[string][]model.VMInfo
- func TrimParseBool(s string) bool
- func TrimParseFloat64(s string) float64
- func TrimParseFloat64Pointer(s string, nils ...string) *float64
- func TrimParseInt(s string) int
- func TrimParseInt64(s string) int64
- func TrimParseIntPointer(s string, nils ...string) *int
- func TrimParseStringPointer(s string, nils ...string) *string
- func TrimParseUint(s string) uint
- func VmwareVMs(cmdOutput []byte) map[string][]model.VMInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterMembershipStatus ¶
func ClusterMembershipStatus(cmdOutput []byte) model.ClusterMembershipStatus
ClusterMembershipStatus returns this struct filled from the output of the script
func Clusters ¶
func Clusters(cmdOutput []byte) []model.ClusterInfo
Clusters returns a list of Clusters entries extracted from the clusters fetcher command output.
func Filesystems ¶
func Filesystems(cmdOutput []byte) []model.Filesystem
Filesystems returns a list of Filesystem entries extracted from the filesystem fetcher command output. Filesystem output is a list of filesystem entries with positional attribute columns separated by one or more spaces
func Host ¶
Host returns a Host struct from the output of the host fetcher command. Host fields output is in key: value format separated by a newline
func TrimParseBool ¶
func TrimParseFloat64 ¶
func TrimParseFloat64Pointer ¶
func TrimParseInt ¶
func TrimParseInt64 ¶
func TrimParseIntPointer ¶
func TrimParseStringPointer ¶
func TrimParseUint ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.