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 |
byName(String name)
Show images by name.
|
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(String label)
Show images with a label.
|
static DockerClient.ListImagesParam |
withLabel(String label,
String value)
Show images with a label value.
|
public static DockerClient.ListImagesParam create(String name, String value)
name
- of parametervalue
- of parameterpublic static DockerClient.ListImagesParam filter(String name, String value)
name
- of filtervalue
- of filterpublic 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 withLabel(String label, String value)
label
- The label to filter onvalue
- The value of the labelpublic static DockerClient.ListImagesParam withLabel(String label)
label
- The label to filter onpublic static DockerClient.ListImagesParam byName(String name)
name
- Name of the image to filter onCopyright © 2016. All rights reserved.