overview

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	RunCount    uint64
	ReportCount uint64
	Active      []workspace.RunProjection
}

type Catalog

type Catalog interface {
	Counts(context.Context) (catalog.Counts, error)
}

type Repository

type Repository interface {
	reporting.QuickPerformanceCatalog
	OverviewActivity(context.Context) (Activity, error)
	ListRecentReportProjections(context.Context, int) ([]reporting.ReportProjection, error)
	ListRecentQuickPerformanceSummaries(context.Context, int) ([]quicktest.PerformanceArchiveSummary, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(repository Repository, catalog Catalog) Service

func (Service) Snapshot

func (service Service) Snapshot(ctx context.Context) (Snapshot, error)

type Snapshot

type Snapshot struct {
	SchemaVersion int                `json:"schema_version"`
	Catalog       catalog.Counts     `json:"catalog"`
	RunCount      uint64             `json:"run_count"`
	ReportCount   uint64             `json:"report_count"`
	Workspace     workspace.Snapshot `json:"workspace"`
	Reports       reporting.Snapshot `json:"reports"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL