pages

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrependRowNumColumn added in v0.1.3

func PrependRowNumColumn(data [][]string) [][]string

Prepend every slice in data with a row-number value

Types

type ClusterDetailsPage

type ClusterDetailsPage struct {
	Name      string
	TableInfo *ui.TableInfo
	Render    func(ecsData *ecsview.ClusterData)
}

Represents a page that displays details about an AWS cluster

func NewInstancesPage

func NewInstancesPage() *ClusterDetailsPage

Returns a page that displays the container instances in a cluster

func NewServicesPage

func NewServicesPage() *ClusterDetailsPage

Returns a page that displays the services in a cluster

func NewTasksPage

func NewTasksPage() *ClusterDetailsPage

Returns a page that displays the running tasks in a cluster

func (*ClusterDetailsPage) GetTable

func (p *ClusterDetailsPage) GetTable() *tview.Table

Jump to

Keyboard shortcuts

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