inmemory

package
v0.3.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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
}

func NewStore

func NewStore() *Store

func (*Store) CreateExecution

func (s *Store) CreateExecution(ctx context.Context, execution store.Execution) error

func (*Store) DeleteExecution

func (s *Store) DeleteExecution(ctx context.Context, id string) error

func (*Store) GetExecution

func (s *Store) GetExecution(ctx context.Context, id string) (store.Execution, error)

func (*Store) GetExecutionCount added in v0.3.24

func (s *Store) GetExecutionCount(ctx context.Context) (uint, error)

func (*Store) GetExecutionHistory

func (s *Store) GetExecutionHistory(ctx context.Context, id string) ([]store.ExecutionHistory, error)

func (*Store) GetExecutions

func (s *Store) GetExecutions(ctx context.Context, jobID string) ([]store.Execution, error)

func (*Store) UpdateExecutionState

func (s *Store) UpdateExecutionState(ctx context.Context, request store.UpdateExecutionStateRequest) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL