Documentation
¶
Index ¶
- func CPUData(perCPU bool) float64
- func ContainerData() []types.Container
- func FilterNetworkInterfaces(interfaces *[]net.Interface) string
- func GetNetworkInterfaces() []net.Interface
- func HostInfo() interface{}
- func SanitizeContainer(containers []types.Container) []types.Container
- func ShortenContainerId(id string) string
- func StartContainer(containerId string)
- func StopContainer(containerId string)
- func VirtualMemory() float64
- type FormattedTime
- type HostInfoStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerData ¶
func FilterNetworkInterfaces ¶
filter network interfaces so that you get only the one you are using for outside connections
func GetNetworkInterfaces ¶
get a list of all network interfaces
func ShortenContainerId ¶
func StartContainer ¶
func StartContainer(containerId string)
func StopContainer ¶
func StopContainer(containerId string)
Types ¶
type FormattedTime ¶
func FormatTime ¶
func FormatTime(seconds uint64) FormattedTime
type HostInfoStats ¶
Click to show internal directories.
Click to hide internal directories.