inlocalstore

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 9 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 uint64
}

type PersistentExecutionStore

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

func NewPersistentExecutionStore

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

func (*PersistentExecutionStore) Close added in v1.0.4

func (proxy *PersistentExecutionStore) Close(ctx context.Context) error

func (*PersistentExecutionStore) CreateExecution

func (proxy *PersistentExecutionStore) CreateExecution(ctx context.Context, execution store.LocalExecutionState) 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

GetExecution implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutionCount

GetExecutionCount implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutionHistory

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

GetExecutionHistory implements store.ExecutionStore

func (*PersistentExecutionStore) GetExecutions

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

GetExecutions implements store.ExecutionStore

func (*PersistentExecutionStore) GetLiveExecutions added in v1.0.4

func (proxy *PersistentExecutionStore) GetLiveExecutions(ctx context.Context) ([]store.LocalExecutionState, error)

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