MCPcopy Create free account
hub / github.com/docker/secrets-engine / dialFromPath

Function dialFromPath

client/client.go:309–314  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

307}
308
309func dialFromPath(path string) dial {
310 return func(ctx context.Context, _, _ string) (net.Conn, error) {
311 d := &net.Dialer{}
312 return d.DialContext(ctx, "unix", path)
313 }
314}

Callers 2

WithSocketPathFunction · 0.85
NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected