Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*docker.Client
}
func (*Client) AddObserver ¶
func (c *Client) AddObserver(ob ContainerObserver) error
AddObserver adds an observer for docker events
func (*Client) IsContainerNotRunning ¶
IsContainerNotRunning returns true if we have checked with Docker that the ID is not running
type ContainerObserver ¶
type ContainerObserver interface {
ContainerDied(ident string)
}
An observer for container events
Click to show internal directories.
Click to hide internal directories.