Documentation ¶
Index ¶
- Constants
- type InfoBar
- func (info *InfoBar) Draw(screen tcell.Screen)
- func (info *InfoBar) UpdateBasicInfo(hostname string, kernel string, ostype string)
- func (info *InfoBar) UpdateConnStatus(status registry.ConnStatus)
- func (info *InfoBar) UpdatePodmanInfo(apiVers string, ociRuntime string, conmonVers string, buildahVers string)
- func (info *InfoBar) UpdateSystemUsageInfo(memUsage float64, swapUsage float64)
Constants ¶
View Source
const (
InfoBarViewHeight = 5
)
InfoBarViewHeight info bar height.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoBar ¶
InfoBar implements the info bar primitive.
func (*InfoBar) Draw ¶
func (info *InfoBar) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*InfoBar) UpdateBasicInfo ¶
UpdateBasicInfo updates hostname, kernel and os type values.
func (*InfoBar) UpdateConnStatus ¶
func (info *InfoBar) UpdateConnStatus(status registry.ConnStatus)
UpdateConnStatus updates connection status value.
func (*InfoBar) UpdatePodmanInfo ¶
func (info *InfoBar) UpdatePodmanInfo(apiVers string, ociRuntime string, conmonVers string, buildahVers string)
UpdatePodmanInfo updates api, conmon and buildah version values.
func (*InfoBar) UpdateSystemUsageInfo ¶
UpdateSystemUsageInfo updates memory and swap values.
Click to show internal directories.
Click to hide internal directories.