Documentation ¶
Index ¶
- type ConfigurationOption
- type Driver
- func (d *Driver) AddConfigurationOptions(opts ...ConfigurationOption)
- func (d *Driver) Config() map[string]string
- func (d *Driver) Handles(dt string) bool
- func (d *Driver) Run(op *driver.Operation) (driver.OperationResult, error)
- func (d *Driver) SetConfig(settings map[string]string)
- func (d *Driver) SetContainerErr(w io.Writer)
- func (d *Driver) SetContainerOut(w io.Writer)
- func (d *Driver) SetDockerCli(dockerCli command.Cli)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationOption ¶
type ConfigurationOption func(*container.Config, *container.HostConfig) error
ConfigurationOption is an option used to customize docker driver container and host config
type Driver ¶
type Driver struct { // If true, this will not actually run Docker Simulate bool // contains filtered or unexported fields }
Driver is capable of running Docker invocation images using Docker itself.
func (*Driver) AddConfigurationOptions ¶
func (d *Driver) AddConfigurationOptions(opts ...ConfigurationOption)
AddConfigurationOptions adds configuration callbacks to the driver
func (*Driver) SetContainerErr ¶
SetContainerErr sets the container error stream
func (*Driver) SetContainerOut ¶
SetContainerOut sets the container output stream
func (*Driver) SetDockerCli ¶
SetDockerCli makes the driver use an already initialized cli
Click to show internal directories.
Click to hide internal directories.