Documentation
¶
Overview ¶
Package redaction owns process-observed key metadata and registry drift classification. It never accepts or stores key material.
Index ¶
Constants ¶
View Source
const ( DriftActiveNotRegistered = 3 DriftConfiguredCommitmentMismatch = 4 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Detail ¶
type Detail struct {
Number int `json:"number"`
Kind string `json:"kind"`
Version int `json:"version,omitempty"`
Message string `json:"message"`
}
Detail is one bounded drift classification. Message is operational metadata only and must never contain key material.
type Key ¶
Key is one observed version. Commitment is safe to expose; key material is deliberately absent from this package's type system.
type Observed ¶
type Observed struct {
Status string `json:"status"`
Mode string `json:"mode,omitempty"`
ActiveVersion int `json:"active_version,omitempty"`
Keys []Key `json:"keys,omitempty"`
Revision string `json:"revision,omitempty"`
}
Observed is the immutable, non-secret projection of the process keyring.
func CloneObserved ¶
Click to show internal directories.
Click to hide internal directories.