Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendReport ¶
AppendReport appends a single check result to a JSONL report file.
Types ¶
type Result ¶
type Result struct {
Path string
ReferencePath string `json:",omitempty"`
IntegrityOK bool
IntegrityErrors []string `json:",omitempty"`
SchemaOK *bool `json:",omitempty"` // nil when no reference given
SchemaDiff *diff.Result `json:",omitempty"`
DataOK *bool `json:",omitempty"` // nil when --data not requested
Tables []TableStat `json:",omitempty"`
Passed bool
}
Result holds the outcome of a backup integrity check.
Click to show internal directories.
Click to hide internal directories.