Documentation ¶
Index ¶
- Variables
- func CheckForRunningContainer(check bool) func(*Options)
- func Command(cmd ...string) func(*Options)
- func Container(container string) func(*Options)
- func Exec(config *rest.Config, pod types.NamespacedName, options ...func(*Options)) (string, error)
- func ExecIntoPod(config *rest.Config, pod *core.Pod, options ...func(*Options)) (string, error)
- func Input(in string) func(*Options)
- func TTY(enable bool) func(*Options)
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var NotRunning = errors.New("container not running")
Functions ¶
func ExecIntoPod ¶
Types ¶
type Options ¶
type Options struct { core.PodExecOptions remotecommand.StreamOptions CheckForRunningContainer bool }
Click to show internal directories.
Click to hide internal directories.