evidence

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0, MIT Imports: 12 Imported by: 0 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

Overview

Package evidence records schema-validated run observations and manifests inside a confined evidence directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder struct {
	// contains filtered or unexported fields
}

Recorder writes observations.ndjson and run-manifest.json inside a confined root.

func NewRecorder

func NewRecorder(runDir, runID, profile, packSHA256 string, subjects []model.SubjectMetadata) (*Recorder, error)

NewRecorder initializes a confined evidence bundle directory and opens observations.ndjson.

func (*Recorder) Complete

func (r *Recorder) Complete(state string) (*model.RunManifest, error)

Complete finalizes observations.ndjson and writes run-manifest.json with the given state ("complete" or "incomplete").

func (*Recorder) Record

func (r *Recorder) Record(obs model.Observation) error

Record validates and appends one observation to observations.ndjson.

Jump to

Keyboard shortcuts

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