Documentation ¶
Index ¶
- type Environment
- type Machine
- func (m *Machine) Boot() *exec.Cmd
- func (m *Machine) BootOrDie() (err error)
- func (m *Machine) Create() *exec.Cmd
- func (m *Machine) Exec(cmd string) *exec.Cmd
- func (m *Machine) GetHostIp() net.IP
- func (m *Machine) GetIp() net.IP
- func (m *Machine) IsBooted() bool
- func (m *Machine) IsCreated() bool
- func (m *Machine) Reboot() *exec.Cmd
- func (m *Machine) Scp(localFile string, remoteFile string) *exec.Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { Tz string SitesDir string DataDir string MachineName string DockerClientIp net.IP DockerDaemonIp net.IP UsersDir string }
Representation of the vagabond environment settings.
func NewEnvironment ¶
func NewEnvironment() *Environment
Create and prepopulate a new environment based on settings
func (*Environment) Check ¶
func (e *Environment) Check() error
Verify that environment variables are set properly
func (*Environment) GetMachine ¶
func (e *Environment) GetMachine() *Machine
Get the docker machine instance for the environment.
func (*Environment) RequiresMachine ¶
func (e *Environment) RequiresMachine() bool
Assert whether the environment requires docker machine to run
Click to show internal directories.
Click to hide internal directories.