From 274a3bc80b933a9b0e194c007f24bba9856fbd03 Mon Sep 17 00:00:00 2001 From: Maya Rashish Date: Fri, 3 Sep 2021 22:42:41 +0300 Subject: Remove unused stubs intended to start a machine with libvirt [NO TESTS NEEDED] Signed-off-by: Maya Rashish --- pkg/machine/libvirt/config.go | 6 ------ pkg/machine/libvirt/machine.go | 17 ----------------- pkg/machine/libvirt/machine_unsupported.go | 3 --- 3 files changed, 26 deletions(-) delete mode 100644 pkg/machine/libvirt/config.go delete mode 100644 pkg/machine/libvirt/machine.go delete mode 100644 pkg/machine/libvirt/machine_unsupported.go (limited to 'pkg/machine') diff --git a/pkg/machine/libvirt/config.go b/pkg/machine/libvirt/config.go deleted file mode 100644 index 1ce5ab154..000000000 --- a/pkg/machine/libvirt/config.go +++ /dev/null @@ -1,6 +0,0 @@ -// +build amd64,linux arm64,linux amd64,darwin arm64,darwin - -package libvirt - -type MachineVM struct { -} diff --git a/pkg/machine/libvirt/machine.go b/pkg/machine/libvirt/machine.go deleted file mode 100644 index e1aa1569b..000000000 --- a/pkg/machine/libvirt/machine.go +++ /dev/null @@ -1,17 +0,0 @@ -// +build amd64,linux arm64,linux amd64,darwin arm64,darwin - -package libvirt - -import "github.com/containers/podman/v3/pkg/machine" - -func (v *MachineVM) Init(name string, opts machine.InitOptions) error { - return nil -} - -func (v *MachineVM) Start(name string) error { - return nil -} - -func (v *MachineVM) Stop(name string) error { - return nil -} diff --git a/pkg/machine/libvirt/machine_unsupported.go b/pkg/machine/libvirt/machine_unsupported.go deleted file mode 100644 index 8b54440fe..000000000 --- a/pkg/machine/libvirt/machine_unsupported.go +++ /dev/null @@ -1,3 +0,0 @@ -// +build !amd64 amd64,windows - -package libvirt -- cgit v1.2.3-54-g00ecf