k8s

package
v0.0.0-...-fa8d383 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecPod

func ExecPod(options *ExecOptions) error

func GetKubeClient

func GetKubeClient() (
	config *rest.Config,
	clientset *kubernetes.Clientset,
	namespace string,
	err error,
)

func Run

func Run(containerArgs []string)

Types

type ExecOptions

type ExecOptions struct {
	Config    *rest.Config
	Clientset *kubernetes.Clientset
	Namespace string
	Pod       string
	Container string
	ExecCmd   []string
	Stdin     io.Reader
	Stdout    io.Writer
	Stderr    io.Writer
	Tty       bool
}

Jump to

Keyboard shortcuts

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