qemu

package
v0.0.0-...-da66499 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2020 License: Apache-2.0, MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	*drivers.BaseDriver

	MonitorPort    int
	Disk           string
	DiskSize       int
	Cpus           int
	Mem            int
	QemuLocation   string
	EnginePort     int
	OpenPorts      []int
	Boot2DockerURL string
}

Driver driver struct

func (*Driver) Create

func (d *Driver) Create() error

Create the machiene

func (*Driver) DriverName

func (d *Driver) DriverName() string

DriverName name

func (*Driver) GetCreateFlags

func (d *Driver) GetCreateFlags() []mcnflag.Flag

GetCreateFlags Create flags

func (*Driver) GetSSHHostname

func (d *Driver) GetSSHHostname() (string, error)

GetSSHHostname get the hostname for ssh

func (*Driver) GetState

func (d *Driver) GetState() (state.State, error)

GetState return instance status

func (*Driver) GetURL

func (d *Driver) GetURL() (string, error)

GetURL returns docker daemon URL on this machine

func (*Driver) Kill

func (d *Driver) Kill() (err error)

Kill machine

func (*Driver) PreCreateCheck

func (d *Driver) PreCreateCheck() error

PreCreateCheck checks that the machine creation process can be started safely.

func (*Driver) Remove

func (d *Driver) Remove() error

Remove the machine

func (*Driver) Restart

func (d *Driver) Restart() error

Restart this docker-machine

func (*Driver) SetConfigFromFlags

func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error

SetConfigFromFlags Set the config from the flags

func (*Driver) Start

func (d *Driver) Start() error

Start the machine

func (*Driver) Stop

func (d *Driver) Stop() error

Stop the machine

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL