kubernetes

package
v0.0.10-travis Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodExec

func PodExec(params Params) (io.Reader, *bytes.Buffer, error)

PodExec sends the command to the specified pod and returns a bytes buffer with the stdout

Types

type Params

type Params struct {
	BackupCommand string
	Pod           string
	Container     string
	Namespace     string
}

Params contains the necessary parameters for the PodExec function

Jump to

Keyboard shortcuts

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