Documentation ¶
Index ¶
- type BadgerStorage
- func (b *BadgerStorage) Close() error
- func (b *BadgerStorage) CommitTransaction(ctx context.Context) error
- func (b *BadgerStorage) DeleteScheduledRun(ctx context.Context, name string) error
- func (b *BadgerStorage) InsertScheduledRun(ctx context.Context, sr model.ScheduledRun) error
- func (b *BadgerStorage) InsertTestSuiteRun(ctx context.Context, tsr model.TestSuiteRun) (int, error)
- func (b *BadgerStorage) LoadPendingTestSuiteRuns(ctx context.Context) ([]model.TestSuiteRun, error)
- func (b *BadgerStorage) LoadTestSuiteRun(ctx context.Context, suiteName string, runID int) (model.TestSuiteRun, error)
- func (b *BadgerStorage) LoadTestSuiteRunsByName(ctx context.Context, suiteName string) ([]model.TestSuiteRun, error)
- func (b *BadgerStorage) RollbackTransaction(ctx context.Context)
- func (b *BadgerStorage) StartTransaction(ctx context.Context) (context.Context, error)
- func (b *BadgerStorage) UpdateTestSuiteRun(ctx context.Context, tsr model.TestSuiteRun) error
- type BadgerStorageContextKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerStorage ¶
type BadgerStorage struct {
// contains filtered or unexported fields
}
func NewBadgerStorage ¶
func (*BadgerStorage) Close ¶
func (b *BadgerStorage) Close() error
func (*BadgerStorage) CommitTransaction ¶
func (b *BadgerStorage) CommitTransaction(ctx context.Context) error
func (*BadgerStorage) DeleteScheduledRun ¶
func (b *BadgerStorage) DeleteScheduledRun(ctx context.Context, name string) error
func (*BadgerStorage) InsertScheduledRun ¶
func (b *BadgerStorage) InsertScheduledRun(ctx context.Context, sr model.ScheduledRun) error
func (*BadgerStorage) InsertTestSuiteRun ¶
func (b *BadgerStorage) InsertTestSuiteRun(ctx context.Context, tsr model.TestSuiteRun) (int, error)
func (*BadgerStorage) LoadPendingTestSuiteRuns ¶
func (b *BadgerStorage) LoadPendingTestSuiteRuns(ctx context.Context) ([]model.TestSuiteRun, error)
func (*BadgerStorage) LoadTestSuiteRun ¶
func (b *BadgerStorage) LoadTestSuiteRun(ctx context.Context, suiteName string, runID int) (model.TestSuiteRun, error)
func (*BadgerStorage) LoadTestSuiteRunsByName ¶
func (b *BadgerStorage) LoadTestSuiteRunsByName(ctx context.Context, suiteName string) ([]model.TestSuiteRun, error)
func (*BadgerStorage) RollbackTransaction ¶
func (b *BadgerStorage) RollbackTransaction(ctx context.Context)
func (*BadgerStorage) StartTransaction ¶
func (*BadgerStorage) UpdateTestSuiteRun ¶
func (b *BadgerStorage) UpdateTestSuiteRun(ctx context.Context, tsr model.TestSuiteRun) error
type BadgerStorageContextKey ¶
type BadgerStorageContextKey string
Click to show internal directories.
Click to hide internal directories.