Documentation ¶
Index ¶
- type ApproveTaskParams
- type CreateScheduleParams
- type CreateTaskLogParams
- type CreateTaskParams
- type CreateWorkflowParams
- type DBTX
- type FailUnfinishedTasksParams
- type PGDBTX
- type Queries
- func (q *Queries) ApproveTask(ctx context.Context, arg ApproveTaskParams) (Task, error)
- func (q *Queries) ClearWorkflowSchedule(ctx context.Context, dollar_1 int32) ([]uuid.UUID, error)
- func (q *Queries) CreateSchedule(ctx context.Context, arg CreateScheduleParams) (Schedule, error)
- func (q *Queries) CreateTask(ctx context.Context, arg CreateTaskParams) (Task, error)
- func (q *Queries) CreateTaskLog(ctx context.Context, arg CreateTaskLogParams) (TaskLog, error)
- func (q *Queries) CreateWorkflow(ctx context.Context, arg CreateWorkflowParams) (Workflow, error)
- func (q *Queries) DeleteSchedule(ctx context.Context, id int32) (Schedule, error)
- func (q *Queries) FailUnfinishedTasks(ctx context.Context, arg FailUnfinishedTasksParams) error
- func (q *Queries) Schedules(ctx context.Context) ([]Schedule, error)
- func (q *Queries) SchedulesLastRun(ctx context.Context) ([]SchedulesLastRunRow, error)
- func (q *Queries) Task(ctx context.Context, arg TaskParams) (Task, error)
- func (q *Queries) TaskLogs(ctx context.Context) ([]TaskLog, error)
- func (q *Queries) TaskLogsForTask(ctx context.Context, arg TaskLogsForTaskParams) ([]TaskLog, error)
- func (q *Queries) TaskLogsForWorkflow(ctx context.Context, workflowID uuid.UUID) ([]TaskLog, error)
- func (q *Queries) Tasks(ctx context.Context) ([]TasksRow, error)
- func (q *Queries) TasksForWorkflow(ctx context.Context, workflowID uuid.UUID) ([]Task, error)
- func (q *Queries) TasksForWorkflowSorted(ctx context.Context, workflowID uuid.UUID) ([]TasksForWorkflowSortedRow, error)
- func (q *Queries) UnfinishedWorkflows(ctx context.Context) ([]Workflow, error)
- func (q *Queries) UpdateTaskReadyForApproval(ctx context.Context, arg UpdateTaskReadyForApprovalParams) (Task, error)
- func (q *Queries) UpsertTask(ctx context.Context, arg UpsertTaskParams) (Task, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- func (q *Queries) Workflow(ctx context.Context, id uuid.UUID) (Workflow, error)
- func (q *Queries) WorkflowCount(ctx context.Context) (int64, error)
- func (q *Queries) WorkflowFinished(ctx context.Context, arg WorkflowFinishedParams) (Workflow, error)
- func (q *Queries) WorkflowNames(ctx context.Context) ([]string, error)
- func (q *Queries) WorkflowSidebar(ctx context.Context) ([]WorkflowSidebarRow, error)
- func (q *Queries) Workflows(ctx context.Context) ([]Workflow, error)
- func (q *Queries) WorkflowsByName(ctx context.Context, name sql.NullString) ([]Workflow, error)
- func (q *Queries) WorkflowsByNames(ctx context.Context, names []string) ([]Workflow, error)
- type Schedule
- type SchedulesLastRunRow
- type Task
- type TaskLog
- type TaskLogsForTaskParams
- type TaskParams
- type TasksForWorkflowSortedRow
- type TasksRow
- type UpdateTaskReadyForApprovalParams
- type UpsertTaskParams
- type Workflow
- type WorkflowFinishedParams
- type WorkflowSidebarRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveTaskParams ¶
type CreateScheduleParams ¶
type CreateTaskLogParams ¶
type CreateTaskParams ¶
type CreateWorkflowParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ApproveTask ¶
func (*Queries) ClearWorkflowSchedule ¶
func (*Queries) CreateSchedule ¶
func (*Queries) CreateTask ¶
func (*Queries) CreateTaskLog ¶
func (*Queries) CreateWorkflow ¶
func (*Queries) DeleteSchedule ¶
func (*Queries) FailUnfinishedTasks ¶
func (q *Queries) FailUnfinishedTasks(ctx context.Context, arg FailUnfinishedTasksParams) error
func (*Queries) SchedulesLastRun ¶
func (q *Queries) SchedulesLastRun(ctx context.Context) ([]SchedulesLastRunRow, error)
func (*Queries) TaskLogsForTask ¶
func (*Queries) TaskLogsForWorkflow ¶
func (*Queries) TasksForWorkflow ¶
func (*Queries) TasksForWorkflowSorted ¶
func (*Queries) UnfinishedWorkflows ¶
func (*Queries) UpdateTaskReadyForApproval ¶
func (*Queries) UpsertTask ¶
func (*Queries) WorkflowFinished ¶
func (*Queries) WorkflowNames ¶
func (*Queries) WorkflowSidebar ¶
func (q *Queries) WorkflowSidebar(ctx context.Context) ([]WorkflowSidebarRow, error)
func (*Queries) Workflows ¶
Copyright 2021 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
func (*Queries) WorkflowsByName ¶
type SchedulesLastRunRow ¶
type TaskLogsForTaskParams ¶
type TaskParams ¶
type UpsertTaskParams ¶
type WorkflowFinishedParams ¶
type WorkflowSidebarRow ¶
type WorkflowSidebarRow struct { Name sql.NullString Count int64 }
Click to show internal directories.
Click to hide internal directories.