Documentation ¶
Index ¶
- Constants
- func ExtractFile(isoPath, srcPath, destPath string) error
- func GetIPAddressByMACAddress(mac string) (string, error)
- func ReadFile(isoPath, srcPath string) (string, error)
- type DHCPEntry
- type Driver
- func (d *Driver) Create() error
- func (d *Driver) DriverName() string
- func (d *Driver) GetSSHHostname() (string, error)
- func (d *Driver) GetState() (state.State, error)
- func (d *Driver) GetURL() (string, error)
- func (d *Driver) Kill() error
- func (d *Driver) Remove() error
- func (d *Driver) Restart() error
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
Constants ¶
View Source
const (
DHCPLeasesFile = "/var/db/dhcpd_leases"
)
Variables ¶
This section is empty.
Functions ¶
func ExtractFile ¶
Types ¶
type Driver ¶
type Driver struct { *drivers.BaseDriver *pkgdrivers.CommonDriver Boot2DockerURL string DiskSize int CPU int Memory int Cmdline string }
func (*Driver) DriverName ¶
DriverName returns the name of the driver
func (*Driver) GetSSHHostname ¶
GetSSHHostname returns hostname for use with ssh
Click to show internal directories.
Click to hide internal directories.