forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathListVolumesCmd.java
More file actions
34 lines (27 loc) · 821 Bytes
/
Copy pathListVolumesCmd.java
File metadata and controls
34 lines (27 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.github.dockerjava.api.command;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.annotation.CheckForNull;
/**
* List volumes.
*
* @author Marcus Linke
*/
public interface ListVolumesCmd extends SyncDockerCmd<ListVolumesResponse> {
@CheckForNull
Map<String, List<String>> getFilters();
/**
* @param dangling
* - Show dangling volumes filter
*/
ListVolumesCmd withDanglingFilter(Boolean dangling);
/**
* @param filterName
* @param filterValues
* - Show only volumes where the filter matches the given values
*/
ListVolumesCmd withFilter(String filterName, Collection<String> filterValues);
interface Exec extends DockerCmdSyncExec<ListVolumesCmd, ListVolumesResponse> {
}
}