ecs

package
v0.0.0-...-f7ce621 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const SERVICE_DETAIL_PAGE = "details"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceDetailPage

type ServiceDetailPage struct {
	Flex        *tview.Flex
	CurrentItem int
}

func NewServiceDetailsPage

func NewServiceDetailsPage(inputData *data.ServiceData, deployFunc func(version string), restartFunc func(), openActions func(task *types.Task, container data.Container)) *ServiceDetailPage

func (*ServiceDetailPage) Close

func (s *ServiceDetailPage) Close()

func (*ServiceDetailPage) ContextView

func (*ServiceDetailPage) ContextView() tview.Primitive

func (*ServiceDetailPage) IsPersistent

func (s *ServiceDetailPage) IsPersistent() bool

func (*ServiceDetailPage) Name

func (*ServiceDetailPage) Name() string

func (*ServiceDetailPage) Render

func (*ServiceDetailPage) Render(accountData *data.AccountData)

func (*ServiceDetailPage) SetFocus

func (s *ServiceDetailPage) SetFocus(app *tview.Application)

func (*ServiceDetailPage) View

func (s *ServiceDetailPage) View() tview.Primitive

type ServicePage

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

func NewServicesPage

func NewServicesPage() *ServicePage

Returns a page that displays the services in a cluster

func (*ServicePage) Close

func (s *ServicePage) Close()

func (*ServicePage) ContextView

func (p *ServicePage) ContextView() tview.Primitive

func (*ServicePage) HandleInputCapture

func (p *ServicePage) HandleInputCapture(event *tcell.EventKey) *tcell.EventKey

func (*ServicePage) IsPersistent

func (s *ServicePage) IsPersistent() bool

func (*ServicePage) Name

func (p *ServicePage) Name() string

func (*ServicePage) Render

func (p *ServicePage) Render(accountData *data.AccountData)

func (*ServicePage) SetFocus

func (s *ServicePage) SetFocus(app *tview.Application)

func (*ServicePage) Table

func (p *ServicePage) Table() *tview.Table

func (*ServicePage) View

func (s *ServicePage) View() tview.Primitive

Jump to

Keyboard shortcuts

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