Documentation
¶
Overview ¶
Package recstore is the PostgreSQL store of managed-script recordings (internal/platform/scriptrec, migration 000166).
Index ¶
- type Store
- func (s *Store) Get(ctx context.Context, runID string) (*scriptrec.Stored, error)
- func (s *Store) Keep(ctx context.Context, scriptID, author string, runIDs []string) error
- func (s *Store) Purge(ctx context.Context, retention time.Duration) (int64, error)
- func (s *Store) Recent(ctx context.Context, scriptID string, limit int) ([]scriptrec.Stored, error)
- func (s *Store) Save(ctx context.Context, rec scriptrec.Stored) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store keeps recordings in script_recordings.
Click to show internal directories.
Click to hide internal directories.