inmemory

package
v0.3.24 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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

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