MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewTask

Function NewTask

pkg/executor/executor.go:30–35  ·  view source on GitHub ↗
(taskType TaskType, options any)

Source from the content-addressed store, hash-verified

28}
29
30func NewTask(taskType TaskType, options any) *Task {
31 return &Task{
32 Type: taskType,
33 Options: options,
34 }
35}
36
37// ProcessTasks iterates over the list of tasks and attempts to run them all.
38// If everything goes well, a nil error will be returned.

Callers 5

deployRunFunction · 0.92
createRunFunction · 0.92
runDbRunbookFunction · 0.92
runGitRunbookFunction · 0.92
runRunbooksByTagFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected