gui

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OverlappingEdges = false

Functions

func Max added in v0.1.1

func Max(x, y int) int

func NewPanelStates added in v0.1.1

func NewPanelStates() *panelStates

Types

type Gui

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

func NewGui

func NewGui(k8sClient *client.K8s) (*Gui, error)

func (*Gui) FindSelectedLine added in v0.1.1

func (gui *Gui) FindSelectedLine(v *gocui.View, itemCount int) int

This function is a modified version of https://github.com/jesseduffield/lazydocker/blob/a14e6400cbbd7e2aa9ef22166b085b0678f9ca3a/pkg/gui/view_helpers.go#L361

func (*Gui) Run

func (gui *Gui) Run() error

func (*Gui) SetKeybindings

func (gui *Gui) SetKeybindings(g *gocui.Gui) error

func (*Gui) WatchNamespace added in v0.1.1

func (gui *Gui) WatchNamespace() error

func (*Gui) WatchNodes added in v0.1.1

func (gui *Gui) WatchNodes() error

func (*Gui) WatchPods added in v0.1.1

func (gui *Gui) WatchPods() error

Jump to

Keyboard shortcuts

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