类 ImageName
java.lang.Object
cn.taketoday.buildpack.platform.docker.type.ImageName
A Docker image name of the form "docker.io/library/ubuntu".
- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanReturn the domain for this image name.private StringgetDomainOrDefault(String domain) getName()Return the name of this image.private StringgetNameWithDefaultPath(String domain, String name) inthashCode()static ImageNameCreate a newImageNamefrom the given value.(专用程序包) static StringparseDomain(String value) toString()
-
字段详细资料
-
构造器详细资料
-
ImageName
-
-
方法详细资料
-
getDomain
Return the domain for this image name.- 返回:
- the domain
-
getName
Return the name of this image.- 返回:
- the image name
-
equals
-
hashCode
public int hashCode() -
toString
-
toLegacyString
-
getDomainOrDefault
-
getNameWithDefaultPath
-
of
Create a newImageNamefrom the given value. The following value forms can be used:name(maps todocker.io/library/name)domain/namedomain:port/name
- 参数:
value- the value to parse- 返回:
- an
ImageNameinstance
-
parseDomain
-