MCPcopy
hub / github.com/moby/moby / proxyPolicyExecutor

Struct proxyPolicyExecutor

daemon/internal/builder-next/worker/worker.go:372–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372type proxyPolicyExecutor struct {
373 executor.Executor
374 getProxyPolicy func() (network.ProxyPolicy, error)
375}
376
377func (e *proxyPolicyExecutor) Run(ctx context.Context, id string, rootfs executor.Mount, mounts []executor.Mount, process executor.ProcessInfo, started chan<- struct{}) (resourcestypes.Recorder, error) {
378 if process.Meta.Proxy != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected