Package com.spotify.docker.client
Class DockerClient.ListImagesParam
java.lang.Object
com.spotify.docker.client.DockerClient.Param
com.spotify.docker.client.DockerClient.ListImagesParam
- Direct Known Subclasses:
DockerClient.ListImagesFilterParam
- Enclosing interface:
DockerClient
Parameters for
DockerClient.listImages(ListImagesParam...)
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DockerClient.ListImagesParam
Show all images.static DockerClient.ListImagesParam
allImages
(boolean all) Show all images.static DockerClient.ListImagesParam
Show images by name.static DockerClient.ListImagesParam
Create a custom parameter.static DockerClient.ListImagesParam
Show dangling images only.static DockerClient.ListImagesParam
danglingImages
(boolean dangling) Enable or disable dangling image filter.static DockerClient.ListImagesParam
digests()
Show digests.static DockerClient.ListImagesParam
Create a custom filter.static DockerClient.ListImagesParam
Show images with a label.static DockerClient.ListImagesParam
Show images with a label value.Methods inherited from class com.spotify.docker.client.DockerClient.Param
equals, hashCode, name, value
-
Constructor Details
-
ListImagesParam
-
-
Method Details
-
create
Create a custom parameter.- Parameters:
name
- of parametervalue
- of parameter- Returns:
- ListImagesParam
-
filter
Create a custom filter.- Parameters:
name
- of filtervalue
- of filter- Returns:
- ListImagesParam
-
allImages
Show all images. Only intermediate image layers are shown by default.- Returns:
- ListImagesParam
-
allImages
Show all images. Only intermediate image layers are shown by default.- Parameters:
all
- Whether to list all images- Returns:
- ListImagesParam
-
digests
Show digests.- Returns:
- ListImagesParam
-
danglingImages
Show dangling images only. A dangling image is one which does not have a repository name. By default both dangling and non-dangling will be shown.- Returns:
- ListImagesParam
-
danglingImages
Enable or disable dangling image filter.- Parameters:
dangling
- Whether to list dangling images- Returns:
- ListImagesParam
-
withLabel
Show images with a label value.- Parameters:
label
- The label to filter onvalue
- The value of the label- Returns:
- ListImagesParam
-
withLabel
Show images with a label.- Parameters:
label
- The label to filter on- Returns:
- ListImagesParam
-
byName
Show images by name. Can use RepoTags or RepoDigests as valid inputs.- Parameters:
name
- Name of the image to filter on- Returns:
- ListImagesParam
-