controllerstate

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package controllerstate defines the manager-side durable-state contract.

Index

Constants

View Source
const CurrentVersion int32 = 1

CurrentVersion is the newest PtahSchema controller-state version this manager can safely interpret and write.

View Source
const MaxRevisionBytes = 128

MaxRevisionBytes is the maximum encoded size of manager build provenance.

Variables

This section is empty.

Functions

func ValidateRevision

func ValidateRevision(revision string) error

ValidateRevision checks the manager build provenance stored in durable execution identity. Interior whitespace is allowed for custom build labels, but edge whitespace, control characters, invalid UTF-8, and oversized values are refused so annotations, logs, and API evidence cannot be ambiguous.

Types

This section is empty.

Jump to

Keyboard shortcuts

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