evidence

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package evidence defines bounded runtime evidence contracts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Type    string         `json:"type"`
	Name    string         `json:"name,omitempty"`
	Status  string         `json:"status,omitempty"`
	Summary map[string]any `json:"summary,omitempty"`
	Content string         `json:"content,omitempty"`
}

type Limits

type Limits struct {
	MaxBytes     int `json:"max_bytes,omitempty"`
	MaxPods      int `json:"max_pods,omitempty"`
	MaxEvents    int `json:"max_events,omitempty"`
	MaxArtifacts int `json:"max_artifacts,omitempty"`
}

type Pack

type Pack struct {
	Kind           string            `json:"kind"`
	Source         string            `json:"source,omitempty"`
	Plugin         string            `json:"plugin"`
	CollectionTime time.Time         `json:"collection_time"`
	Limits         Limits            `json:"limits,omitempty"`
	Summary        map[string]any    `json:"summary,omitempty"`
	Artifacts      []Artifact        `json:"artifacts,omitempty"`
	Redactions     []string          `json:"redactions,omitempty"`
	Errors         []string          `json:"errors,omitempty"`
	Metadata       map[string]string `json:"metadata,omitempty"`
}

Pack is a structured, bounded context artifact collected by a runtime plugin.

Jump to

Keyboard shortcuts

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