aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_start.go
blob: 86b1721f8aa75c2832c3c77576aa9ec4cbd4e4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package e2e

type startMachine struct {
	/*
		No command line args other than a machine vm name (also not required)
	*/
	cmd []string
}

func (s startMachine) buildCmd(m *machineTestBuilder) []string {
	cmd := []string{"machine", "start"}
	if len(m.name) > 0 {
		cmd = append(cmd, m.name)
	}
	return cmd
}