Discover Packages
github.com/stevefan1999-personal/kubernetes
pkg
client
remotecommand
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 11, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types type Executor New(req, config, command, stdin, stdout, stderr, tty) (e) Execute()
Documentation
¶
Package remotecommand adds support for executing commands in containers,
with support for separate stdin, stdout, and stderr streams, as well as
TTY.
Executor executes a command on a pod container
func New (req *client.Request, config *client.Config, command []string , stdin io.Reader, stdout, stderr io.Writer, tty bool ) *Executor
New creates a new RemoteCommandExecutor
func (e *Executor) Execute() error
Execute sends a remote command execution request, upgrading the
connection and creating streams to represent stdin/stdout/stderr. Data is
copied between these streams and the supplied stdin/stdout/stderr parameters.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.