Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HostConfigJSONFile is the basename for the HostConfig JSON.
HostConfigJSONFile = "config.v0.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host interface { Config() HostConfig Dir() (string, error) Create() error URL() (string, error) State() (State, error) Remove() error Start() error Stop() error }
Host is similar to Docker Machine's Driver.
type HostConfig ¶
type HostConfig struct { // name of the host. e.g. "foobar" Name string `json:"name"` // storage driver EngineStorageDriver string `json:"engine_storage_driver"` }
HostConfig is a config JSON for a host.
type Provisioner ¶
Provisioner installs Docker Engine to a host.
func NewBundleProvisioner ¶
func NewBundleProvisioner(bundlePath string) (Provisioner, error)
NewBundleProvisioner instantiates a provisioner for the bundle.
Click to show internal directories.
Click to hide internal directories.