Documentation ¶
Index ¶
- type MapRepository
- func (r *MapRepository) Get(ctx context.Context, id string) (testkube.Execution, error)
- func (r *MapRepository) Insert(ctx context.Context, result testkube.Execution) error
- func (r *MapRepository) QueuePull(ctx context.Context) (testkube.Execution, error)
- func (r *MapRepository) Update(ctx context.Context, result testkube.Execution) error
- func (r *MapRepository) UpdateResult(ctx context.Context, id string, result testkube.ExecutionResult) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapRepository ¶
type MapRepository struct {
// contains filtered or unexported fields
}
func NewMapRepository ¶
func NewMapRepository() *MapRepository
NewMapRepository creates a MapRepository
func (*MapRepository) QueuePull ¶
QueuePull pulls from queue and locks other clients to read (changes state from queued->pending)
func (*MapRepository) UpdateResult ¶
func (r *MapRepository) UpdateResult(ctx context.Context, id string, result testkube.ExecutionResult) error
Update updates execution result
Click to show internal directories.
Click to hide internal directories.