Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Digest ¶
type Digest struct { // A map of file path -> hash FileHashes map[string]string // contains filtered or unexported fields }
func Parse ¶
Parses a sha256sum digest. Each line is a 64-character sha256 hash in lowercase hexadecimal, followed by a space, followed by an unused mode character, followed by a filename. The signature is optional.
func ParseUris ¶
Parses a sha256sum digest at the given digest URI, with a detached PGP signature at the given signature URI. If the pod manifest does not declare a signature path, use "".
func (Digest) SignatureData ¶
Click to show internal directories.
Click to hide internal directories.