Documentation ¶
Index ¶
- type Container
- func (c *Container) Background() error
- func (c *Container) Close() error
- func (c *Container) CloseAfterStream(stream *Stream) error
- func (c *Container) Commit(ref string) (imageID string, err error)
- func (c *Container) CopyFrom(path string) (Stream, error)
- func (c *Container) CopyTo(stream Stream, path string) error
- func (c *Container) ExtractTo(tar io.Reader, path string) error
- func (c *Container) HealthCheck() <-chan string
- func (c *Container) ID() string
- func (c *Container) Start(logPrefix string, logs io.Writer, restart <-chan time.Time) (status int64, err error)
- type Image
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Docker *docker.Client Exit <-chan struct{} CheckInterval <-chan time.Time // contains filtered or unexported fields }
func NewContainer ¶
func (*Container) Background ¶ added in v0.14.0
func (*Container) CloseAfterStream ¶
func (*Container) HealthCheck ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.