Documentation ¶
Index ¶
- Variables
- type BaseDriver
- func (d *BaseDriver) Checksum() string
- func (d *BaseDriver) ClearError()
- func (d *BaseDriver) Excutable() error
- func (d *BaseDriver) Exists() bool
- func (d *BaseDriver) FriendlyName() string
- func (d *BaseDriver) Hash() string
- func (d *BaseDriver) Name() string
- func (d *BaseDriver) Remove() error
- func (d *BaseDriver) Stage() error
- type DynamicDriver
- type KontainerDriver
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() 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) Install ¶
func (d *KontainerDriver) Install() (string, error)
Click to show internal directories.
Click to hide internal directories.