common

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FzfSelect added in v0.0.12

func FzfSelect(items []string) string

func GetCurrent

func GetCurrent(resource string) string

func InitialSetup

func InitialSetup() (string, string)

func InjectShellHistory added in v0.0.8

func InjectShellHistory(option, value string) string

func ListContexts

func ListContexts() []string

func ListNamespaces

func ListNamespaces() []string

func PrintContexts added in v0.0.12

func PrintContexts()

func PrintNamespaces added in v0.0.12

func PrintNamespaces()

func SetDebug added in v0.0.6

func SetDebug(d bool)

func SpawnShell

func SpawnShell(kube_config, history string)

func UpdateContext

func UpdateContext(kubeconfig_kubesw_dir, context, namespace string) string

func UpdateNamespace

func UpdateNamespace(kube_config, namespace string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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