mirror of
https://github.com/containers/podman.git
synced 2026-07-19 03:32:00 -04:00
The following PR is the very first step in what will a series of steps to apply a "common" machine configuration file to all providers. Function names, method names, struct names, and field names are all up for debate. The purpose of this PR is to offer a glimpse at the direction we intend to take. This PR also contains temporary structs (i.e. aThing) that are not exported. These are merely placeholders. The configuration work in this PR is also unused of yet. But the code is compiled. Once merged, we can begin the next step of development. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
22 lines
453 B
Go
22 lines
453 B
Go
package vmconfigs
|
|
|
|
import (
|
|
"github.com/containers/podman/v4/pkg/machine/hyperv/vsock"
|
|
)
|
|
|
|
type HyperVConfig struct {
|
|
// NetworkVSock is for the user networking
|
|
NetworkHVSock vsock.HVSockRegistryEntry
|
|
// MountVsocks contains the currently-active vsocks, mapped to the
|
|
// directory they should be mounted on.
|
|
MountVsocks map[string]uint64
|
|
}
|
|
|
|
type WSLConfig struct {
|
|
wslstuff *aThing
|
|
}
|
|
|
|
// Stubs
|
|
type QEMUConfig struct{}
|
|
type AppleHVConfig struct{}
|