Documentation ¶
Index ¶
- func ValidIPv4(ip string) bool
- type Machine
- func (m *Machine) Create()
- func (m *Machine) EvalEnv()
- func (m *Machine) Exists() bool
- func (m *Machine) IP() (ip string, success bool)
- func (m *Machine) PrintEvalHint(checkenv bool)
- func (m *Machine) SSH(command string)
- func (m *Machine) ShareFolder(folder string)
- func (m *Machine) Start()
- func (m *Machine) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Machine ¶
type Machine struct {
Name string
}
Machine represents a docker machine
func (*Machine) PrintEvalHint ¶
PrintEvalHint shows a hint about running docker env if required
func (*Machine) ShareFolder ¶
ShareFolder adds a /workbench shared folder to the VM
Click to show internal directories.
Click to hide internal directories.