Documentation
¶
Overview ¶
Package sys tracks one-time bootstrap state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyInitialized = errors.New("system already initialized")
ErrAlreadyInitialized indicates bootstrap was already performed.
Functions ¶
func MarkInitialized ¶
MarkInitialized records successful bootstrap.
func MasterKeyFingerprint ¶
func MasterKeyFingerprint() string
MasterKeyFingerprint returns the fingerprint set at init.
func SetStatePath ¶
func SetStatePath(path string)
SetStatePath enables durable init marker (W50-05). Call before MarkInitialized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.