releaseverify

package
v0.0.0-...-38ced02 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Name   string `json:"name"`
	Target string `json:"target,omitempty"`
	SHA256 string `json:"sha256"`
	Size   int64  `json:"size"`
}

type Evidence

type Evidence struct {
	SchemaVersion int                `json:"schema_version"`
	Name          string             `json:"name"`
	Version       string             `json:"version"`
	Module        string             `json:"module"`
	Repository    string             `json:"repository"`
	Commit        string             `json:"commit"`
	BuiltAt       string             `json:"built_at"`
	Builder       string             `json:"builder"`
	Acceptance    EvidenceAcceptance `json:"acceptance"`
	QualityGates  []string           `json:"quality_gates"`
	Reproducible  bool               `json:"reproducible"`
}

type EvidenceAcceptance

type EvidenceAcceptance struct {
	Passed  int                    `json:"passed"`
	Failed  int                    `json:"failed"`
	Presets []EvidencePresetResult `json:"presets"`
}

type EvidencePresetResult

type EvidencePresetResult struct {
	Preset            string   `json:"preset"`
	Status            string   `json:"status"`
	Files             int      `json:"files"`
	Resources         int      `json:"resources"`
	ArchitectureFiles int      `json:"architecture_files"`
	Checks            []string `json:"checks"`
}

type Manifest

type Manifest struct {
	SchemaVersion int     `json:"schema_version"`
	Name          string  `json:"name"`
	Version       string  `json:"version"`
	Module        string  `json:"module"`
	Repository    string  `json:"repository"`
	Commit        string  `json:"commit"`
	BuiltAt       string  `json:"built_at"`
	Builder       string  `json:"builder"`
	Assets        []Asset `json:"assets"`
}

type Options

type Options struct {
	Dist    string
	Execute bool
}

type Report

type Report struct {
	Manifest Manifest
	Verified int
	Executed bool
}

func Verify

func Verify(options Options) (Report, error)

Jump to

Keyboard shortcuts

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