Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NestedVerifierReport

type NestedVerifierReport struct {
	Subject         string                 `json:"subject"`
	ReferenceDigest string                 `json:"referenceDigest"`
	ArtifactType    string                 `json:"artifactType"`
	VerifierReports []types.VerifierResult `json:"verifierReports"`
	NestedReports   []NestedVerifierReport `json:"nestedReports"`
}

NestedVerifierReport describes the results of verifying an artifact and its nested artifacts by available verifiers. Note: NestedVerifierReport is used for verification results in v1.

func NewNestedVerifierReport

func NewNestedVerifierReport(report interface{}) (NestedVerifierReport, error)

NewNestedVerifierReport creates a new NestedVerifierReport from an interface.

type VerifyResult

type VerifyResult struct {
	IsSuccess       bool          `json:"isSuccess,omitempty"`
	VerifierReports []interface{} `json:"verifierReports"`
}

VerifyResult describes the results of verifying a subject

Jump to

Keyboard shortcuts

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