Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckResult ¶
type CheckResult struct {
Check string `json:"check"`
Database string `json:"database"`
Branch string `json:"branch"`
Columns []string `json:"columns,omitempty"`
Rows []map[string]any `json:"rows"`
RowCount int `json:"row_count"`
Skipped string `json:"skipped,omitempty"`
// NextSteps points at the pscale insights commands that analyze the same
// problem from server-side production traffic data.
NextSteps []string `json:"next_steps,omitempty"`
}
CheckResult is one check's outcome, printable in all output formats.
type Report ¶
type Report struct {
Database string `json:"database"`
Branch string `json:"branch"`
Results []*CheckResult `json:"results"`
// NextSteps recommends the server-side analysis commands that complement
// these connection-level checks.
NextSteps []string `json:"next_steps"`
}
Report is the combined output of inspect all.
Click to show internal directories.
Click to hide internal directories.