Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerWaitWrapper ¶ added in v0.30.0
func ContainerWaitWrapper(ctx context.Context, docker DockerClient, container string, condition dcontainer.WaitCondition) (<-chan dcontainer.WaitResponse, <-chan error)
func RunWithHandler ¶ added in v0.21.0
Types ¶
type DockerClient ¶ added in v0.29.0
type DockerClient interface { ContainerWait(ctx context.Context, container string, condition dcontainer.WaitCondition) (<-chan dcontainer.WaitResponse, <-chan error) ContainerAttach(ctx context.Context, container string, options dcontainer.AttachOptions) (types.HijackedResponse, error) ContainerStart(ctx context.Context, container string, options dcontainer.StartOptions) error }
type Handler ¶ added in v0.21.0
type Handler func(bodyChan <-chan dcontainer.WaitResponse, errChan <-chan error, reader io.Reader) error
func DefaultHandler ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.