MCPcopy Index your code
hub / github.com/containerd/containerd / clientTargetForAddress

Function clientTargetForAddress

integration/remote/remote_runtime.go:94–101  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

92}
93
94func clientTargetForAddress(addr string) string {
95 // grpc.NewClient defaults to the DNS resolver. Use the passthrough resolver
96 // for socket paths so the custom dialer receives the raw endpoint string.
97 if strings.HasPrefix(addr, "/") {
98 return "passthrough:///" + addr
99 }
100 return addr
101}
102
103func (r *RuntimeService) Close(ctx context.Context) error {
104 if r == nil {

Callers 1

newRuntimeClientConnFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…