mirror of https://github.com/containers/podman.git
17 lines
303 B
Go
17 lines
303 B
Go
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
|
|
}
|