package
0.0.0-20231018235809-90deddd72f8f
Repository: https://github.com/grailbio/reflow.git
Documentation: pkg.go.dev

# Packages

Package dynamodbtask implements the taskdb.TaskDB interface for AWS dynamodb backend.
No description provided by the author
No description provided by the author

# Functions

KeepIDAliveAndEnd keeps id alive in the task db until the provided context is canceled, and upon cancellation, updates the id with the end time.
KeepRunAlive keeps runID alive in the task db until the provided context is canceled.
KeepTaskAlive keeps taskID alive in the task db until the provided context is canceled.
NewImgCmdID returns an ImgCmdID created from an image and a cmd.
NewRunID produces a random RunID.
NewTaskID produces a random TaskID.

# Structs

Alloc is info stored in the taskdb for Allocs.
AllocQuery is the querying struct for TaskDB Allocs (and the Pool they belong to).
ClusterID is the identifier of a cluster.
Pool is the initial pool info with which a pool is started in taskdb.
PoolQuery is the querying struct for TaskDB Pools.
PoolRow is the pool row retrieved from taskdb.
Run is the run info stored in the taskdb.
RunQuery is the run-querying struct for TaskDB.Runs.
Task is the task info stored in the taskdb.
TaskQuery is the task-querying struct for TaskDB.Tasks.
TimeFields are various common fields found in all taskdb row types.

# Interfaces

MappingHandler is an interface for handling a mapping while scanning.
TaskDB is the interface to read/write run and task information to a run db.

# Type aliases

ImgCmdID describes the behavior of an exec.
Kind describes the kind of mapping.
MappingHandlerFunc is a convenience type to avoid having to declare a struct to implement the MappingHandler interface.
RunID is a unique identifier for a run.
TaskID is a unique identifier for a task.