helpers/docker/machine.go (10 lines of code) (raw):
package docker_helpers
type Machine interface {
Create(driver, name string, opts ...string) error
Provision(name string) error
Remove(name string) error
List() (machines []string, err error)
Exist(name string) bool
CanConnect(name string) bool
Credentials(name string) (DockerCredentials, error)
}