Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Executor ¶
Executor provides an ExecFunc that will start the script/cmd process in the docker container with the given container ID. An initialized docker client must also be passed for communication with the relevant docker engine. Optionally, a WorkDir may be set, setting the precess working directory (path should be in the context of the container's file system). This ExecFunc does not require that the cmd/script be converted to a string, so is Formatter agnostic.
Types ¶
type DockerProcess ¶
type DockerProcess struct {
// contains filtered or unexported fields
}
func (*DockerProcess) Close ¶
func (p *DockerProcess) Close()
func (*DockerProcess) Kill ¶
func (p *DockerProcess) Kill() error
func (*DockerProcess) Write ¶
func (p *DockerProcess) Write(input string) error
Click to show internal directories.
Click to hide internal directories.