devupgrade

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MPL-2.0 Imports: 26 Imported by: 0

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

View Source
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

func Open(ctx context.Context, parentDirectory string) (Material, error)

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.

Jump to

Keyboard shortcuts

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