artifacts

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 5 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneVersions

func CloneVersions(in map[string]string) map[string]string

func WriteAnalysisArtifactManifest

func WriteAnalysisArtifactManifest(path string, manifest AnalysisArtifactManifest) error

Types

type AnalysisArtifactManifest

type AnalysisArtifactManifest struct {
	SchemaVersion   string                    `json:"schemaVersion"`
	RunID           string                    `json:"runId"`
	Plots           []PlotArtifactManifest    `json:"plots"`
	Script          ScriptArtifactManifest    `json:"script"`
	EngineVersions  map[string]string         `json:"engineVersions"`
	Warnings        []string                  `json:"warnings,omitempty"`
	ReportEmbedding []ReportEmbeddingMetadata `json:"reportEmbedding"`
}

func NewAnalysisArtifactManifest

func NewAnalysisArtifactManifest(run core.AnalysisRun, result core.AnalysisResult) AnalysisArtifactManifest

type PlotArtifactManifest

type PlotArtifactManifest struct {
	Kind     string            `json:"kind"`
	Path     string            `json:"path"`
	Checksum string            `json:"checksum"`
	Settings map[string]string `json:"settings"`
}

type ReportEmbeddingMetadata

type ReportEmbeddingMetadata struct {
	Kind     string `json:"kind"`
	Path     string `json:"path"`
	Markdown string `json:"markdown"`
	AltText  string `json:"altText"`
}

type ScriptArtifactManifest

type ScriptArtifactManifest struct {
	Path     string `json:"path"`
	Checksum string `json:"checksum"`
	Engine   string `json:"engine"`
}

Jump to

Keyboard shortcuts

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