drivers

package
v2.2.13+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 19 Imported by: 74

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerMachineDriverPrefix = "docker-machine-driver-"
View Source
var KontainerDriverPrefix = "kontainer-engine-driver-"

Functions

This section is empty.

Types

type BaseDriver

type BaseDriver struct {
	Builtin      bool
	URL          string
	DriverHash   string
	DriverName   string
	BinaryPrefix string
}

func (*BaseDriver) Checksum

func (d *BaseDriver) Checksum() string

func (*BaseDriver) ClearError

func (d *BaseDriver) ClearError()

func (*BaseDriver) Excutable

func (d *BaseDriver) Excutable() error

func (*BaseDriver) Exists

func (d *BaseDriver) Exists() bool

func (*BaseDriver) FriendlyName

func (d *BaseDriver) FriendlyName() string

func (*BaseDriver) Hash

func (d *BaseDriver) Hash() string

func (*BaseDriver) Name

func (d *BaseDriver) Name() string

func (*BaseDriver) Remove

func (d *BaseDriver) Remove() error

func (*BaseDriver) Stage

func (d *BaseDriver) Stage(forceUpdate bool) error

type DynamicDriver

type DynamicDriver struct {
	BaseDriver
}

func NewDynamicDriver

func NewDynamicDriver(builtin bool, name, url, hash string) *DynamicDriver

func (*DynamicDriver) Install

func (d *DynamicDriver) Install() error

type KontainerDriver

type KontainerDriver struct {
	BaseDriver
}

func NewKontainerDriver

func NewKontainerDriver(builtin bool, name, url, hash string) *KontainerDriver

func (*KontainerDriver) Exists

func (d *KontainerDriver) Exists() bool

func (*KontainerDriver) Install

func (d *KontainerDriver) Install() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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