summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/config_stop.go
blob: 04dcfb5249283bdf5e3c84628f815fcb6ca8decf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package e2e

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

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