Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupNavigation ¶
func SetupNavigation(app *tview.Application, controller *UIController)
func SetupStatusBar ¶
Types ¶
type UIController ¶
type UIController struct { UIManager *UIManager Application *tview.Application KubernetesClient kubernetes.KubernetesClient }
func NewUIController ¶
func NewUIController(app *tview.Application, uiManager *UIManager, client kubernetes.KubernetesClient) *UIController
func (*UIController) HandleBackNavigation ¶
func (controller *UIController) HandleBackNavigation()
func (*UIController) HandleLogView ¶
func (controller *UIController) HandleLogView()
func (*UIController) HandleNamespaceFilter ¶
func (controller *UIController) HandleNamespaceFilter()
func (*UIController) HandleNodeSelection ¶
func (controller *UIController) HandleNodeSelection()
func (*UIController) HandlePodSelection ¶
func (controller *UIController) HandlePodSelection()
type UIManager ¶
type UIManager struct { Header *tview.TextView NodeListPanel *tview.Table PodListPanel *tview.Table DetailsPanel *tview.TextView LogsViewPanel *tview.TextView StatusBar *tview.TextView CurrentPanel int SelectedPod string SelectedNode string Layout *tview.Flex }
func SetupUILayout ¶
func SetupUILayout(app *tview.Application, client kubernetes.KubernetesClient) (*UIManager, *tview.Flex)
Click to show internal directories.
Click to hide internal directories.