summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_basic.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/machine/e2e/config_basic.go')
-rw-r--r--pkg/machine/e2e/config_basic.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkg/machine/e2e/config_basic.go b/pkg/machine/e2e/config_basic.go
new file mode 100644
index 000000000..be0896156
--- /dev/null
+++ b/pkg/machine/e2e/config_basic.go
@@ -0,0 +1,19 @@
+package e2e
+
+type basicMachine struct {
+ args []string
+ cmd []string
+}
+
+func (s basicMachine) buildCmd(m *machineTestBuilder) []string {
+ cmd := []string{"-r"}
+ if len(s.args) > 0 {
+ cmd = append(cmd, s.args...)
+ }
+ return cmd
+}
+
+func (s *basicMachine) withPodmanCommand(args []string) *basicMachine {
+ s.args = args
+ return s
+}