public static class DockerClient.EventsParam extends DockerClient.Param
DockerClient.events(EventsParam...)
Modifier and Type | Method and Description |
---|---|
static DockerClient.EventsParam |
container(String container)
Show events for a container.
|
static DockerClient.EventsParam |
daemon(String daemon)
Show events for a daemon.
|
static DockerClient.EventsParam |
event(String event)
Show only certain events.
|
static DockerClient.EventsParam |
image(String image)
Show events for an image.
|
static DockerClient.EventsParam |
label(String label)
Show events with a label value.
|
static DockerClient.EventsParam |
label(String label,
String value)
Show events with a label value.
|
static DockerClient.EventsParam |
network(String network)
Show events for a network.
|
static DockerClient.EventsParam |
plugin(String plugin)
Show events for a plugin.
|
static DockerClient.EventsParam |
scope(String scope)
Show events for a scope: "local" or "swarm"
|
static DockerClient.EventsParam |
since(Long since)
Filter events since the given timestamp
|
static DockerClient.EventsParam |
type(Event.Type type)
Show events of a given type.
|
static DockerClient.EventsParam |
type(String type)
Deprecated.
Use
type(Event.Type) . |
static DockerClient.EventsParam |
until(Long until)
Filter events until the given timestamp
|
static DockerClient.EventsParam |
volume(String volume)
Show events for a volume.
|
equals, hashCode, name, value
public static DockerClient.EventsParam until(Long until)
until
- Return events up until this Unix timestamp.DockerClient.EventsParam
public static DockerClient.EventsParam since(Long since)
since
- Return events since this Unix timestamp.DockerClient.EventsParam
public static DockerClient.EventsParam event(String event)
event
- Type of event to showpublic static DockerClient.EventsParam image(String image)
image
- An image tag or idpublic static DockerClient.EventsParam container(String container)
container
- A container name or idpublic static DockerClient.EventsParam volume(String volume)
volume
- A volume name or idpublic static DockerClient.EventsParam network(String network)
network
- A network name or idpublic static DockerClient.EventsParam daemon(String daemon)
daemon
- A daemon name or id@Deprecated public static DockerClient.EventsParam type(String type)
type(Event.Type)
.type
- A type of event. Possible values: container, image, volume, network, or daemonpublic static DockerClient.EventsParam type(Event.Type type)
type
- A type of event. Possible values: container, image, volume, network, or daemonpublic static DockerClient.EventsParam label(String label, String value)
label
- The label to filter onvalue
- The value of the labelpublic static DockerClient.EventsParam label(String label)
label
- The label to filter onpublic static DockerClient.EventsParam plugin(String plugin)
plugin
- A plugin name or idpublic static DockerClient.EventsParam scope(String scope)
scope
- "local" or "swarm"Copyright © 2018. All rights reserved.