ExecTask is the struct that defines "exec" tasks for hooks, commands to be run in containers.
| 23 | // ExecTask is the struct that defines "exec" tasks for hooks, commands |
| 24 | // to be run in containers. |
| 25 | type ExecTask struct { |
| 26 | service string // Name of service, defaults to web |
| 27 | user string // User to run the command as |
| 28 | execRaw []string // Use execRaw if configured instead of exec |
| 29 | exec string // Actual command to be executed. |
| 30 | app *DdevApp |
| 31 | } |
| 32 | |
| 33 | // ExecHostTask is the struct that defines "exec-host" tasks for hooks, |
| 34 | // commands that get run on the host. |
nothing calls this directly
no outgoing calls
no test coverage detected