- parse
Parses a string reference into an ImageReference.Image references should
generally be in the form: /
- <init>
Construct with #parse.
- getRegistry
Gets the registry portion of the ImageReference.
- getRepository
Gets the repository portion of the ImageReference.
- getTag
Gets the tag portion of the ImageReference.
- isDefaultTag
Returns true if tag is the default tag ((@code latest} or empty); falseif not.
- isTagDigest
Returns true if the ImageReference uses a SHA-256 digest as its tag; false if
not.
- isValidRegistry
Returns true if registry is a valid registry string. For example, a valid
registry could be gcr.io o
- isValidRepository
Returns true if repository is a valid repository string. For example, a valid
repository could be di
- isValidTag
Returns true if tag is a valid tag string. For example, a valid tag could be
v120.5-release.
- of
Constructs an ImageReference from the image reference components, consisting of
an optional registry
- toString
Stringifies the ImageReference. When the tag is a digest, it is prepended with
the at @ symbol inste