kubernetes

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteInPod

func ExecuteInPod(
	ctx context.Context,
	c kubernetes.Interface, restCfg *rest.Config,
	podNamespace, podName, container string,
	command ...string,
) (stdout, stderr string, err error)

func ReadFileFromPod

func ReadFileFromPod(
	ctx context.Context,
	c kubernetes.Interface, restCfg *rest.Config,
	podNamespace, podName, container string,
	pathInContainer string,
) (contents, stderr string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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