Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListView ¶
type ListView struct {
// contains filtered or unexported fields
}
func (*ListView) GetSelectedData ¶
func (*ListView) HandleEvent ¶
func (*ListView) ScrollDown ¶
func (r *ListView) ScrollDown()
type RegionListView ¶
type RegionListView struct {
ListView
}
func NewRegionListView ¶
func NewRegionListView(regionList []string) *RegionListView
This function should be called only once due to the fact that the coordinates of the widget is fixed. TODO: use view.TerminalEnvironment to determine actual terminal dimension
type ServiceInstanceHeaderFactory ¶
type ServiceInstanceHeaderFactory func() []string
type ServiceInstanceListView ¶
type ServiceInstanceListView struct {
ListView
}
func NewServiceInstanceListView ¶
func NewServiceInstanceListView(serviceInstanceList []string) *ServiceInstanceListView
This function should be called only once due to the fact that the coordinates of the widget is fixed. TODO: use view.TerminalEnvironment to determine actual terminal dimension
type ServiceInstanceTableView ¶
type ServiceInstanceTableView struct {
TableView
}
func NewServiceInstanceTableView ¶
func NewServiceInstanceTableView(serviceId string, serviceInstanceData []string) *ServiceInstanceTableView
TODO: use view.TerminalEnvironment to determine actual terminal dimension
type ServiceListView ¶
type ServiceListView struct {
ListView
}
func NewServiceListView ¶
func NewServiceListView(serviceList []string) *ServiceListView
This function should be called only once due to the fact that the coordinates of the widget is fixed. TODO: use view.TerminalEnvironment to determine actual terminal dimension
type TableView ¶
type TableView struct {
// contains filtered or unexported fields
}
func (*TableView) GetSelectedData ¶
func (*TableView) HandleEvent ¶
type TerminalEnvironment ¶
type TerminalEnvironment struct {
// contains filtered or unexported fields
}
func NewTerminalEnvironment ¶
func NewTerminalEnvironment() *TerminalEnvironment
func (*TerminalEnvironment) Height ¶
func (t *TerminalEnvironment) Height() int
func (*TerminalEnvironment) Update ¶
func (t *TerminalEnvironment) Update()
func (*TerminalEnvironment) Width ¶
func (t *TerminalEnvironment) Width() int
Click to show internal directories.
Click to hide internal directories.