Documentation ¶
Overview ¶
Package joblog provides an interface for reading and writing job logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // Create saves a JL to the db. Create(requestId string, jl proto.JobLog) (proto.JobLog, error) // Get gets a single JL. Get(requestId string, jobId string) (proto.JobLog, error) // GetFull gets all of the JLs for a request. GetFull(requestId string) ([]proto.JobLog, error) }
A Store reads and writes job logs to/from a persistent datastore.
Click to show internal directories.
Click to hide internal directories.