Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Manifest

A Manifest is analogous to an OCI Image Manifest: it defines the order of layers and how to retrieve the them.

package claircore // import "github.com/quay/claircore"

type Manifest struct {
	// content addressable hash. should be able to be computed via
	// the hashes of all included layers
	Hash Digest `json:"hash"`
	// an array of filesystem layers indexed in the same order as the corresponding image
	Layers []*Layer `json:"layers"`
}
    Manifest represents a docker image. Layers array MUST be indexed in the
    order that image layers are stacked.