types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

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