statement

package
v0.1.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package statement assembles in-toto v1 statements from a predicate proto and a set of subjects. It is shared by the per-version generator packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(predicateType string, subjects []*intoto.ResourceDescriptor, predicate proto.Message) (*intoto.Statement, error)

Build wraps the given predicate in an in-toto v1 statement over the supplied subjects. The predicate proto is converted to a structpb value so it can ride in the statement's Predicate field. A nil predicate yields a statement with an empty predicate object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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