data

package
v0.6.3-yckms.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OthernameBundleRaw []byte
View Source
var SigstoreBundle2SigRaw []byte
View Source
var SigstoreBundleRaw []byte
View Source
var SigstoreJS200ProvenanceBundleRaw []byte

Functions

func OthernameBundle

func OthernameBundle(t *testing.T) *bundle.Bundle

OthernameBundle returns a test *sigstore.Bundle that contains verification content for an artifact signed with an Othername identity.

func PublicGoodTrustedMaterialRoot

func PublicGoodTrustedMaterialRoot(t *testing.T) *root.TrustedRoot

PublicGoodTrustedMaterialRoot returns a *root.TrustedRoot for PGI.

func ScaffoldingTrustedMaterialRoot

func ScaffoldingTrustedMaterialRoot(t *testing.T) *root.TrustedRoot

ScaffoldingTrustedMaterialRoot returns a *root.TrustedRoot for a private sigstore deployment.

func SigstoreBundle

func SigstoreBundle(t *testing.T) *bundle.Bundle

SigstoreBundle returns a test *sigstore.Bundle.

func SigstoreBundle2Sig

func SigstoreBundle2Sig(t *testing.T) *bundle.Bundle

SigstoreBundle2Sig returns a test *sigstore.Bundle with two signatures.

func SigstoreJS200ProvenanceBundle

func SigstoreJS200ProvenanceBundle(t *testing.T) *bundle.Bundle

SigstoreJS200ProvenanceBundle returns a test *sigstore.Bundle that contains a complete sigstore-js build provenance.

func TestBundle

func TestBundle(t *testing.T, raw []byte) *bundle.Bundle

TestBundle creates *bundle.Bundle from a raw byte stream containing a JSON encoded protobuf bundle.

func Unmarshal

func Unmarshal[T any](t *testing.T, data []byte) T

Unmarshal returns the Go value for the given bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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