forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathListImagesCmd.java
More file actions
60 lines (44 loc) · 1.42 KB
/
Copy pathListImagesCmd.java
File metadata and controls
60 lines (44 loc) · 1.42 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.github.dockerjava.api.command;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.annotation.CheckForNull;
import com.github.dockerjava.api.model.Image;
/**
* List images
*/
public interface ListImagesCmd extends SyncDockerCmd<List<Image>> {
@CheckForNull
Map<String, List<String>> getFilters();
String getImageNameFilter();
@CheckForNull
Boolean hasShowAllEnabled();
/**
* Show all images (by default filter out the intermediate images used to build)
*/
ListImagesCmd withShowAll(Boolean showAll);
ListImagesCmd withImageNameFilter(String imageName);
/**
* Filter dangling images
*/
ListImagesCmd withDanglingFilter(Boolean dangling);
/**
* @param labels
* - string array in the form ["key"] or ["key=value"] or a mix of both
*/
ListImagesCmd withLabelFilter(String... label);
/**
* @param labels
* - {@link Map} of labels that contains label keys and values
*/
ListImagesCmd withLabelFilter(Map<String, String> labels);
/**
* Filter images by reference
*
* @param reference string in the form {@code <image-name>[:<tag>]}
*/
ListImagesCmd withReferenceFilter(String reference);
ListImagesCmd withFilter(String key, Collection<String> values);
interface Exec extends DockerCmdSyncExec<ListImagesCmd, List<Image>> {
}
}