reporting

package
v0.1.16 Latest Latest
Warning

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

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

Documentation

Overview

Package reporting provides persistence seams for reporting export jobs, downloadable artifacts, and shared reporting artifacts such as saved views and published snapshots.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAlreadyExists indicates a storage collision on a reporting job or artifact ID.
	ErrAlreadyExists = errors.New("reporting store: already exists")
)

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateJob(ctx context.Context, job *reportjob.Record) error
	GetJob(ctx context.Context, jobID string) (*reportjob.Record, error)
	ListJobs(ctx context.Context) ([]*reportjob.Record, error)
	UpdateJob(ctx context.Context, job *reportjob.Record) error
	PutArtifact(ctx context.Context, artifact *reportartifact.Record) error
	GetArtifact(ctx context.Context, artifactID string) (*reportartifact.Record, error)
	ListArtifacts(ctx context.Context) ([]*reportartifact.Record, error)
	CreateSharedArtifact(ctx context.Context, artifact *reportshareartifact.Record) error
	GetSharedArtifact(ctx context.Context, artifactID string) (*reportshareartifact.Record, error)
	ListSharedArtifacts(ctx context.Context) ([]*reportshareartifact.Record, error)
	UpdateSharedArtifact(ctx context.Context, artifact *reportshareartifact.Record) error
}

Client persists reporting export jobs and artifacts.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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