Documentation ¶
Index ¶
- type JobStats
- type PersistentExecutionStore
- func (proxy *PersistentExecutionStore) Close(ctx context.Context) error
- func (proxy *PersistentExecutionStore) CreateExecution(ctx context.Context, execution store.LocalExecutionState) error
- func (proxy *PersistentExecutionStore) DeleteExecution(ctx context.Context, id string) error
- func (proxy *PersistentExecutionStore) GetExecution(ctx context.Context, id string) (store.LocalExecutionState, error)
- func (proxy *PersistentExecutionStore) GetExecutionCount(ctx context.Context, _ store.LocalExecutionStateType) (uint64, error)
- func (proxy *PersistentExecutionStore) GetExecutionHistory(ctx context.Context, id string) ([]store.LocalStateHistory, error)
- func (proxy *PersistentExecutionStore) GetExecutions(ctx context.Context, sharedID string) ([]store.LocalExecutionState, error)
- func (proxy *PersistentExecutionStore) GetLiveExecutions(ctx context.Context) ([]store.LocalExecutionState, error)
- func (proxy *PersistentExecutionStore) UpdateExecutionState(ctx context.Context, request store.UpdateExecutionStateRequest) error
- type PersistentJobStoreParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
func (proxy *PersistentExecutionStore) GetExecution(ctx context.Context, id string) (store.LocalExecutionState, error)
GetExecution implements store.ExecutionStore
func (*PersistentExecutionStore) GetExecutionCount ¶
func (proxy *PersistentExecutionStore) GetExecutionCount(ctx context.Context, _ store.LocalExecutionStateType) (uint64, error)
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 }
Click to show internal directories.
Click to hide internal directories.