Documentation ¶
Overview ¶
Package connhelper provides helpers for connecting to a remote daemon host with custom logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionHelper ¶
type ConnectionHelper struct { // ContextDialer can be passed to grpc.WithContextDialer ContextDialer func(ctx context.Context, addr string) (net.Conn, error) }
ConnectionHelper allows to connect to a remote host with custom stream provider binary.
func GetConnectionHelper ¶
func GetConnectionHelper(daemonURL string) (*ConnectionHelper, error)
GetConnectionHelper returns BuildKit-specific connection helper for the given URL. GetConnectionHelper returns nil without error when no helper is registered for the scheme.
Directories ¶
Path | Synopsis |
---|---|
Package dockercontainer provides connhelper for docker-container://<container>
|
Package dockercontainer provides connhelper for docker-container://<container> |
Package kubepod provides connhelper for kube-pod://<pod>
|
Package kubepod provides connhelper for kube-pod://<pod> |
Package podmancontainer provides connhelper for podman-container://<container>
|
Package podmancontainer provides connhelper for podman-container://<container> |
Package ssh provides connhelper for ssh://<SSH URL>
|
Package ssh provides connhelper for ssh://<SSH URL> |
Click to show internal directories.
Click to hide internal directories.