assetcatalog

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package assetcatalog owns immutable provider-neutral execution-asset identity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset added in v0.7.0

type Asset struct {
	ArtifactID              string   `json:"artifactId"`
	ManifestDigest          string   `json:"manifestDigest"`
	Architecture            string   `json:"architecture"`
	GuestProtocolGeneration uint32   `json:"guestProtocolGeneration"`
	MandatoryGuestFeatures  []string `json:"mandatoryGuestFeatures"`
}

Asset is immutable release-catalog evidence consumed by placement.

type AssetCatalog added in v0.7.0

type AssetCatalog interface {
	Resolve(string) (Asset, error)
}

AssetCatalog resolves Profile digests without inventing backend trust metadata.

type FileAssetCatalog

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

FileAssetCatalog is an immutable startup snapshot of a release-generated catalog.

func LoadFileAssetCatalog

func LoadFileAssetCatalog(path string) (*FileAssetCatalog, error)

LoadFileAssetCatalog validates one absolute read-only catalog path.

func (*FileAssetCatalog) Resolve

func (catalog *FileAssetCatalog) Resolve(digest string) (Asset, error)

Resolve returns an independent copy of one exact signed asset record.

Jump to

Keyboard shortcuts

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