...

Package common

import "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/common"
Overview
Index

Overview ▾

type DigestSet

DigestSet contains a set of digests. It is represented as a map from algorithm name to lowercase hex-encoded value.

type DigestSet map[string]string

type ProvenanceBuilder

ProvenanceBuilder idenfifies the entity that executed the build steps.

type ProvenanceBuilder struct {
    ID string `json:"id"`
}

type ProvenanceMaterial

ProvenanceMaterial defines the materials used to build an artifact.

type ProvenanceMaterial struct {
    URI    string    `json:"uri,omitempty"`
    Digest DigestSet `json:"digest,omitempty"`
}