DockerSdk
the .NET SDK for Docker
|
Represents a Docker event. More...
Properties | |
EventSubjectType | SubjectType [get] |
DateTimeOffset | Timestamp [get] |
Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More... | |
![]() | |
EventSubjectType | SubjectType [get] |
Gets a value indicating what type of thing the event is about. More... | |
string | ActorId [get] |
Gets the full ID of the event's subject. More... | |
string | Action [get] |
Gets a value indicating the type of event this is. More... | |
IReadOnlyDictionary< string, string > | ActorDetails [get] |
Gets a dictionary of supplementary information provided by the daemon about the event's subject. The keys that appear here vary by subject type, event type, and the specifics of the subject. More... | |
DateTimeOffset | Timestamp [get] |
Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More... | |
Represents a Docker event.
If you need a less-processed form, cast the object to IEventLowLevel.
|
get |
Gets the date and time at which the event occurred, in UTC, per the daemon's clock.
This timestamp comes from the Docker daemon, and is based on the daemon's server's clock. Unless the caller and the daemon are on the same computer, their clocks might not be in sync. Attempting to compute elapsed time based on different clocks can cause meaningless values, including negative durations. Note that even two computers that synchronize to the same time server can have a small amount of clock drift.