package remotecommand
import "k8s.io/kubernetes/pkg/client/remotecommand"
Package remotecommand adds support for executing commands in containers, with support for separate stdin, stdout, and stderr streams, as well as TTY.
Index ¶
Types ¶
type RemoteCommandExecutor ¶
type RemoteCommandExecutor struct {
// contains filtered or unexported fields
}
func New ¶
func New(req *client.Request, config *client.Config, command []string, stdin io.Reader, stdout, stderr io.Writer, tty bool) *RemoteCommandExecutor
func (*RemoteCommandExecutor) Execute ¶
func (e *RemoteCommandExecutor) 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 ¶
doc.go remotecommand.go
- Version
- v0.13.0
- Published
- Mar 16, 2015
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 24 seconds ago –
Tools for package owners.