MCPcopy Create free account
hub / github.com/docker/cli / GetConnectionHelper

Function GetConnectionHelper

cli/connhelper/connhelper.go:29–31  ·  view source on GitHub ↗

GetConnectionHelper returns Docker-specific connection helper for the given URL. GetConnectionHelper returns nil without error when no helper is registered for the scheme. ssh:// @ URL requires Docker 18.09 or later on the remote host.

(daemonURL string)

Source from the content-addressed store, hash-verified

27//
28// ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host.
29func GetConnectionHelper(daemonURL string) (*ConnectionHelper, error) {
30 return getConnectionHelper(daemonURL, nil)
31}
32
33// GetConnectionHelperWithSSHOpts returns Docker-specific connection helper for
34// the given URL, and accepts additional options for ssh connections. It returns

Callers

nothing calls this directly

Calls 1

getConnectionHelperFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…