imagedigest

package
v0.36.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package imagedigest utility packages to abstract the retrieval of Digests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DigestWrap

type DigestWrap struct {
	// contains filtered or unexported fields
}

DigestWrap holds regname.Digest and orig reference retrieved from ImagesLock's image field

func (*DigestWrap) DigestWrap

func (dw *DigestWrap) DigestWrap(imgIdxRef string, origRef string) error

DigestWrap sets regnameDigest and origRef fields' values

func (*DigestWrap) OrigRef

func (dw *DigestWrap) OrigRef() string

OrigRef returns origRef value of DigestWrap instance

func (*DigestWrap) RegnameDigest

func (dw *DigestWrap) RegnameDigest() regname.Digest

RegnameDigest returns regnameDigest value of DigestWrap instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL