Package com.yahoo.config.provision
Class DockerImage
java.lang.Object
com.yahoo.config.provision.DockerImage
A container image.
- Author:
- mpolden
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionasString()booleanstatic DockerImagefromString(String s) inthashCode()registry()Returns the registry-part of this, i.e. the host/port of the registry.Returns the repository-part of thistag()Returns this image's tag, if anycom.yahoo.component.VersionReturns the tag as aVersion,Version.emptyVersionif tag is not settoString()untagged()Returns the registry and repository for this image, excluding its tagwithRegistry(String registry) Returns a copy of this with registry set to given valuewithTag(com.yahoo.component.Version version) Returns a copy of this tagged with the given version
-
Field Details
-
EMPTY
-
-
Method Details
-
registry
Returns the registry-part of this, i.e. the host/port of the registry. -
repository
Returns the repository-part of this -
untagged
Returns the registry and repository for this image, excluding its tag -
tag
Returns this image's tag, if any -
tagAsVersion
public com.yahoo.component.Version tagAsVersion()Returns the tag as aVersion,Version.emptyVersionif tag is not set -
withTag
Returns a copy of this tagged with the given version -
withRegistry
Returns a copy of this with registry set to given value -
asString
-
toString
-
equals
-
hashCode
public int hashCode() -
fromString
-