Documentation
¶
Overview ¶
Package devupgrade owns synthetic, installation-local development custody. It grants no production trust. Callers must enforce the separate development datastore domain before using its output with the ordinary upgrade gate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrDurabilityUnconfirmed = errors.New("development custody published but durability unconfirmed; preserve it and retry")
Functions ¶
This section is empty.
Types ¶
type Material ¶
type Material struct {
Directory string
Pinned releasetrust.PinnedTrust
}
Material contains public evidence only. Private custody never leaves its installation directory. Reopening returns the same byte-exact signed bundle. Directory remains a mutable local path; gate loaders must authenticate it.
func Open ¶
Open creates or verifies one installation's development custody under an existing, canonical, euid-owned 0700 parent. It never creates or repairs the parent, adopts an existing empty child, or rotates malformed custody. All path components are opened without following symlinks. On publication sync failure it preserves the complete child and returns no usable material.