kube

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package kube offers utilities for working with Kubernetes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunK9s

func RunK9s(resourceType, namespace string) error

RunK9s will open up k9s to the specified resource type and namespace.

func SetKubeContext

func SetKubeContext(context string) error

SetKubeContext takes in the context name and sets it as the current kube context.

func SetKubeContextWithPrompt

func SetKubeContextWithPrompt() error

SetKubeContextWithPrompt will grab all the available contexts, prompt the user to make a choice, and set the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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