inlocalstore

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobStats

type JobStats struct {
	JobsCompleted uint
}

type PersistentExecutionStore

type PersistentExecutionStore struct {
	// contains filtered or unexported fields
}

func NewPersistentExecutionStore

func NewPersistentExecutionStore(params PersistentJobStoreParams) (*PersistentExecutionStore, error)

func (*PersistentExecutionStore) CreateExecution

func (proxy *PersistentExecutionStore) CreateExecution(ctx context.Context, execution store.Execution) error

CreateExecution implements store.ExecutionStore

func (*PersistentExecutionStore) DeleteExecution

func (proxy *PersistentExecutionStore) DeleteExecution(ctx context.Context, id string) error

DeleteExecution implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecution

func (proxy *PersistentExecutionStore) GetExecution(ctx context.Context, id string) (store.Execution, error)

GetExecution implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutionCount

func (proxy *PersistentExecutionStore) GetExecutionCount(ctx context.Context) (uint, error)

GetExecutionCount implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutionHistory

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

GetExecutionHistory implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutions

func (proxy *PersistentExecutionStore) GetExecutions(ctx context.Context, sharedID string) ([]store.Execution, error)

GetExecutions implements store.ExecutionStore

func (*PersistentExecutionStore) UpdateExecutionState

func (proxy *PersistentExecutionStore) UpdateExecutionState(ctx context.Context, request store.UpdateExecutionStateRequest) error

UpdateExecutionState implements store.ExecutionStore

type PersistentJobStoreParams

type PersistentJobStoreParams struct {
	Store   store.ExecutionStore
	RootDir string
}

Jump to

Keyboard shortcuts

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