iface

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provenance

type Provenance interface {
	// Predicate returns the predicate.
	Predicate() (interface{}, error)

	// PredicateType returns the predicate type.
	PredicateType() (string, error)

	// Header returns the statement header.
	Header() (intoto.StatementHeader, error)

	// BuilderID returns the builder id in the predicate.
	BuilderID() (string, error)

	// BuildType returns the buildType.
	BuildType() (string, error)

	// SourceURI is the full URI (including tag).
	SourceURI() (string, error)

	// SourceTag is the tag of the source.
	SourceTag() (string, error)

	// SourceBranch is the branch of the source.
	SourceBranch() (string, error)

	// Subject is the list of intoto subjects in the provenance.
	Subjects() ([]intoto.Subject, error)

	// Get system pararmeters.
	GetSystemParameters() (map[string]any, error)
}

Provenance represents provenance for a predicate type and build type.

Jump to

Keyboard shortcuts

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