Package org.mandas.docker.client
Class DockerClient.EventsParam
java.lang.Object
org.mandas.docker.client.DockerClient.Param
org.mandas.docker.client.DockerClient.EventsParam
- Direct Known Subclasses:
DockerClient.EventsFilterParam
- Enclosing interface:
- DockerClient
Parameters for
DockerClient.events(EventsParam...)-
Method Summary
Modifier and TypeMethodDescriptionstatic DockerClient.EventsParamShow events for a container.static DockerClient.EventsParamShow events for a daemon.static DockerClient.EventsParamShow only certain events.static DockerClient.EventsParamShow events for an image.static DockerClient.EventsParamShow events with a label value.static DockerClient.EventsParamShow events with a label value.static DockerClient.EventsParamShow events for a network.static DockerClient.EventsParamShow events for a plugin.static DockerClient.EventsParamShow events for a scope: "local" or "swarm"static DockerClient.EventsParamFilter events since the given timestampstatic DockerClient.EventsParamtype(Event.Type type) Show events of a given type.static DockerClient.EventsParamFilter events until the given timestampstatic DockerClient.EventsParamShow events for a volume.Methods inherited from class org.mandas.docker.client.DockerClient.Param
equals, hashCode, name, value
-
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
-
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
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
-