Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EmptyCell represents an empty cell in the table.
EmptyCell = ""
)
Variables ¶
This section is empty.
Functions ¶
func NewFilesystemEvtChan ¶
func NewFilesystemEvtChan() chan model.K8sConfigFileChangeEvent
NewFilesystemEvtChan return file system event channel
func NewNetEvtChan ¶
func NewNetEvtChan() chan model.K8sAPICallEvent
NewNetEvtChan return net event channel
Types ¶
type KubeKnarkUI ¶
type KubeKnarkUI struct { NetEvtChan chan model.K8sAPICallEvent FsEvtChan chan model.K8sConfigFileChangeEvent // contains filtered or unexported fields }
KubeKnarkUI return UI object
func NewKubeKnarkUI ¶
func NewKubeKnarkUI(netData chan model.K8sAPICallEvent, fsData chan model.K8sConfigFileChangeEvent) *KubeKnarkUI
NewKubeKnarkUI return new KubeKnarkUI object
func (*KubeKnarkUI) Draw ¶
func (kui *KubeKnarkUI) Draw(errNetChan chan error)
Draw draw ui kube knark ui with paragraph and lists
type Table ¶
type Table struct { *widgets.Table //Rows are the rows of the table. Rows TableRows // colors which will be used to paint the table rows. Colors struct { // default color of each row Text termui.Color // text color of the selected row SelectedRowFg termui.Color // row color of the selected row SelectedRowBg termui.Color } // contains filtered or unexported fields }
Table is extending the Table in the termui/v3/widgets/ package to support scrolling/filtering.
Click to show internal directories.
Click to hide internal directories.