...

Source file src/github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common/common.go

Documentation: github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common

     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  

View as plain text