Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeployColumns = []string{"NAME", "PODS", "PODS ACTIVE", "CPU", "RAM", "AGE"}
View Source
var NamespaceColumns = []string{"NAME", "HARD CPU", "HARD MEMORY", "USED CPU", "USED MEMORY", "AGE"}
View Source
var PodColumns = []string{"NAME", "READY", "STATUS", "RESTARTS", "AGE", "IP"}
View Source
var ServiceColumns = []string{"NAME", "CLUSTER-IP", "EXTERNAL", "HOST", "PORTS", "AGE"}
View Source
var VolumeColumns = []string{"LABEL", "SIZE (GiB)", "STATUS"}
Functions ¶
This section is empty.
Types ¶
type ResultPrinter ¶
type ResultPrinter interface {
Print() error
}
func ProcessResponse ¶
func ProcessResponse(resp []chlib.GenericJson, sortField string, np *jww.Notepad) (res ResultPrinter, err error)
type SingleVolumeResult ¶
type SingleVolumeResult struct { Replica int `json:"replica"` Status string `json:"status"` Label string `json:"label"` Df struct { Available string `json:"available"` Total string `json:"total"` UsePercent string `json:"use_percent"` Used string `json:"used"` } `json:"df"` }
func (SingleVolumeResult) Print ¶
func (s SingleVolumeResult) Print() error
type VolumeListResult ¶
type VolumeListResult []struct { Label string `json:"label"` Size int `json:"size"` Status string `json:"status"` }
func (VolumeListResult) Print ¶
func (l VolumeListResult) Print() error
Click to show internal directories.
Click to hide internal directories.