{"modulePath":"github.1git.de/openshift/origin","version":"v3.6.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package exec\n\nPackage exec contains a utility to Docker exec into a running a container\n\nCreate an ExecHelper with NewExecHelper and then create new exec commands with Command()\n\n## Functions\n\n```go\nfunc IsExecError(err error) bool\n```\nIsExecError returns true if the given error is an execError\n\n## Types\n\n```go\ntype ExecCommand struct {\n\t// contains filtered or unexported fields\n}\n```\nExecCommand is a command to execute with the helper\n\n```go\nfunc (c *ExecCommand) CombinedOutput() (string, error)\n```\nCombinedOutput executes the command and returns a single output\n\n```go\nfunc (c *ExecCommand) Input(in io.Reader) *ExecCommand\n```\nInput sets an input reader on the exec command\n\n```go\nfunc (c *ExecCommand) Output() (string, string, error)\n```\nOutput executes the command and returns seprate stderr and stdout\n\n```go\nfunc (c *ExecCommand) Run() error\n```\nRun executes the command\n\n```go\ntype ExecHelper struct {\n\t// contains filtered or unexported fields\n}\n```\nExecHelper allows execution of commands on a running Docker container\n\n```go\nfunc NewExecHelper(client dockerhelper.Interface, container string) *ExecHelper\n```\nNewExecHelper creates a new ExecHelper\n\n```go\nfunc (h *ExecHelper) Command(cmd ...string) *ExecCommand\n```\nCommand creates a new command to execute\n\n","path":"github.1git.de/openshift/origin/pkg/bootstrap/docker/exec","name":"exec","synopsis":"Package exec contains a utility to Docker exec into a running a container","isRedistributable":true}
