Documentation
¶
Index ¶
- func ExecuteCommand(client ExecClient, compInfo common.ComponentInfo, command []string, show bool, ...) (err error)
- func ExecuteCompositeDevfileAction(client ExecClient, composite common.Composite, ...) (err error)
- func ExecuteDevfileCommandSynchronously(client ExecClient, exec common.Exec, commandName string, ...) error
- func ExecuteDevfileDebugAction(client ExecClient, exec common.Exec, commandName string, ...) error
- func ExecuteDevfileDebugActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, ...) error
- func ExecuteDevfileRunAction(client ExecClient, exec common.Exec, commandName string, ...) error
- func ExecuteDevfileRunActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, ...) error
- type ExecClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶
func ExecuteCommand(client ExecClient, compInfo common.ComponentInfo, command []string, show bool, consoleOutputStdout *io.PipeWriter, consoleOutputStderr *io.PipeWriter) (err error)
ExecuteCommand executes the given command in the pod's container
func ExecuteCompositeDevfileAction ¶ added in v1.2.5
func ExecuteCompositeDevfileAction(client ExecClient, composite common.Composite, commandsMap map[string]common.DevfileCommand, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) (err error)
ExecuteCompositeDevfileAction executes a given composite command in a devfile The composite command may reference exec commands, composite commands, or both
func ExecuteDevfileCommandSynchronously ¶ added in v1.2.4
func ExecuteDevfileCommandSynchronously(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient, noSpin bool) error
ExecuteDevfileCommandSynchronously executes the devfile init, build and test command actions synchronously
func ExecuteDevfileDebugAction ¶ added in v1.2.3
func ExecuteDevfileDebugAction(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error
ExecuteDevfileDebugAction executes the devfile debug command action using the supervisord debugrun program
func ExecuteDevfileDebugActionWithoutRestart ¶ added in v1.2.3
func ExecuteDevfileDebugActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error
ExecuteDevfileDebugActionWithoutRestart executes devfile run command without restarting.
func ExecuteDevfileRunAction ¶ added in v1.2.0
func ExecuteDevfileRunAction(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error
ExecuteDevfileRunAction executes the devfile run command action using the supervisord devrun program
func ExecuteDevfileRunActionWithoutRestart ¶ added in v1.2.1
func ExecuteDevfileRunActionWithoutRestart(client ExecClient, exec common.Exec, commandName string, compInfo adaptersCommon.ComponentInfo, show bool, machineEventLogger machineoutput.MachineEventLoggingClient) error
ExecuteDevfileRunActionWithoutRestart executes devfile run command without restarting.