Documentation
¶
Index ¶
- Constants
- func BatteryCmd() tea.Cmd
- func ConnectionsCmd() tea.Cmd
- func ContainerCmd() tea.Cmd
- func DetectHardware() *data.HardwareCapabilities
- func DiskIOCmd() tea.Cmd
- func DiskInfoCmd() tea.Cmd
- func FastMetricsCmd() tea.Cmd
- func GetHypervisorType() string
- func GpuInfoCmd() tea.Cmd
- func HasDocker() bool
- func HasKubernetes() bool
- func HostInfoCmd() tea.Cmd
- func IsVM() bool
- func NetworkInterfacesCmd() tea.Cmd
- func ServicesCmd() tea.Cmd
- func SlowMetricsCmd() tea.Cmd
- func SystemLogsCmd() tea.Cmd
- func TempCmd() tea.Cmd
- func TickCmd(d time.Duration) tea.Cmd
- func VmCmd() tea.Cmd
Constants ¶
View Source
const ( ProtoTCP = 1 ProtoUDP = 2 MaxLogLines = 1000 )
View Source
const ( HypervisorNone = "" HypervisorVMware = "VMware" HypervisorVirtualBox = "VirtualBox" HypervisorKVM = "KVM" HypervisorHyperV = "Hyper-V" HypervisorQEMU = "QEMU" HypervisorXen = "Xen" HypervisorParallels = "Parallels" HypervisorBhyve = "Bhyve" HypervisorOpenVZ = "OpenVZ" HypervisorLXC = "LXC" HypervisorUnknown = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
func BatteryCmd ¶
func ConnectionsCmd ¶
func ContainerCmd ¶ added in v0.5.0
func DetectHardware ¶ added in v0.5.0
func DetectHardware() *data.HardwareCapabilities
func FastMetricsCmd ¶
func GetHypervisorType ¶ added in v0.5.0
func GetHypervisorType() string
func GpuInfoCmd ¶
func HasKubernetes ¶ added in v0.5.0
func HasKubernetes() bool
func HostInfoCmd ¶
func NetworkInterfacesCmd ¶
NetworkInterfacesCmd fetches network interface stats
func ServicesCmd ¶
func SlowMetricsCmd ¶
func SystemLogsCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.