Type Alias: EventMessage ​
EventMessage:
object
EventMessage represents the information an event contains.
Type declaration ​
| Name | Type | Description |
|---|---|---|
Action? | string | The type of event |
Actor? | EventActor | - |
scope? | "local" | "swarm" | Scope of the event. Engine events are local scope. Cluster (Swarm) events are swarm scope. |
time? | number | Timestamp of event |
timeNano? | number | Timestamp of event, with nanosecond accuracy |
Type? | "builder" | "config" | "container" | "daemon" | "image" | "network" | "node" | "plugin" | "secret" | "service" | "volume" | The type of object emitting the event |