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)
}
Client persists reporting export jobs and artifacts.
Click to show internal directories.
Click to hide internal directories.