File: errors.go

package info (click to toggle)
golang-github-containers-buildah 1.19.6%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,020 kB
  • sloc: sh: 1,957; makefile: 199; perl: 173; awk: 12; ansic: 1
file content (17 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package supplemented

import (
	"errors"

	"github.com/containers/buildah/pkg/manifests"
)

var (
	// ErrDigestNotFound is returned when we look for an image instance
	// with a particular digest in a list or index, and fail to find it.
	ErrDigestNotFound = manifests.ErrDigestNotFound
	// ErrBlobNotFound is returned when try to figure out which supplemental
	// image we should ask for a blob with the specified characteristics,
	// based on the information in each of the supplemental images' manifests.
	ErrBlobNotFound = errors.New("location of blob could not be determined")
)