summaryrefslogtreecommitdiff
path: root/cmd/podman/machine/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/machine/config.go')
-rw-r--r--cmd/podman/machine/config.go38
1 files changed, 0 insertions, 38 deletions
diff --git a/cmd/podman/machine/config.go b/cmd/podman/machine/config.go
deleted file mode 100644
index 5fa6aa50d..000000000
--- a/cmd/podman/machine/config.go
+++ /dev/null
@@ -1,38 +0,0 @@
-package machine
-
-import "fmt"
-
-type CreateOptions struct {
- CPUS uint64
- Memory uint64
- KernelPath string
- Devices []VMDevices
-}
-
-type VMDevices struct {
- Path string
- ReadOnly bool
-}
-
-type VM interface {
- Create(name string, opts CreateOptions) error
- Start(name string) error
- Stop(name string) error
-}
-
-type TestVM struct {
-}
-
-func (vm *TestVM) Create(name string, opts CreateOptions) error {
- fmt.Printf("Created: %s\n", name)
- return nil
-}
-
-func (vm *TestVM) Start(name string) error {
- fmt.Printf("Started: %s\n", name)
- return nil
-}
-func (vm *TestVM) Stop(name string) error {
- fmt.Printf("Stopped: %s\n", name)
- return nil
-}