mirror of
https://github.com/containers/podman.git
synced 2026-07-13 08:41:44 -04:00
The podman module paths are moving from github.com/containers/podman to go.podman.io/podman. This will help with future mobility. Signed-off-by: Brent Baude <bbaude@redhat.com>
22 lines
583 B
Go
22 lines
583 B
Go
//go:build !darwin
|
|
|
|
package vmconfigs
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"go.podman.io/podman/v6/pkg/machine/define"
|
|
)
|
|
|
|
func gvProxySocket(name string, machineRuntimeDir *define.VMFile) (*define.VMFile, error) {
|
|
return machineRuntimeDir.AppendToNewVMFile(fmt.Sprintf("%s-gvproxy.sock", name), nil)
|
|
}
|
|
|
|
func readySocket(name string, machineRuntimeDir *define.VMFile) (*define.VMFile, error) {
|
|
return machineRuntimeDir.AppendToNewVMFile(name+".sock", nil)
|
|
}
|
|
|
|
func apiSocket(name string, socketDir *define.VMFile) (*define.VMFile, error) {
|
|
return socketDir.AppendToNewVMFile(name+"-api.sock", nil)
|
|
}
|