Documentation ¶
Overview ¶
sums creates and combines sha256sums files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PinnedImageReference ¶
type PinnedImageReference struct { Registry string Prefix string Name string Tag string Digest string }
PinnedImageReference contains the components of a pinned image reference.
func Parse ¶
func Parse(in io.Reader) ([]PinnedImageReference, error)
Parse parses a sha256sums file.
func (PinnedImageReference) Reference ¶
func (r PinnedImageReference) Reference() string
Reference returns the string representation of the reference (without the digest).
func (PinnedImageReference) Sum ¶
func (r PinnedImageReference) Sum() string
Sum returns the string representation of the digest. The digest is expected to be in the oci format "sha256:hex". The resulting Sum is only the hex part.
Click to show internal directories.
Click to hide internal directories.