Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerRunner ¶
type DockerRunner struct { NodeDir string Image string IP string DockerAPI *client.Client // contains filtered or unexported fields }
func NewDockerRunner ¶
func NewDockerRunner(binary, nodeDir string, api *client.Client, image, ip string, command runner.Command, config runner.Config) (*DockerRunner, error)
NewDockerRunner creates a Docker-based runner for the given command. If ip is nonempty, it will be assigned as a static IP. The command should specify a docker network that already exists to be used for communication with other docker-based runners.
func (*DockerRunner) Command ¶
func (d *DockerRunner) Command() runner.Command
Click to show internal directories.
Click to hide internal directories.