internal/relmanifest/relmanifest.go
Ref: Size: 645 B History
// Package relmanifest is the eitri.sh release-manifest wire contract, shared
// by its producer (the site generator), the server (agent-upgrade offers),
// and the agent (runtime bootstrap). One type, no drift.
package relmanifest
// Artifact is one downloadable file.
type Artifact struct {
URL string `json:"url"`
SHA256 string `json:"sha256"`
}
// Manifest is the eitri.sh release manifest: a version plus per-binary,
// per-platform artifacts (keys like "eitri-agent" → "linux/amd64").
type Manifest struct {
Version string `json:"version"`
Artifacts map[string]map[string]Artifact `json:"artifacts"`
}