Package com.spotify.docker.client
Class DockerClient.EventsParam
java.lang.Object
com.spotify.docker.client.DockerClient.Param
com.spotify.docker.client.DockerClient.EventsParam
- Direct Known Subclasses:
DockerClient.EventsFilterParam
- Enclosing interface:
DockerClient
Parameters for
DockerClient.events(EventsParam...)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DockerClient.EventsParam
Show events for a container.static DockerClient.EventsParam
Show events for a daemon.static DockerClient.EventsParam
Show only certain events.private static DockerClient.EventsParam
Apply filters to the returned events.static DockerClient.EventsParam
Show events for an image.static DockerClient.EventsParam
Show events with a label value.static DockerClient.EventsParam
Show events with a label value.static DockerClient.EventsParam
Show events for a network.static DockerClient.EventsParam
Show events for a plugin.static DockerClient.EventsParam
Show events for a scope: "local" or "swarm"static DockerClient.EventsParam
Filter events since the given timestampstatic DockerClient.EventsParam
type
(Event.Type type) Show events of a given type.static DockerClient.EventsParam
Deprecated.static DockerClient.EventsParam
Filter events until the given timestampstatic DockerClient.EventsParam
Show events for a volume.Methods inherited from class com.spotify.docker.client.DockerClient.Param
equals, hashCode, name, value
-
Constructor Details
-
EventsParam
-
-
Method Details
-
until
Filter events until the given timestamp- Parameters:
until
- Return events up until this Unix timestamp.- Returns:
DockerClient.EventsParam
- Since:
- API 1.18
-
since
Filter events since the given timestamp- Parameters:
since
- Return events since this Unix timestamp.- Returns:
DockerClient.EventsParam
- Since:
- API 1.18
-
filter
Apply filters to the returned events.- Parameters:
name
- Namevalue
- Value- Returns:
DockerClient.EventsParam
- Since:
- API 1.18
-
event
Show only certain events. For example, "event=pull" for image pull events.- Parameters:
event
- Type of event to show- Returns:
- EventsParam
- Since:
- API 1.18
-
image
Show events for an image.- Parameters:
image
- An image tag or id- Returns:
- EventsParam
- Since:
- API 1.18
-
container
Show events for a container.- Parameters:
container
- A container name or id- Returns:
- EventsParam
- Since:
- API 1.18
-
volume
Show events for a volume.- Parameters:
volume
- A volume name or id- Returns:
- EventsParam
- Since:
- API 1.22
-
network
Show events for a network.- Parameters:
network
- A network name or id- Returns:
- EventsParam
- Since:
- API 1.22
-
daemon
Show events for a daemon.- Parameters:
daemon
- A daemon name or id- Returns:
- EventsParam
- Since:
- API 1.24
-
type
Deprecated.Usetype(Event.Type)
.Show events of a given type. For instance, "type=image" for all image events.- Parameters:
type
- A type of event. Possible values: container, image, volume, network, or daemon- Returns:
- EventsParam
- Since:
- API 1.22
-
type
Show events of a given type. For instance, "type=image" for all image events.- Parameters:
type
- A type of event. Possible values: container, image, volume, network, or daemon- Returns:
- EventsParam
- Since:
- API 1.22
-
label
Show events with a label value.- Parameters:
label
- The label to filter onvalue
- The value of the label- Returns:
- EventsParam
- Since:
- API 1.21
-
label
Show events with a label value.- Parameters:
label
- The label to filter on- Returns:
- EventsParam
- Since:
- API 1.21
-
plugin
Show events for a plugin.- Parameters:
plugin
- A plugin name or id- Returns:
- EventsParam
- Since:
- API 1.30
-
scope
Show events for a scope: "local" or "swarm"- Parameters:
scope
- "local" or "swarm"- Returns:
- EventsParam
- Since:
- API 1.30
-
type(Event.Type)
.