MCPcopy Create free account
hub / github.com/go-task/task / WithInsecure

Function WithInsecure

executor.go:215–217  ·  view source on GitHub ↗

WithInsecure allows the [Executor] to make insecure connections when reading remote taskfiles. By default, insecure connections are rejected.

(insecure bool)

Source from the content-addressed store, hash-verified

213// WithInsecure allows the [Executor] to make insecure connections when reading
214// remote taskfiles. By default, insecure connections are rejected.
215func WithInsecure(insecure bool) ExecutorOption {
216 return &insecureOption{insecure}
217}
218
219type insecureOption struct {
220 insecure bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…