Documentation ¶
Index ¶
- type Address
- type BindMount
- type Container
- type ContainerStatus
- type DockerRunner
- func (r *DockerRunner) Attach(id string) (io.WriteCloser, io.ReadCloser, error)
- func (r *DockerRunner) LogLogs(id string, logger log.Logger) error
- func (r *DockerRunner) Pull(c *Container, output *os.File) error
- func (r *DockerRunner) Start(c *Container) (*ContainerStatus, error)
- func (r *DockerRunner) Stop(id string) error
- func (r *DockerRunner) StopAll() error
- func (r *DockerRunner) Wait(id string) error
- type HijackedResponseReader
- type Port
- type PortMapping
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindMount ¶
func NewBindMount ¶
type ContainerStatus ¶
type ContainerStatus struct { ID string PortMapping *PortMapping Address string }
type DockerRunner ¶
DockerRunner implements Runner
func NewDockerRunner ¶
func (*DockerRunner) Attach ¶
func (r *DockerRunner) Attach(id string) (io.WriteCloser, io.ReadCloser, error)
func (*DockerRunner) Start ¶
func (r *DockerRunner) Start(c *Container) (*ContainerStatus, error)
func (*DockerRunner) Stop ¶
func (r *DockerRunner) Stop(id string) error
func (*DockerRunner) StopAll ¶
func (r *DockerRunner) StopAll() error
func (*DockerRunner) Wait ¶
func (r *DockerRunner) Wait(id string) error
type HijackedResponseReader ¶
type HijackedResponseReader struct { log.Logger types.HijackedResponse }
func (*HijackedResponseReader) Close ¶
func (r *HijackedResponseReader) Close() error
type PortMapping ¶
func (*PortMapping) AddPortMapping ¶
func (pm *PortMapping) AddPortMapping(containerPort string, hostPort string, hostAddress string)
Click to show internal directories.
Click to hide internal directories.