1 package common 2 3 // DigestSet contains a set of digests. It is represented as a map from 4 // algorithm name to lowercase hex-encoded value. 5 type DigestSet map[string]string 6 7 // ProvenanceBuilder idenfifies the entity that executed the build steps. 8 type ProvenanceBuilder struct { 9 ID string `json:"id"` 10 } 11 12 // ProvenanceMaterial defines the materials used to build an artifact. 13 type ProvenanceMaterial struct { 14 URI string `json:"uri,omitempty"` 15 Digest DigestSet `json:"digest,omitempty"` 16 } 17