{"modulePath":"github.com/OpenShift/ODO","version":"v1.2.5","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package exec\n\n## Functions\n\n```go\nfunc ExecuteCommand(client ExecClient, compInfo common.ComponentInfo, command []string, show bool, consoleOutputStdout *io.PipeWriter, consoleOutputStderr *io.PipeWriter) (err error)\n```\nExecuteCommand executes the given command in the pod's container\n\n```go\nfunc ExecuteCompositeDevfileAction(client ExecClient, composite common.Composite, commandsMap map[string]common.DevfileCommand, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) (err error)\n```\nExecuteCompositeDevfileAction executes a given composite command in a devfile The composite command may reference exec commands, composite commands, or both\n\n```go\nfunc ExecuteDevfileCommandSynchronously(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient, noSpin bool) error\n```\nExecuteDevfileCommandSynchronously executes the devfile init, build and test command actions synchronously\n\n```go\nfunc ExecuteDevfileDebugAction(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error\n```\nExecuteDevfileDebugAction executes the devfile debug command action using the supervisord debugrun program\n\n```go\nfunc ExecuteDevfileDebugActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error\n```\nExecuteDevfileDebugActionWithoutRestart executes devfile run command without restarting.\n\n```go\nfunc ExecuteDevfileRunAction(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error\n```\nExecuteDevfileRunAction executes the devfile run command action using the supervisord devrun program\n\n```go\nfunc ExecuteDevfileRunActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error\n```\nExecuteDevfileRunActionWithoutRestart executes devfile run command without restarting.\n\n## Types\n\n```go\ntype ExecClient interface {\n\tExecCMDInContainer(common.ComponentInfo, []string, io.Writer, io.Writer, io.Reader, bool) error\n}\n```\nExecClient  is a wrapper around ExecCMDInContainer which executes a command in a specific container of a pod.\n\n","path":"github.com/OpenShift/ODO/pkg/exec","name":"exec","synopsis":"","isRedistributable":true}
