drivers

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskPath

func GetDiskPath(d *drivers.BaseDriver) string

GetDiskPath returns the path of the machine disk image

func MakeDiskImage

func MakeDiskImage(d *drivers.BaseDriver, boot2dockerURL string, diskSize int) error

MakeDiskImage makes a boot2docker VM disk image.

func Restart

func Restart(d drivers.Driver) error

Restart a host. This may just call Stop(); Start() if the provider does not have any special restart behaviour.

Types

type CommonDriver

type CommonDriver struct{}

CommonDriver is the common driver base class

func (*CommonDriver) GetCreateFlags

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

GetCreateFlags is not implemented yet

func (*CommonDriver) SetConfigFromFlags

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

SetConfigFromFlags is not implemented yet

Directories

Path Synopsis
kic
oci

Jump to

Keyboard shortcuts

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