Versions in this module Expand all Collapse all v0 v0.2.61 Jul 30, 2026 Changes in this version + const DescriptorFileName + const DescriptorSchemaV0 + const InstalledDescriptorSuffix + const InstalledManifestSuffix + func AdmitVersionTransition(current, next *Descriptor, currentStateVersion uint32) error + func IsIntegrityError(err error) bool + func MarshalDescriptor(descriptor *Descriptor) ([]byte, error) + type Descriptor struct + ArtifactDigest string + BinaryDigest string + BinaryPath string + ManifestDigest string + ManifestPath string + ManifestSchemaVersion string + Name string + ProtocolVersion string + Publisher string + SchemaVersion string + Version string + func BuildDescriptor(binaryName string, binary, manifestBytes []byte) (*Descriptor, error) + func ParseDescriptor(data []byte) (*Descriptor, error) + type Verified struct + BinaryPath string + Descriptor *Descriptor + Manifest *manifest.Manifest + func InstallLayout(root, target string, expected *resources.Agent) (*Verified, error) + func VerifyExecutable(binaryPath string, expected *resources.Agent) (*Verified, error) + func VerifyLayout(root string, expected *resources.Agent) (*Verified, error) + func (v *Verified) AdmitRuntimeCatalog(runtime *providerv0.RuntimeCatalog) (*manifest.Catalog, error)