Documentation ¶
Index ¶
- func ExtractVMDriverVersion(s string) string
- func GetDiskPath(d *drivers.BaseDriver) string
- func InstallOrUpdate(driver, destination string, minikubeVersion semver.Version) error
- func MakeDiskImage(d *drivers.BaseDriver, boot2dockerURL string, diskSize int) error
- func Restart(d drivers.Driver) error
- type CommonDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractVMDriverVersion ¶
ExtractVMDriverVersion extracts the driver version. KVM and Hyperkit drivers support the 'version' command, that display the information as: version: vX.X.X commit: XXXX This method returns the version 'vX.X.X' or empty if the version isn't found.
func GetDiskPath ¶
func GetDiskPath(d *drivers.BaseDriver) string
GetDiskPath returns the path of the machine disk image
func InstallOrUpdate ¶ added in v1.4.0
InstallOrUpdate downloads driver if it is not present, or updates it if there's a newer version
func MakeDiskImage ¶
func MakeDiskImage(d *drivers.BaseDriver, boot2dockerURL string, diskSize int) error
MakeDiskImage makes a boot2docker VM disk image.
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
Click to show internal directories.
Click to hide internal directories.