Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListFilter ¶
type ListFilter struct {
TenantID string
EnvironmentID string
WorkflowType string
TaskQueue string
PageSize int
Page int
}
ListFilter defines filters for listing workflow executions
type Repository ¶
type Repository interface {
Create(ctx context.Context, exec *ent.WorkflowExecution) error
Get(ctx context.Context, workflowID, runID string) (*ent.WorkflowExecution, error)
List(ctx context.Context, filter *ListFilter) ([]*ent.WorkflowExecution, int, error)
Delete(ctx context.Context, id string) error
}
Repository defines the interface for workflow execution data access
Click to show internal directories.
Click to hide internal directories.