Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotGetContainerIPAddress = errors.New("can not get container ip address")
ErrCannotGetContainerIPAddress signals that for some reason all attempts to resolve container's ip have failed
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher is a docker event watcher, which listens for relevant container-related events (e.g. start/stop)
func NewWatcher ¶
NewWatcher constructs a new watcher using docker client constructed from environment
Click to show internal directories.
Click to hide internal directories.