Documentation ¶
Index ¶
- func Quit(_ *gocui.Gui, _ *gocui.View) error
- func SetView(g *gocui.Gui, v *gocui.View) error
- type Controller
- func (c *Controller) ClearStatus()
- func (c *Controller) ConfigureGlobalKeyBindings() error
- func (c *Controller) RefreshView(viewName string)
- func (c *Controller) SetKeyBinding(viewName string, key interface{}, mod gocui.Modifier, ...) error
- func (c *Controller) SetManager()
- func (c *Controller) UpdateStatus(status string)
- type ControllerView
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct { sync.Mutex Cui *gocui.Gui DockerClient *dockerClient.Client Views map[string]widgets.Widget LayoutFunc func(g *gocui.Gui) error HelpFunc func(g *gocui.Gui, v *gocui.View) error Tab widgets.Tab Config *config.Config ActiveCancel context.CancelFunc }
func (*Controller) ClearStatus ¶
func (c *Controller) ClearStatus()
func (*Controller) ConfigureGlobalKeyBindings ¶
func (c *Controller) ConfigureGlobalKeyBindings() error
func (*Controller) RefreshView ¶
func (c *Controller) RefreshView(viewName string)
func (*Controller) SetKeyBinding ¶
func (*Controller) SetManager ¶
func (c *Controller) SetManager()
func (*Controller) UpdateStatus ¶
func (c *Controller) UpdateStatus(status string)
type ControllerView ¶
Click to show internal directories.
Click to hide internal directories.