Documentation ¶
Index ¶
- func New() slsaprovenance.Provenance
- type ProvenanceV1
- func (prov *ProvenanceV1) BuilderID() (string, error)
- func (prov *ProvenanceV1) ConfigURI() (string, error)
- func (prov *ProvenanceV1) GetBranch() (string, error)
- func (prov *ProvenanceV1) GetTag() (string, error)
- func (prov *ProvenanceV1) GetWorkflowInputs() (map[string]interface{}, error)
- func (prov *ProvenanceV1) SourceURI() (string, error)
- func (prov *ProvenanceV1) Subjects() ([]intoto.Subject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() slsaprovenance.Provenance
This returns a new, empty instance of the v0.2 provenance.
Types ¶
type ProvenanceV1 ¶
type ProvenanceV1 struct { intoto.StatementHeader Predicate slsa1.ProvenancePredicate `json:"predicate"` // contains filtered or unexported fields }
func (*ProvenanceV1) BuilderID ¶
func (prov *ProvenanceV1) BuilderID() (string, error)
func (*ProvenanceV1) ConfigURI ¶
func (prov *ProvenanceV1) ConfigURI() (string, error)
func (*ProvenanceV1) GetBranch ¶
func (prov *ProvenanceV1) GetBranch() (string, error)
func (*ProvenanceV1) GetTag ¶
func (prov *ProvenanceV1) GetTag() (string, error)
func (*ProvenanceV1) GetWorkflowInputs ¶
func (prov *ProvenanceV1) GetWorkflowInputs() (map[string]interface{}, error)
func (*ProvenanceV1) SourceURI ¶
func (prov *ProvenanceV1) SourceURI() (string, error)
Click to show internal directories.
Click to hide internal directories.