actions

package
v0.0.0-...-7737fca Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchContainers

func FetchContainers(s *k.State, c k8s.ClientSet) func(g1 *gocui.Gui, _ *gocui.View) error

FetchContainers is a function factory that returns a function that will fetch containers for a pod

func FetchLogs

func FetchLogs(s *k.State, c k8s.ClientSet) func(g1 *gocui.Gui, _ *gocui.View) error

FetchLogs is a function factory that will return a function that fetches logs for a container

func HandleDebugEsc

func HandleDebugEsc(s *k.State) func(*gocui.Gui, *gocui.View) error

HandleDebugEsc runs when pressing esc while focused on a Modal

func HandleModalEnter

func HandleModalEnter(s *k.State, c k8s.ClientSet) func(*gocui.Gui, *gocui.View) error

HandleModalEnter runs when pressing enter while focused on a Modal

func HandleModalEsc

func HandleModalEsc(s *k.State) func(*gocui.Gui, *gocui.View) error

HandleModalEsc runs when pressing esc while focused on a Modal

func HandleTableDelete

func HandleTableDelete(s *k.State, c k8s.ClientSet) func(*gocui.Gui, *gocui.View) error

HandleTableDelete runs when pressing delete while focused on a Table

func HandleTableEnter

func HandleTableEnter(s *k.State, c k8s.ClientSet) func(*gocui.Gui, *gocui.View) error

HandleTableEnter runs when pressing enter while focused on a Table

func LoadAuto

func LoadAuto(client k8s.ClientSet, s *k.State) func(g *gocui.Gui, _ *gocui.View) error

LoadAuto is function factory for the auto refresh for data

func LoadManual

func LoadManual(client k8s.ClientSet, s *k.State) func(g *gocui.Gui, _ *gocui.View) error

LoadManual is function factory for the auto refresh for data

func ModalCursorMove

func ModalCursorMove(s *k.State, delta int) func(g1 *gocui.Gui, _ *gocui.View) error

ModalCursorMove returns a function that will move cursors for entities displayed in a modal

func StateDump

func StateDump(s *k.State) func(g1 *gocui.Gui, _ *gocui.View) error

StateDump returns a function that will log the current app state to the configured logger's output

func TableClearFilter

func TableClearFilter(s *k.State) func(g1 *gocui.Gui, _ *gocui.View) error

TableClearFilter returns a function that will clear the filters for entities displayed in a table

func TableCursorMove

func TableCursorMove(s *k.State, delta int) func(g1 *gocui.Gui, _ *gocui.View) error

TableCursorMove returns a function that will move cursors for entities displayed in a table

func ToggleNamespaces

func ToggleNamespaces(s *k.State) func(g1 *gocui.Gui, _ *gocui.View) error

ToggleNamespaces returns a function that will toggle the namespaces modal

func ToggleResources

func ToggleResources(s *k.State) func(g1 *gocui.Gui, _ *gocui.View) error

ToggleResources returns a function that will toggle the resources modal

func ToggleViewDebug

func ToggleViewDebug(s *k.State) func(g *gocui.Gui, _ *gocui.View) error

ToggleViewDebug returns a function that will toggle the debug view

Types

This section is empty.

Jump to

Keyboard shortcuts

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