Documentation
¶
Overview ¶
Package restoreverify verifies the read-only integrity surface of a restored deployment: evidence chains and their content-addressed objects, the global audit chain, and applied migration metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditResult ¶
type EvidenceChainResult ¶
type ObjectResult ¶
type Result ¶
type Result struct {
Intact bool `json:"intact"`
Completeness string `json:"completeness"`
EvidenceChains []EvidenceChainResult `json:"evidence_chains"`
Audit AuditResult `json:"audit"`
Migrations []ports.MigrationMetadata `json:"migrations"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(evidenceReader ports.RestoreEvidenceReader, blobs ports.RestoreBlobReader, migrations ports.RestoreMigrationReader, auditReader ports.RestoreAuditReader, expected ...ports.RestoreExpectedState) (*Service, error)
NewService validates read-only dependencies. At most one expected-state manifest may be supplied.
Click to show internal directories.
Click to hide internal directories.