view

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDetail

type ClusterDetail struct {
	// contains filtered or unexported fields
}

func NewClusterDetail

func NewClusterDetail(cluster *types.Cluster, currentTab int) *ClusterDetail

func (*ClusterDetail) AddTab

func (cd *ClusterDetail) AddTab(title string, page app.Page) *ClusterDetail

func (*ClusterDetail) Render

func (cd *ClusterDetail) Render() tview.Primitive

func (*ClusterDetail) SetPrevPageAction

func (cd *ClusterDetail) SetPrevPageAction(action func()) *ClusterDetail

func (*ClusterDetail) SetReloadAction

func (cd *ClusterDetail) SetReloadAction(action func(currentTab int)) *ClusterDetail

type ClusterList

type ClusterList struct {
	// contains filtered or unexported fields
}

func NewClusterList

func NewClusterList(clusters []types.Cluster) *ClusterList

func (*ClusterList) Render

func (cl *ClusterList) Render() tview.Primitive

func (*ClusterList) SetReloadAction

func (cl *ClusterList) SetReloadAction(action func()) *ClusterList

func (*ClusterList) SetSelectAction

func (cl *ClusterList) SetSelectAction(action func(cluster *types.Cluster)) *ClusterList

type DeploymentList

type DeploymentList struct {
	// contains filtered or unexported fields
}

func NewDeploymentList

func NewDeploymentList(service *types.Service) *DeploymentList

func (*DeploymentList) Render

func (dl *DeploymentList) Render() tview.Primitive

type EventList

type EventList struct {
	// contains filtered or unexported fields
}

func NewEventList

func NewEventList(service *types.Service) *EventList

func (*EventList) Render

func (el *EventList) Render() tview.Primitive

type ServiceDetail

type ServiceDetail struct {
	// contains filtered or unexported fields
}

func NewServiceDetail

func NewServiceDetail(service *types.Service, currentTab int) *ServiceDetail

func (*ServiceDetail) AddTab

func (sd *ServiceDetail) AddTab(title string, page app.Page) *ServiceDetail

func (*ServiceDetail) Render

func (sd *ServiceDetail) Render() tview.Primitive

func (*ServiceDetail) SetPrevPageAction

func (sd *ServiceDetail) SetPrevPageAction(action func()) *ServiceDetail

func (*ServiceDetail) SetReloadAction

func (sd *ServiceDetail) SetReloadAction(action func(currentTab int)) *ServiceDetail

type ServiceList

type ServiceList struct {
	// contains filtered or unexported fields
}

func NewServiceList

func NewServiceList(services []types.Service) *ServiceList

func (*ServiceList) Render

func (sl *ServiceList) Render() tview.Primitive

func (*ServiceList) SetSelectAction

func (sl *ServiceList) SetSelectAction(action func(*types.Service)) *ServiceList

type TaskDetail

type TaskDetail struct {
	// contains filtered or unexported fields
}

func NewTaskDetail

func NewTaskDetail(task *types.Task) *TaskDetail

func (*TaskDetail) Render

func (td *TaskDetail) Render() tview.Primitive

func (*TaskDetail) SetPrevPageAction

func (td *TaskDetail) SetPrevPageAction(action func()) *TaskDetail

func (*TaskDetail) SetReloadAction

func (td *TaskDetail) SetReloadAction(action func()) *TaskDetail

func (*TaskDetail) SetSelectAction

func (td *TaskDetail) SetSelectAction(action func(*types.Container)) *TaskDetail

type TaskList

type TaskList struct {
	// contains filtered or unexported fields
}

func NewTaskList

func NewTaskList(tasks []types.Task) *TaskList

func (*TaskList) Render

func (tl *TaskList) Render() tview.Primitive

func (*TaskList) SetSelectAction

func (tl *TaskList) SetSelectAction(action func(*types.Task)) *TaskList

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL