github.com/containers/podman/v4@v4.9.4/pkg/machine/e2e/config_stop_test.go (about)

     1  package e2e_test
     2  
     3  type stopMachine struct {
     4  	/*
     5  		No command line args other than a machine vm name (also not required)
     6  	*/
     7  }
     8  
     9  func (s stopMachine) buildCmd(m *machineTestBuilder) []string {
    10  	cmd := []string{"machine", "stop"}
    11  	if len(m.name) > 0 {
    12  		cmd = append(cmd, m.name)
    13  	}
    14  	return cmd
    15  }