Documentation ¶
Index ¶
Constants ¶
View Source
const ( PluginEnvKey = "MACHINE_PLUGIN_TOKEN" PluginEnvVal = "42" PluginEnvDriverName = "MACHINE_PLUGIN_DRIVER_NAME" )
Variables ¶
View Source
var ( CurrentBinaryIsPodmanMachine = false CoreDrivers = []string{"generic", "none", "virtualbox", "qemu"} )
Functions ¶
This section is empty.
Types ¶
type DriverPlugin ¶
type DriverPlugin interface { PluginServer PluginStreamer }
DriverPlugin interface wraps the underlying mechanics of starting a driver plugin server and then figuring out where it can be dialed.
type ErrPluginBinaryNotFound ¶
type ErrPluginBinaryNotFound struct {
// contains filtered or unexported fields
}
func (ErrPluginBinaryNotFound) Error ¶
func (e ErrPluginBinaryNotFound) Error() string
type Executor ¶
type Executor struct { DriverName string // contains filtered or unexported fields }
type McnBinaryExecutor ¶
type Plugin ¶
type Plugin struct { Executor McnBinaryExecutor Addr string MachineName string // contains filtered or unexported fields }
type PluginServer ¶
type PluginStreamer ¶
Click to show internal directories.
Click to hide internal directories.