MCPcopy Index your code
hub / github.com/ddev/ddev / ExecTask

Struct ExecTask

pkg/ddevapp/task.go:25–31  ·  view source on GitHub ↗

ExecTask is the struct that defines "exec" tasks for hooks, commands to be run in containers.

Source from the content-addressed store, hash-verified

23// ExecTask is the struct that defines "exec" tasks for hooks, commands
24// to be run in containers.
25type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected