类 LayerId
java.lang.Object
cn.taketoday.buildpack.platform.docker.type.LayerId
A layer ID as used inside a Docker image of the form
algorithm: hash.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
-
字段详细资料
-
value
-
algorithm
-
hash
-
-
构造器详细资料
-
LayerId
-
-
方法详细资料
-
getAlgorithm
Return the algorithm of layer.- 返回:
- the algorithm
-
getHash
Return the hash of the layer.- 返回:
- the layer hash
-
equals
-
hashCode
public int hashCode() -
toString
-
of
Create a newLayerIdwith the specified value.- 参数:
value- the layer ID value of the formalgorithm: hash- 返回:
- a new layer ID instance
-
ofSha256Digest
Create a newLayerIdfrom a SHA-256 digest.- 参数:
digest- the digest- 返回:
- a new layer ID instance
-