func actionViewNamespacesUp(g *gocui.Gui, v *gocui.View) error {
	moveViewCursorUp(g, v, 0)
	debug(g, "Select up in namespaces view")
	return nil
}
View namespaces: Up
package main
import (
	"github.com/jroimartin/gocui"
)
var DEBUG_DISPLAYED bool = false
var NAMESPACES_DISPLAYED bool = false
func actionGlobalQuit(g *gocui.Gui, v *gocui.View) error {
	return gocui.ErrQuit
}
func actionGlobalToggleViewDebug(g *gocui.Gui, v *gocui.View) error {
	vn := "debug"
	if !DEBUG_DISPLAYED {
		debug(g, "Action: Display debug popup")
		g.SetViewOnTop(vn)
		g.SetCurrentView(vn)
	} else {
		debug(g, "Action: Hide debug popup")
		g.SetViewOnBottom(vn)
		g.SetCurrentView("pods")
	}
	DEBUG_DISPLAYED = !DEBUG_DISPLAYED
	return nil
}
func actionGlobalToggleViewNamespaces(g *gocui.Gui, v *gocui.View) error {
	vn := "namespaces"
	if !NAMESPACES_DISPLAYED {
		debug(g, "Action: Display namespaces popup")
		g.SetViewOnTop(vn)
		g.SetCurrentView(vn)
		changeStatusContext(g, "SE")
	} else {
		debug(g, "Action: Hide namespaces popup")
		g.SetViewOnBottom(vn)
		g.SetCurrentView("pods")
		changeStatusContext(g, "D")
	}
	NAMESPACES_DISPLAYED = !NAMESPACES_DISPLAYED
	return nil
}
func actionViewPodsUp(g *gocui.Gui, v *gocui.View) error {
	moveViewCursorUp(g, v, 2)
	debug(g, "Select up in pods view")
	return nil
}
func actionViewPodsDown(g *gocui.Gui, v *gocui.View) error {
	moveViewCursorDown(g, v, false)
	debug(g, "Select down in pods view")
	return nil
}
func actionViewPodsDelete(g *gocui.Gui, v *gocui.View) error {
	p, err := getSelectedPod(g)
	if err != nil {
		return err
	}
	if err := deletePod(p); err != nil {
		return err
	}
	debug(g, "Delete pod: "+p)
	displayConfirmation(g, p+" pod deleted")
	go viewPodsRefreshList(g)
	return nil
}
func actionViewPodsLogs(g *gocui.Gui, v *gocui.View) error {
	LOG_MOD = "pod"
	err := showViewPodsLogs(g)
	changeStatusContext(g, "SL")
	return err
}
func actionViewPodsLogsUp(g *gocui.Gui, v *gocui.View) error {
	vLc, err := g.View("logs-containers")
	if err != nil {
		return err
	}
	moveViewCursorUp(g, vLc, 0)
	refreshPodsLogs(g)
	debug(g, "Select up in logs view")
	return nil
}
func actionViewPodsLogsDown(g *gocui.Gui, v *gocui.View) error {
	vLc, err := g.View("logs-containers")
	if err != nil {
		return err
	}
	moveViewCursorDown(g, vLc, false)
	refreshPodsLogs(g)
	debug(g, "Select down in logs view")
	return nil
}
func actionViewPodsLogsHide(g *gocui.Gui, v *gocui.View) error {
	g.SetViewOnBottom("logs")
	g.SetViewOnBottom("logs-containers")
	g.SetCurrentView("pods")
	v.Clear()
	changeStatusContext(g, "D")
	debug(g, "Action: Hide view logs)")
	return nil
}