Documentation
¶
Index ¶
- func FormatSnapshotDeleteDryRunOutput(snapshotID string, preview *snapshot.DeleteLineagePreview) string
- func RenderSimulateStoreHuman(w io.Writer, r *SimulateStoreReport) error
- func RenderSimulateStoreJSON(w io.Writer, r *SimulateStoreReport) error
- func RenderSnapshotDiffDetailedHuman(w io.Writer, baseID, targetID string, entries []snapshot.SnapshotDiffEntry, ...) error
- func RenderSnapshotDiffSummaryHuman(w io.Writer, baseID, targetID string, summary snapshot.SnapshotDiffSummary) error
- func RenderSnapshotListHuman(w io.Writer, items []snapshot.Snapshot, treeMode bool, treeLines []string, ...) error
- func RenderSnapshotShowHuman(w io.Writer, item snapshot.Snapshot, files []snapshot.SnapshotFileEntry, ...) error
- func SnapshotDeleteWarnings(preview *snapshot.DeleteLineagePreview) []map[string]any
- type HumanRenderer
- type InspectResult
- type JSONRenderer
- type Renderer
- type SimulateStoreReport
- type SimulationResult
- type StatsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSnapshotDeleteDryRunOutput ¶
func FormatSnapshotDeleteDryRunOutput(snapshotID string, preview *snapshot.DeleteLineagePreview) string
func RenderSimulateStoreHuman ¶
func RenderSimulateStoreHuman(w io.Writer, r *SimulateStoreReport) error
func RenderSimulateStoreJSON ¶
func RenderSimulateStoreJSON(w io.Writer, r *SimulateStoreReport) error
func RenderSnapshotListHuman ¶
func RenderSnapshotShowHuman ¶
func SnapshotDeleteWarnings ¶
func SnapshotDeleteWarnings(preview *snapshot.DeleteLineagePreview) []map[string]any
Types ¶
type HumanRenderer ¶
type HumanRenderer struct{}
func (HumanRenderer) RenderInspect ¶
func (HumanRenderer) RenderInspect(w io.Writer, r *InspectResult) error
func (HumanRenderer) RenderSimulation ¶
func (HumanRenderer) RenderSimulation(w io.Writer, r *SimulationResult) error
func (HumanRenderer) RenderStats ¶
func (HumanRenderer) RenderStats(w io.Writer, r *StatsResult) error
type InspectResult ¶
type InspectResult = observability.InspectResult
type JSONRenderer ¶
type JSONRenderer struct{}
func (JSONRenderer) RenderInspect ¶
func (JSONRenderer) RenderInspect(w io.Writer, r *InspectResult) error
func (JSONRenderer) RenderSimulation ¶
func (JSONRenderer) RenderSimulation(w io.Writer, r *SimulationResult) error
func (JSONRenderer) RenderStats ¶
func (JSONRenderer) RenderStats(w io.Writer, r *StatsResult) error
type Renderer ¶
type Renderer interface {
RenderStats(io.Writer, *StatsResult) error
RenderInspect(io.Writer, *InspectResult) error
RenderSimulation(io.Writer, *SimulationResult) error
}
type SimulateStoreReport ¶
type SimulateStoreReport = observability.SimulateStoreReport
SimulateStoreReport mirrors observability's read-only simulate-store report.
type SimulationResult ¶
type SimulationResult = observability.SimulationResult
func CloneSimulationResult ¶
func CloneSimulationResult(input *observability.SimulationResult) *SimulationResult
type StatsResult ¶
type StatsResult = observability.StatsResult
Click to show internal directories.
Click to hide internal directories.