Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Image defines the event/filter type image Image = "image" // Container defines the event/filter type container Container = "container" // Type defines the filter type Type Type = "type" // Create defines the event action create (container) Create = "create" // Start defines the event action start (container) Start = "start" // Die defines the event action die (container) Die = "die" // Detach defines the event action detach (container) Detach = "detach" // Pull defines the event action image (container) Pull = "pull" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶
type Events interface { Subscribe() (<-chan Message, string) Unsubscribe(string) Publish(string, string, string) }
Events is the interface to publish and consume events.
Click to show internal directories.
Click to hide internal directories.