summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_basic_test.go
blob: d1cb24174c2e2a434b9b668b6f41231f3b20f39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package e2e_test

type basicMachine struct {
	args []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
}