github.com/nilium/gitlab-runner@v12.5.0+incompatible/helpers/docker/machine.go (about)

     1  package docker_helpers
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  type Machine interface {
     8  	Create(driver, name string, opts ...string) error
     9  	Provision(name string) error
    10  	Remove(name string) error
    11  	Stop(name string, timeout time.Duration) error
    12  	List() (machines []string, err error)
    13  	Exist(name string) bool
    14  
    15  	CanConnect(name string, skipCache bool) bool
    16  	Credentials(name string) (DockerCredentials, error)
    17  }