MCPcopy
hub / github.com/go-task/task / WithExecutorOptions

Function WithExecutorOptions

task_test.go:185–187  ·  view source on GitHub ↗

WithExecutorOptions sets the [task.ExecutorOption]s to be used when creating a [task.Executor].

(executorOpts ...task.ExecutorOption)

Source from the content-addressed store, hash-verified

183// WithExecutorOptions sets the [task.ExecutorOption]s to be used when creating
184// a [task.Executor].
185func WithExecutorOptions(executorOpts ...task.ExecutorOption) TestOption {
186 return &executorOptionsTestOption{executorOpts: executorOpts}
187}
188
189type executorOptionsTestOption struct {
190 executorOpts []task.ExecutorOption

Callers 15

TestNoLabelInListFunction · 0.85
TestListAllShowsNoDescFunction · 0.85
TestListCanListDescOnlyFunction · 0.85
TestJsonListFormatFunction · 0.85
TestEmptyTaskFunction · 0.85
TestEmptyTaskfileFunction · 0.85
TestEnvFunction · 0.85
TestVarsFunction · 0.85
TestSecretVarsFunction · 0.85
TestRequiresFunction · 0.85
TestSpecialVarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…