pod

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	RestConfig *rest.Config
	ClientSet  kubernetes.Interface
	Pod        *apiv1.Pod
}

func NewExec

func NewExec(config *rest.Config, client kubernetes.Interface, pod *apiv1.Pod) *Exec

func (*Exec) ExecCmd

func (p *Exec) ExecCmd(command []string) (*bytes.Buffer, *bytes.Buffer, *bytes.Buffer, error)

ExecCmd execute command on current Exec.Pod

Jump to

Keyboard shortcuts

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