github.com/quay/claircore@v1.5.28/manifest.go (about)

     1  package claircore
     2  
     3  // Manifest represents a docker image. Layers array MUST be indexed
     4  // in the order that image layers are stacked.
     5  type Manifest struct {
     6  	// content addressable hash. should be able to be computed via
     7  	// the hashes of all included layers
     8  	Hash Digest `json:"hash"`
     9  	// an array of filesystem layers indexed in the same order as the cooresponding image
    10  	Layers []*Layer `json:"layers"`
    11  }