Documentation ¶
Index ¶
- type Command
- type Pipeline
- func (p *Pipeline) AddStage(stage *Stage)
- func (p *Pipeline) CleanUp(contID string)
- func (p *Pipeline) ContainerAttach(contID string) (io.ReadCloser, io.ReadCloser, error)
- func (p *Pipeline) ContainerCreate(name string, config *container.Config, host *container.HostConfig) (container.ContainerCreateCreatedBody, error)
- func (p *Pipeline) ContainerStart(contID string) error
- func (p *Pipeline) DockerVersion() (string, error)
- func (p *Pipeline) InterruptHandler(stdout, stderr io.ReadCloser, contID string)
- func (p *Pipeline) LogWatch(stdoutTxt, stderrTxt io.Reader, contID, logFileLocation string)
- func (p *Pipeline) NetworkConnect(contID, netName string) error
- func (p *Pipeline) PullImage(imageName string, force bool) error
- type Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
func NewPipeline ¶
func (*Pipeline) ContainerAttach ¶
func (p *Pipeline) ContainerAttach(contID string) (io.ReadCloser, io.ReadCloser, error)
ContainerAttach attach to the container to read the stdout/stderr stream
func (*Pipeline) ContainerCreate ¶
func (p *Pipeline) ContainerCreate(name string, config *container.Config, host *container.HostConfig) (container.ContainerCreateCreatedBody, error)
ContainerCreate creates a container
func (*Pipeline) ContainerStart ¶
ContainerStart starts the container
func (*Pipeline) DockerVersion ¶
func (*Pipeline) InterruptHandler ¶
func (p *Pipeline) InterruptHandler(stdout, stderr io.ReadCloser, contID string)
InterruptHandler register a handler of Interrupt signal (CTRL+C)
func (*Pipeline) NetworkConnect ¶
NetworkConnect connects container with a specified network
Click to show internal directories.
Click to hide internal directories.