podman/pkg/machine/e2e/config_start.go

17 lines
306 B
Go

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
}