Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcHosts ¶
func NewEtcHosts ¶
type IPTables ¶
type IPTables struct { Commands []string `json:"commands"` Redactions []*redact.Redact `json:"redactions"` }
func NewIPTables ¶
NewIPTables returns a runner configured to run several iptables commands
type InfoStat ¶
type InfoStat struct { Hostname string `json:"hostname"` OS string `json:"os"` Platform string `json:"platform"` PlatformFamily string `json:"platformFamily"` PlatformVersion string `json:"platformVersion"` KernelVersion string `json:"kernelVersion"` KernelArch string `json:"kernelArch"` VirtualizationSystem string `json:"virtualizationSystem"` VirtualizationRole string `json:"virtualizationRole"` HostID string `json:"hostId"` Uptime uint64 `json:"uptime"` BootTime uint64 `json:"bootTime"` Procs uint64 `json:"procs"` }
InfoStat includes general information about the Host. It serves as the basis for the results produced by the Info runner.
type Network ¶
func NewNetwork ¶
type NetworkInterface ¶
type NetworkInterface struct { Index int `json:"index"` MTU int `json:"mtu"` Name string `json:"name"` Flags []string `json:"flags"` Addrs []string `json:"addrs"` }
NetworkInterface represents details about a network interface. This serves as the basis for the results produced by the Network runner.
type OS ¶
type Partition ¶
type Partition struct { Device string `json:"device"` Mountpoint string `json:"mountpoint"` Fstype string `json:"fstype"` Opts []string `json:"opts"` }
Partition includes details about a disk partition. This serves as the basis for the results produced by the Disk runner.
Click to show internal directories.
Click to hide internal directories.