v1

package
v2.3.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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)

func (*ProvenanceV1) Subjects

func (prov *ProvenanceV1) Subjects() ([]intoto.Subject, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL