summaryrefslogtreecommitdiff
path: root/pkg/machine/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-26 13:45:11 +0000
committerGitHub <noreply@github.com>2021-03-26 13:45:11 +0000
commit25525ff834cc979566bb09e5546ee0a72ef76a79 (patch)
tree382f7f94db7230225e2e4a23975045118b4a12da /pkg/machine/config.go
parent7ae1d23a380ae0c9cf4edb64ba288a8464c3cf13 (diff)
parentf6638571037c3d92066540e32fa08b76ce7f1fd8 (diff)
downloadpodman-25525ff834cc979566bb09e5546ee0a72ef76a79.tar.gz
podman-25525ff834cc979566bb09e5546ee0a72ef76a79.tar.bz2
podman-25525ff834cc979566bb09e5546ee0a72ef76a79.zip
Merge pull request #9820 from ashley-cui/machineinit
[NO TESTS NEEDED] Rename podman machine create to init and clean up
Diffstat (limited to 'pkg/machine/config.go')
-rw-r--r--pkg/machine/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/config.go b/pkg/machine/config.go
index 242401ab4..4933deee8 100644
--- a/pkg/machine/config.go
+++ b/pkg/machine/config.go
@@ -9,7 +9,7 @@ import (
"github.com/containers/storage/pkg/homedir"
)
-type CreateOptions struct {
+type InitOptions struct {
Name string
CPUS uint64
Memory uint64
@@ -58,7 +58,7 @@ type RemoveOptions struct {
}
type VM interface {
- Create(opts CreateOptions) error
+ Init(opts InitOptions) error
Remove(name string, opts RemoveOptions) (string, func() error, error)
SSH(name string, opts SSHOptions) error
Start(name string, opts StartOptions) error