Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxSize int64
MaxSize defines the max supported file size
Functions ¶
func DigestManifest ¶
DigestManifest gets the real digest content of a docker manifest
func FromReader ¶
FromReader gets the digest from an io.Reader
Types ¶
type Algorithm ¶
type Algorithm string
Algorithm identifies and implementation of a digester by an identifier. Note the that this defines both the hash algorithm used and the string encoding.
const ( SHA256 Algorithm = "sha256" // sha256 with hex encoding SHA384 Algorithm = "sha384" // sha384 with hex encoding SHA512 Algorithm = "sha512" // sha512 with hex encoding TarsumV1SHA256 Algorithm = "tarsum+v1+sha256" // supported tarsum version, verification only // Canonical is the primary digest algorithm used with the distribution // project. Other digests may be used but this one is the primary storage // digest. Canonical = SHA256 )
supported digest types
Click to show internal directories.
Click to hide internal directories.