Help us shape the future of Go! Take the 2026 Go Developer Survey

utilk8s

package
v0.29.26 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultKubeContext = ""

Variables

This section is empty.

Functions

func ExecInPod added in v0.12.0

func ExecInPod(config *rest.Config, kubeCl kubernetes.Interface, cmdLine []string, podName string, namespace string, containerName string) (remotecommand.Executor, error)

func GetDeckhousePod added in v0.12.0

func GetDeckhousePod(kubeCl kubernetes.Interface) (string, error)

func SetupK8sClientSet

func SetupK8sClientSet(kubeconfigPath, contextName string) (*rest.Config, *kubernetes.Clientset, error)

SetupK8sClientSet reads kubeconfig file at kubeconfigPath and constructs a kubernetes clientset from it. If contextName is not empty, context under that name is used instead of default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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