dockermachine

package
v0.0.0-...-e05de8b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

dockermachine package contains docker-machine driver implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() common.Driver

Returns an instance of DockerMachineDriver struct

Types

type DockerMachineDriver

type DockerMachineDriver struct {
	// contains filtered or unexported fields
}

Holds common.Driver interface implementation for docker-machine tool

func (DockerMachineDriver) Add

Not Supported

func (DockerMachineDriver) Env

Returns environment variables for docker-machine entry, similar to 'docker-machine env name', can fail if docker-machine is not running

func (DockerMachineDriver) IsSupported

func (driver DockerMachineDriver) IsSupported() bool

Checks if the driver is supported

func (DockerMachineDriver) List

Lists docker-machine boxes, similar to 'docker-machine ls'

func (DockerMachineDriver) Name

func (driver DockerMachineDriver) Name() string

Returns "docker-machine" always

func (DockerMachineDriver) Remove

func (driver DockerMachineDriver) Remove(entry common.EnvironmentEntry) error

Not Supported

func (DockerMachineDriver) Start

func (driver DockerMachineDriver) Start(entry common.EnvironmentEntry) error

Starts the docker-machine vm

func (DockerMachineDriver) Stop

func (driver DockerMachineDriver) Stop(entry common.EnvironmentEntry) error

Stops the docker-machine vm

Jump to

Keyboard shortcuts

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