Images class

Class used to obtain a list of images.

Constructors

Images()
Returns a factory Images
factory
Images.cached()
Call this version to cache the images between calls.

Properties

hashCode int
The hash code for this object.
no setterinherited
images List<Image>
Gets a list of of docker images.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

existsByFullname({required String fullname}) bool
Returns true an image exists with the name fullname.
existsByImageId({required String imageid}) bool
Returns true if an image with the given id returns true.
existsByParts({required String repository, required String name, required String tag}) bool
Returns true an image exists with the given name parts.
findAllByName(String imageName) List<Image>
returns a list of images with the given imageName
findByImageId(String imageid) Image?
Finds an image with the given imageid.
findByName(String imageName) Image?
Searches for and returns the image that matches imageName. If more than one image matches then an AmbiguousImageNameException is thrown. If no matching image is found a null is returned. If the name component is not passed then an ArgumentError is thrown.
findByParts({required String? repository, required String name, required String? tag}) List<Image>
Returns a list of images that match the passed parts. The name part is the only compulsory part. If no matches are found then an empty list is returned
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pull({required String fullname}) Image?
Runs the docker pull command to pull the image with name fullname
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited