public static class DockerClient.ListImagesParam extends Object
DockerClient.listImages(ListImagesParam...)| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private String |
value |
| Constructor and Description |
|---|
ListImagesParam(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static DockerClient.ListImagesParam |
allImages()
Show all images.
|
static DockerClient.ListImagesParam |
allImages(boolean all)
Show all images.
|
static DockerClient.ListImagesParam |
create(String name,
String value)
Create a custom parameter.
|
static DockerClient.ListImagesParam |
danglingImages()
Show dangling images only.
|
static DockerClient.ListImagesParam |
danglingImages(boolean dangling)
Enable or disable dangling image filter.
|
static DockerClient.ListImagesParam |
filter(String name,
String value)
Create a custom filter.
|
String |
name()
Parameter name.
|
String |
value()
Parameter value.
|
static DockerClient.ListImagesParam |
withLabel(Map<String,String> labels)
Show images with a label value
|
static DockerClient.ListImagesParam |
withLabel(String key)
Show images with a label
|
static DockerClient.ListImagesParam |
withLabel(String key,
String value)
Show images with a label value
|
public String name()
public String value()
public static DockerClient.ListImagesParam allImages()
public static DockerClient.ListImagesParam allImages(boolean all)
all - Whether to list all imagespublic static DockerClient.ListImagesParam danglingImages()
public static DockerClient.ListImagesParam danglingImages(boolean dangling)
dangling - Whether to list dangling imagespublic static DockerClient.ListImagesParam filter(String name, String value)
name - of filtervalue - of filterpublic static DockerClient.ListImagesParam withLabel(String key, String value)
key - of labelvalue - of labelpublic static DockerClient.ListImagesParam withLabel(String key)
key - of labelpublic static DockerClient.ListImagesParam withLabel(Map<String,String> labels)
labels - Map of label key, label value pairspublic static DockerClient.ListImagesParam create(String name, String value)
name - of parametervalue - of parameterCopyright © 2016. All rights reserved.