mirror of
https://github.com/containers/podman.git
synced 2026-02-23 18:18:21 -05:00
gvproxy and win-sshproxy have capabilities to serve this type of enpoint. This change only adds one additional API enpoint publishing by appending proxy command lines. Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
12 lines
274 B
Go
12 lines
274 B
Go
package vmconfigs
|
|
|
|
import (
|
|
"github.com/containers/podman/v5/pkg/machine/define"
|
|
"github.com/containers/podman/v5/pkg/machine/env"
|
|
)
|
|
|
|
func getPipe(name string) *define.VMFile {
|
|
pipeName := env.WithPodmanPrefix(name)
|
|
return &define.VMFile{Path: `\\.\pipe\` + pipeName}
|
|
}
|