Class DockerClient.EventsParam

    • Method Detail

      • event

        public static DockerClient.EventsParam event​(String 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

        public static DockerClient.EventsParam image​(String image)
        Show events for an image.
        Parameters:
        image - An image tag or id
        Returns:
        EventsParam
        Since:
        API 1.18
      • container

        public static DockerClient.EventsParam container​(String container)
        Show events for a container.
        Parameters:
        container - A container name or id
        Returns:
        EventsParam
        Since:
        API 1.18
      • volume

        public static DockerClient.EventsParam volume​(String volume)
        Show events for a volume.
        Parameters:
        volume - A volume name or id
        Returns:
        EventsParam
        Since:
        API 1.22
      • network

        public static DockerClient.EventsParam network​(String network)
        Show events for a network.
        Parameters:
        network - A network name or id
        Returns:
        EventsParam
        Since:
        API 1.22
      • daemon

        public static DockerClient.EventsParam daemon​(String daemon)
        Show events for a daemon.
        Parameters:
        daemon - A daemon name or id
        Returns:
        EventsParam
        Since:
        API 1.24
      • type

        public static DockerClient.EventsParam type​(Event.Type 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

        public static DockerClient.EventsParam label​(String label,
                                                     String value)
        Show events with a label value.
        Parameters:
        label - The label to filter on
        value - The value of the label
        Returns:
        EventsParam
        Since:
        API 1.21
      • label

        public static DockerClient.EventsParam label​(String label)
        Show events with a label value.
        Parameters:
        label - The label to filter on
        Returns:
        EventsParam
        Since:
        API 1.21
      • plugin

        public static DockerClient.EventsParam plugin​(String plugin)
        Show events for a plugin.
        Parameters:
        plugin - A plugin name or id
        Returns:
        EventsParam
        Since:
        API 1.30
      • scope

        public static DockerClient.EventsParam scope​(String scope)
        Show events for a scope: "local" or "swarm"
        Parameters:
        scope - "local" or "swarm"
        Returns:
        EventsParam
        Since:
        API 1.30