Documentation ¶
Index ¶
- type APIToken
- type Action
- type ActionToWorker
- type AddStepParentsParams
- type AddWorkflowTagParams
- type ArchiveStepRunResultFromStepRunParams
- type ConcurrencyLimitStrategy
- type CountEventsParams
- type CountLogLinesParams
- type CountWorkflowRunsParams
- type CountWorkflowsParams
- type CreateEventParams
- type CreateGetGroupKeyRunParams
- type CreateJobParams
- type CreateJobRunLookupDataParams
- type CreateJobRunParams
- type CreateLogLineParams
- type CreateStepParams
- type CreateStepRunParams
- type CreateWorkflowConcurrencyParams
- type CreateWorkflowParams
- type CreateWorkflowRunParams
- type CreateWorkflowRunTriggeredByParams
- type CreateWorkflowTriggerCronRefParams
- type CreateWorkflowTriggerEventRefParams
- type CreateWorkflowTriggerScheduledRefParams
- type CreateWorkflowTriggersParams
- type CreateWorkflowVersionParams
- type DBTX
- type Dispatcher
- type Event
- type GetEventsForRangeRow
- type GetGroupKeyRun
- type GetStepRunParams
- type GithubAppInstallation
- type GithubAppInstallationToGithubWebhook
- type GithubAppOAuth
- type GithubAppOAuthToUser
- type GithubPullRequest
- type GithubPullRequestComment
- type GithubPullRequestToWorkflowRun
- type GithubWebhook
- type InviteLinkStatus
- type Job
- type JobRun
- type JobRunLookupData
- type JobRunStatus
- type ListActiveDispatchersRow
- type ListActiveTickersRow
- type ListDispatchersRow
- type ListEventsParams
- type ListEventsRow
- type ListLogLinesParams
- type ListNewlyStaleTickersRow
- type ListStaleDispatchersRow
- type ListStartableStepRunsParams
- type ListTickersRow
- type ListWorkersWithStepCountParams
- type ListWorkersWithStepCountRow
- type ListWorkflowRunsParams
- type ListWorkflowRunsRow
- type ListWorkflowsLatestRunsParams
- type ListWorkflowsLatestRunsRow
- type ListWorkflowsParams
- type ListWorkflowsRow
- type LogLine
- type LogLineLevel
- type NullConcurrencyLimitStrategy
- type NullInviteLinkStatus
- type NullJobRunStatus
- type NullLogLineLevel
- type NullStepRunStatus
- type NullTenantMemberRole
- type NullVcsProvider
- type NullWorkerStatus
- type NullWorkflowRunStatus
- type PopWorkflowRunsRoundRobinParams
- type Queries
- func (q *Queries) AddStepParents(ctx context.Context, db DBTX, arg AddStepParentsParams) error
- func (q *Queries) AddWorkflowTag(ctx context.Context, db DBTX, arg AddWorkflowTagParams) error
- func (q *Queries) ArchiveStepRunResultFromStepRun(ctx context.Context, db DBTX, arg ArchiveStepRunResultFromStepRunParams) (*StepRunResultArchive, error)
- func (q *Queries) CountEvents(ctx context.Context, db DBTX, arg CountEventsParams) (int64, error)
- func (q *Queries) CountLogLines(ctx context.Context, db DBTX, arg CountLogLinesParams) (int64, error)
- func (q *Queries) CountWorkflowRuns(ctx context.Context, db DBTX, arg CountWorkflowRunsParams) (int64, error)
- func (q *Queries) CountWorkflows(ctx context.Context, db DBTX, arg CountWorkflowsParams) (int64, error)
- func (q *Queries) CreateEvent(ctx context.Context, db DBTX, arg CreateEventParams) (*Event, error)
- func (q *Queries) CreateGetGroupKeyRun(ctx context.Context, db DBTX, arg CreateGetGroupKeyRunParams) (*GetGroupKeyRun, error)
- func (q *Queries) CreateJob(ctx context.Context, db DBTX, arg CreateJobParams) (*Job, error)
- func (q *Queries) CreateJobRun(ctx context.Context, db DBTX, arg CreateJobRunParams) (*JobRun, error)
- func (q *Queries) CreateJobRunLookupData(ctx context.Context, db DBTX, arg CreateJobRunLookupDataParams) (*JobRunLookupData, error)
- func (q *Queries) CreateLogLine(ctx context.Context, db DBTX, arg CreateLogLineParams) (*LogLine, error)
- func (q *Queries) CreateStep(ctx context.Context, db DBTX, arg CreateStepParams) (*Step, error)
- func (q *Queries) CreateStepRun(ctx context.Context, db DBTX, arg CreateStepRunParams) (*StepRun, error)
- func (q *Queries) CreateWorkflow(ctx context.Context, db DBTX, arg CreateWorkflowParams) (*Workflow, error)
- func (q *Queries) CreateWorkflowConcurrency(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyParams) (*WorkflowConcurrency, error)
- func (q *Queries) CreateWorkflowRun(ctx context.Context, db DBTX, arg CreateWorkflowRunParams) (*WorkflowRun, error)
- func (q *Queries) CreateWorkflowRunTriggeredBy(ctx context.Context, db DBTX, arg CreateWorkflowRunTriggeredByParams) (*WorkflowRunTriggeredBy, error)
- func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
- func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
- func (q *Queries) CreateWorkflowTriggerScheduledRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerScheduledRefParams) (*WorkflowTriggerScheduledRef, error)
- func (q *Queries) CreateWorkflowTriggers(ctx context.Context, db DBTX, arg CreateWorkflowTriggersParams) (*WorkflowTriggers, error)
- func (q *Queries) CreateWorkflowVersion(ctx context.Context, db DBTX, arg CreateWorkflowVersionParams) (*WorkflowVersion, error)
- func (q *Queries) GetEventsForRange(ctx context.Context, db DBTX) ([]*GetEventsForRangeRow, error)
- func (q *Queries) GetStepRun(ctx context.Context, db DBTX, arg GetStepRunParams) (*StepRun, error)
- func (q *Queries) Health(ctx context.Context, db DBTX) ([]pgtype.UUID, error)
- func (q *Queries) LinkStepRunParents(ctx context.Context, db DBTX, jobrunid pgtype.UUID) error
- func (q *Queries) ListActiveDispatchers(ctx context.Context, db DBTX) ([]*ListActiveDispatchersRow, error)
- func (q *Queries) ListActiveTickers(ctx context.Context, db DBTX) ([]*ListActiveTickersRow, error)
- func (q *Queries) ListDispatchers(ctx context.Context, db DBTX) ([]*ListDispatchersRow, error)
- func (q *Queries) ListEvents(ctx context.Context, db DBTX, arg ListEventsParams) ([]*ListEventsRow, error)
- func (q *Queries) ListGetGroupKeyRunsToRequeue(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*GetGroupKeyRun, error)
- func (q *Queries) ListLogLines(ctx context.Context, db DBTX, arg ListLogLinesParams) ([]*LogLine, error)
- func (q *Queries) ListNewlyStaleTickers(ctx context.Context, db DBTX) ([]*ListNewlyStaleTickersRow, error)
- func (q *Queries) ListStaleDispatchers(ctx context.Context, db DBTX) ([]*ListStaleDispatchersRow, error)
- func (q *Queries) ListStartableStepRuns(ctx context.Context, db DBTX, arg ListStartableStepRunsParams) ([]*StepRun, error)
- func (q *Queries) ListStepRunsToReassign(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*StepRun, error)
- func (q *Queries) ListStepRunsToRequeue(ctx context.Context, db DBTX, tenantid pgtype.UUID) ([]*StepRun, error)
- func (q *Queries) ListTickers(ctx context.Context, db DBTX) ([]*ListTickersRow, error)
- func (q *Queries) ListWorkersWithStepCount(ctx context.Context, db DBTX, arg ListWorkersWithStepCountParams) ([]*ListWorkersWithStepCountRow, error)
- func (q *Queries) ListWorkflowRuns(ctx context.Context, db DBTX, arg ListWorkflowRunsParams) ([]*ListWorkflowRunsRow, error)
- func (q *Queries) ListWorkflows(ctx context.Context, db DBTX, arg ListWorkflowsParams) ([]*ListWorkflowsRow, error)
- func (q *Queries) ListWorkflowsLatestRuns(ctx context.Context, db DBTX, arg ListWorkflowsLatestRunsParams) ([]*ListWorkflowsLatestRunsRow, error)
- func (q *Queries) PopWorkflowRunsRoundRobin(ctx context.Context, db DBTX, arg PopWorkflowRunsRoundRobinParams) ([]*WorkflowRun, error)
- func (q *Queries) ResolveJobRunStatus(ctx context.Context, db DBTX, arg ResolveJobRunStatusParams) (*JobRun, error)
- func (q *Queries) ResolveLaterStepRuns(ctx context.Context, db DBTX, arg ResolveLaterStepRunsParams) ([]*StepRun, error)
- func (q *Queries) ResolveWorkflowRunStatus(ctx context.Context, db DBTX, arg ResolveWorkflowRunStatusParams) (*WorkflowRun, error)
- func (q *Queries) SetDispatchersInactive(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*SetDispatchersInactiveRow, error)
- func (q *Queries) SetTickersInactive(ctx context.Context, db DBTX, ids []pgtype.UUID) ([]*SetTickersInactiveRow, error)
- func (q *Queries) UpdateGetGroupKeyRun(ctx context.Context, db DBTX, arg UpdateGetGroupKeyRunParams) (*GetGroupKeyRun, error)
- func (q *Queries) UpdateJobRunLookupDataWithStepRun(ctx context.Context, db DBTX, arg UpdateJobRunLookupDataWithStepRunParams) error
- func (q *Queries) UpdateManyWorkflowRun(ctx context.Context, db DBTX, arg UpdateManyWorkflowRunParams) ([]*WorkflowRun, error)
- func (q *Queries) UpdateStepRun(ctx context.Context, db DBTX, arg UpdateStepRunParams) (*StepRun, error)
- func (q *Queries) UpdateStepRunInputSchema(ctx context.Context, db DBTX, arg UpdateStepRunInputSchemaParams) ([]byte, error)
- func (q *Queries) UpdateStepRunOverridesData(ctx context.Context, db DBTX, arg UpdateStepRunOverridesDataParams) ([]byte, error)
- func (q *Queries) UpdateWorkflowRun(ctx context.Context, db DBTX, arg UpdateWorkflowRunParams) (*WorkflowRun, error)
- func (q *Queries) UpdateWorkflowRunGroupKey(ctx context.Context, db DBTX, arg UpdateWorkflowRunGroupKeyParams) (*WorkflowRun, error)
- func (q *Queries) UpsertAction(ctx context.Context, db DBTX, arg UpsertActionParams) (*Action, error)
- func (q *Queries) UpsertJobRunLookupData(ctx context.Context, db DBTX, arg UpsertJobRunLookupDataParams) error
- func (q *Queries) UpsertWorkflowTag(ctx context.Context, db DBTX, arg UpsertWorkflowTagParams) error
- type ResolveJobRunStatusParams
- type ResolveLaterStepRunsParams
- type ResolveWorkflowRunStatusParams
- type Service
- type ServiceToWorker
- type SetDispatchersInactiveRow
- type SetTickersInactiveRow
- type Step
- type StepOrder
- type StepRun
- type StepRunOrder
- type StepRunResultArchive
- type StepRunStatus
- type Tenant
- type TenantInviteLink
- type TenantMember
- type TenantMemberRole
- type TenantVcsProvider
- type Ticker
- type UpdateGetGroupKeyRunParams
- type UpdateJobRunLookupDataWithStepRunParams
- type UpdateManyWorkflowRunParams
- type UpdateStepRunInputSchemaParams
- type UpdateStepRunOverridesDataParams
- type UpdateStepRunParams
- type UpdateWorkflowRunGroupKeyParams
- type UpdateWorkflowRunParams
- type UpsertActionParams
- type UpsertJobRunLookupDataParams
- type UpsertWorkflowTagParams
- type User
- type UserOAuth
- type UserPassword
- type UserSession
- type VcsProvider
- type Worker
- type WorkerStatus
- type Workflow
- type WorkflowConcurrency
- type WorkflowDeploymentConfig
- type WorkflowRun
- type WorkflowRunStatus
- type WorkflowRunTriggeredBy
- type WorkflowTag
- type WorkflowToWorkflowTag
- type WorkflowTriggerCronRef
- type WorkflowTriggerEventRef
- type WorkflowTriggerScheduledRef
- type WorkflowTriggers
- type WorkflowVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionToWorker ¶
type AddStepParentsParams ¶
type AddWorkflowTagParams ¶
type ArchiveStepRunResultFromStepRunParams ¶ added in v0.11.0
type ConcurrencyLimitStrategy ¶ added in v0.8.0
type ConcurrencyLimitStrategy string
const ( ConcurrencyLimitStrategyCANCELINPROGRESS ConcurrencyLimitStrategy = "CANCEL_IN_PROGRESS" ConcurrencyLimitStrategyDROPNEWEST ConcurrencyLimitStrategy = "DROP_NEWEST" ConcurrencyLimitStrategyQUEUENEWEST ConcurrencyLimitStrategy = "QUEUE_NEWEST" ConcurrencyLimitStrategyGROUPROUNDROBIN ConcurrencyLimitStrategy = "GROUP_ROUND_ROBIN" )
func (*ConcurrencyLimitStrategy) Scan ¶ added in v0.8.0
func (e *ConcurrencyLimitStrategy) Scan(src interface{}) error
type CountEventsParams ¶
type CountLogLinesParams ¶ added in v0.14.0
type CountWorkflowRunsParams ¶
type CountWorkflowsParams ¶
type CreateEventParams ¶
type CreateEventParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Key string `json:"key"` Tenantid pgtype.UUID `json:"tenantid"` ReplayedFromId pgtype.UUID `json:"replayedFromId"` Data []byte `json:"data"` }
type CreateGetGroupKeyRunParams ¶ added in v0.8.0
type CreateJobParams ¶
type CreateJobParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Tenantid pgtype.UUID `json:"tenantid"` Workflowversionid pgtype.UUID `json:"workflowversionid"` Name string `json:"name"` Description string `json:"description"` Timeout string `json:"timeout"` }
type CreateJobRunParams ¶
type CreateLogLineParams ¶ added in v0.14.0
type CreateStepParams ¶
type CreateStepParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Readableid string `json:"readableid"` Tenantid pgtype.UUID `json:"tenantid"` Jobid pgtype.UUID `json:"jobid"` Actionid string `json:"actionid"` Timeout string `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries pgtype.Int4 `json:"retries"` ScheduleTimeout pgtype.Text `json:"scheduleTimeout"` }
type CreateStepRunParams ¶
type CreateWorkflowConcurrencyParams ¶ added in v0.8.0
type CreateWorkflowConcurrencyParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Workflowversionid pgtype.UUID `json:"workflowversionid"` Getconcurrencygroupid pgtype.UUID `json:"getconcurrencygroupid"` MaxRuns pgtype.Int4 `json:"maxRuns"` LimitStrategy NullConcurrencyLimitStrategy `json:"limitStrategy"` }
type CreateWorkflowParams ¶
type CreateWorkflowParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Tenantid pgtype.UUID `json:"tenantid"` Name string `json:"name"` Description string `json:"description"` }
type CreateWorkflowRunParams ¶
type CreateWorkflowVersionParams ¶
type CreateWorkflowVersionParams struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` Deletedat pgtype.Timestamp `json:"deletedat"` Checksum string `json:"checksum"` Version pgtype.Text `json:"version"` Workflowid pgtype.UUID `json:"workflowid"` ScheduleTimeout pgtype.Text `json:"scheduleTimeout"` }
type Dispatcher ¶
type Event ¶
type Event struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` Key string `json:"key"` TenantId pgtype.UUID `json:"tenantId"` ReplayedFromId pgtype.UUID `json:"replayedFromId"` Data []byte `json:"data"` }
type GetEventsForRangeRow ¶
type GetGroupKeyRun ¶ added in v0.8.0
type GetGroupKeyRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkerId pgtype.UUID `json:"workerId"` TickerId pgtype.UUID `json:"tickerId"` Status StepRunStatus `json:"status"` Input []byte `json:"input"` Output pgtype.Text `json:"output"` RequeueAfter pgtype.Timestamp `json:"requeueAfter"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` }
type GetStepRunParams ¶
type GithubAppInstallation ¶ added in v0.11.0
type GithubAppInstallation struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` GithubAppOAuthId pgtype.UUID `json:"githubAppOAuthId"` InstallationId int32 `json:"installationId"` AccountName string `json:"accountName"` AccountId int32 `json:"accountId"` AccountAvatarURL pgtype.Text `json:"accountAvatarURL"` InstallationSettingsURL pgtype.Text `json:"installationSettingsURL"` Config []byte `json:"config"` TenantId pgtype.UUID `json:"tenantId"` TenantVcsProviderId pgtype.UUID `json:"tenantVcsProviderId"` }
type GithubAppInstallationToGithubWebhook ¶ added in v0.11.0
type GithubAppOAuth ¶ added in v0.11.0
type GithubAppOAuth struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` GithubUserID int32 `json:"githubUserID"` AccessToken []byte `json:"accessToken"` RefreshToken []byte `json:"refreshToken"` ExpiresAt pgtype.Timestamp `json:"expiresAt"` }
type GithubAppOAuthToUser ¶ added in v0.11.0
type GithubPullRequest ¶ added in v0.11.0
type GithubPullRequest struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` RepositoryOwner string `json:"repositoryOwner"` RepositoryName string `json:"repositoryName"` PullRequestID int32 `json:"pullRequestID"` PullRequestTitle string `json:"pullRequestTitle"` PullRequestNumber int32 `json:"pullRequestNumber"` PullRequestHeadBranch string `json:"pullRequestHeadBranch"` PullRequestBaseBranch string `json:"pullRequestBaseBranch"` PullRequestState string `json:"pullRequestState"` }
type GithubPullRequestComment ¶ added in v0.11.0
type GithubPullRequestComment struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` PullRequestID pgtype.UUID `json:"pullRequestID"` ModuleID string `json:"moduleID"` CommentID int32 `json:"commentID"` }
type GithubPullRequestToWorkflowRun ¶ added in v0.11.0
type GithubWebhook ¶ added in v0.11.0
type GithubWebhook struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` RepositoryOwner string `json:"repositoryOwner"` RepositoryName string `json:"repositoryName"` SigningSecret []byte `json:"signingSecret"` }
type InviteLinkStatus ¶
type InviteLinkStatus string
const ( InviteLinkStatusPENDING InviteLinkStatus = "PENDING" InviteLinkStatusACCEPTED InviteLinkStatus = "ACCEPTED" InviteLinkStatusREJECTED InviteLinkStatus = "REJECTED" )
func (*InviteLinkStatus) Scan ¶
func (e *InviteLinkStatus) Scan(src interface{}) error
type Job ¶
type Job struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` Name string `json:"name"` Description pgtype.Text `json:"description"` Timeout pgtype.Text `json:"timeout"` }
type JobRun ¶
type JobRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` TickerId pgtype.UUID `json:"tickerId"` Status JobRunStatus `json:"status"` Result []byte `json:"result"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` WorkflowRunId pgtype.UUID `json:"workflowRunId"` }
type JobRunLookupData ¶
type JobRunLookupData struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` JobRunId pgtype.UUID `json:"jobRunId"` TenantId pgtype.UUID `json:"tenantId"` Data []byte `json:"data"` }
type JobRunStatus ¶
type JobRunStatus string
const ( JobRunStatusPENDING JobRunStatus = "PENDING" JobRunStatusRUNNING JobRunStatus = "RUNNING" JobRunStatusSUCCEEDED JobRunStatus = "SUCCEEDED" JobRunStatusFAILED JobRunStatus = "FAILED" JobRunStatusCANCELLED JobRunStatus = "CANCELLED" )
func (*JobRunStatus) Scan ¶
func (e *JobRunStatus) Scan(src interface{}) error
type ListActiveDispatchersRow ¶
type ListActiveDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListActiveTickersRow ¶
type ListActiveTickersRow struct {
Ticker Ticker `json:"ticker"`
}
type ListDispatchersRow ¶
type ListDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListEventsParams ¶
type ListEventsRow ¶
type ListLogLinesParams ¶ added in v0.14.0
type ListNewlyStaleTickersRow ¶
type ListNewlyStaleTickersRow struct {
Ticker Ticker `json:"ticker"`
}
type ListStaleDispatchersRow ¶
type ListStaleDispatchersRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type ListTickersRow ¶
type ListTickersRow struct {
Ticker Ticker `json:"ticker"`
}
type ListWorkersWithStepCountParams ¶ added in v0.12.0
type ListWorkersWithStepCountRow ¶ added in v0.12.0
type ListWorkflowRunsParams ¶
type ListWorkflowRunsParams struct { TenantId pgtype.UUID `json:"tenantId"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` WorkflowId pgtype.UUID `json:"workflowId"` EventId pgtype.UUID `json:"eventId"` GroupKey pgtype.Text `json:"groupKey"` Status NullWorkflowRunStatus `json:"status"` Orderby interface{} `json:"orderby"` Offset interface{} `json:"offset"` Limit interface{} `json:"limit"` }
type ListWorkflowRunsRow ¶
type ListWorkflowRunsRow struct { WorkflowRun WorkflowRun `json:"workflow_run"` Workflow Workflow `json:"workflow"` WorkflowRunTriggeredBy WorkflowRunTriggeredBy `json:"workflow_run_triggered_by"` WorkflowVersion WorkflowVersion `json:"workflow_version"` ID pgtype.UUID `json:"id"` Key pgtype.Text `json:"key"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` }
type ListWorkflowsLatestRunsRow ¶
type ListWorkflowsLatestRunsRow struct { WorkflowRun WorkflowRun `json:"workflow_run"` WorkflowId pgtype.UUID `json:"workflowId"` }
type ListWorkflowsParams ¶
type ListWorkflowsRow ¶
type ListWorkflowsRow struct {
Workflow Workflow `json:"workflow"`
}
type LogLineLevel ¶ added in v0.14.0
type LogLineLevel string
const ( LogLineLevelDEBUG LogLineLevel = "DEBUG" LogLineLevelINFO LogLineLevel = "INFO" LogLineLevelWARN LogLineLevel = "WARN" LogLineLevelERROR LogLineLevel = "ERROR" )
func (*LogLineLevel) Scan ¶ added in v0.14.0
func (e *LogLineLevel) Scan(src interface{}) error
type NullConcurrencyLimitStrategy ¶ added in v0.8.0
type NullConcurrencyLimitStrategy struct { ConcurrencyLimitStrategy ConcurrencyLimitStrategy `json:"ConcurrencyLimitStrategy"` Valid bool `json:"valid"` // Valid is true if ConcurrencyLimitStrategy is not NULL }
func (*NullConcurrencyLimitStrategy) Scan ¶ added in v0.8.0
func (ns *NullConcurrencyLimitStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullInviteLinkStatus ¶
type NullInviteLinkStatus struct { InviteLinkStatus InviteLinkStatus `json:"InviteLinkStatus"` Valid bool `json:"valid"` // Valid is true if InviteLinkStatus is not NULL }
func (*NullInviteLinkStatus) Scan ¶
func (ns *NullInviteLinkStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullJobRunStatus ¶
type NullJobRunStatus struct { JobRunStatus JobRunStatus `json:"JobRunStatus"` Valid bool `json:"valid"` // Valid is true if JobRunStatus is not NULL }
func (*NullJobRunStatus) Scan ¶
func (ns *NullJobRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullLogLineLevel ¶ added in v0.14.0
type NullLogLineLevel struct { LogLineLevel LogLineLevel `json:"LogLineLevel"` Valid bool `json:"valid"` // Valid is true if LogLineLevel is not NULL }
func (*NullLogLineLevel) Scan ¶ added in v0.14.0
func (ns *NullLogLineLevel) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullStepRunStatus ¶
type NullStepRunStatus struct { StepRunStatus StepRunStatus `json:"StepRunStatus"` Valid bool `json:"valid"` // Valid is true if StepRunStatus is not NULL }
func (*NullStepRunStatus) Scan ¶
func (ns *NullStepRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullTenantMemberRole ¶
type NullTenantMemberRole struct { TenantMemberRole TenantMemberRole `json:"TenantMemberRole"` Valid bool `json:"valid"` // Valid is true if TenantMemberRole is not NULL }
func (*NullTenantMemberRole) Scan ¶
func (ns *NullTenantMemberRole) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullVcsProvider ¶ added in v0.11.0
type NullVcsProvider struct { VcsProvider VcsProvider `json:"VcsProvider"` Valid bool `json:"valid"` // Valid is true if VcsProvider is not NULL }
func (*NullVcsProvider) Scan ¶ added in v0.11.0
func (ns *NullVcsProvider) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkerStatus ¶
type NullWorkerStatus struct { WorkerStatus WorkerStatus `json:"WorkerStatus"` Valid bool `json:"valid"` // Valid is true if WorkerStatus is not NULL }
func (*NullWorkerStatus) Scan ¶
func (ns *NullWorkerStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullWorkflowRunStatus ¶
type NullWorkflowRunStatus struct { WorkflowRunStatus WorkflowRunStatus `json:"WorkflowRunStatus"` Valid bool `json:"valid"` // Valid is true if WorkflowRunStatus is not NULL }
func (*NullWorkflowRunStatus) Scan ¶
func (ns *NullWorkflowRunStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type PopWorkflowRunsRoundRobinParams ¶ added in v0.12.0
type Queries ¶
type Queries struct { }
func (*Queries) AddStepParents ¶
func (*Queries) AddWorkflowTag ¶
func (*Queries) ArchiveStepRunResultFromStepRun ¶ added in v0.11.0
func (q *Queries) ArchiveStepRunResultFromStepRun(ctx context.Context, db DBTX, arg ArchiveStepRunResultFromStepRunParams) (*StepRunResultArchive, error)
func (*Queries) CountEvents ¶
func (*Queries) CountLogLines ¶ added in v0.14.0
func (*Queries) CountWorkflowRuns ¶
func (*Queries) CountWorkflows ¶
func (*Queries) CreateEvent ¶
func (*Queries) CreateGetGroupKeyRun ¶ added in v0.8.0
func (q *Queries) CreateGetGroupKeyRun(ctx context.Context, db DBTX, arg CreateGetGroupKeyRunParams) (*GetGroupKeyRun, error)
func (*Queries) CreateJobRun ¶
func (*Queries) CreateJobRunLookupData ¶
func (q *Queries) CreateJobRunLookupData(ctx context.Context, db DBTX, arg CreateJobRunLookupDataParams) (*JobRunLookupData, error)
func (*Queries) CreateLogLine ¶ added in v0.14.0
func (*Queries) CreateStep ¶
func (*Queries) CreateStepRun ¶
func (*Queries) CreateWorkflow ¶
func (*Queries) CreateWorkflowConcurrency ¶ added in v0.8.0
func (q *Queries) CreateWorkflowConcurrency(ctx context.Context, db DBTX, arg CreateWorkflowConcurrencyParams) (*WorkflowConcurrency, error)
func (*Queries) CreateWorkflowRun ¶
func (q *Queries) CreateWorkflowRun(ctx context.Context, db DBTX, arg CreateWorkflowRunParams) (*WorkflowRun, error)
func (*Queries) CreateWorkflowRunTriggeredBy ¶
func (q *Queries) CreateWorkflowRunTriggeredBy(ctx context.Context, db DBTX, arg CreateWorkflowRunTriggeredByParams) (*WorkflowRunTriggeredBy, error)
func (*Queries) CreateWorkflowTriggerCronRef ¶
func (q *Queries) CreateWorkflowTriggerCronRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerCronRefParams) (*WorkflowTriggerCronRef, error)
func (*Queries) CreateWorkflowTriggerEventRef ¶
func (q *Queries) CreateWorkflowTriggerEventRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerEventRefParams) (*WorkflowTriggerEventRef, error)
func (*Queries) CreateWorkflowTriggerScheduledRef ¶
func (q *Queries) CreateWorkflowTriggerScheduledRef(ctx context.Context, db DBTX, arg CreateWorkflowTriggerScheduledRefParams) (*WorkflowTriggerScheduledRef, error)
func (*Queries) CreateWorkflowTriggers ¶
func (q *Queries) CreateWorkflowTriggers(ctx context.Context, db DBTX, arg CreateWorkflowTriggersParams) (*WorkflowTriggers, error)
func (*Queries) CreateWorkflowVersion ¶
func (q *Queries) CreateWorkflowVersion(ctx context.Context, db DBTX, arg CreateWorkflowVersionParams) (*WorkflowVersion, error)
func (*Queries) GetEventsForRange ¶
func (*Queries) GetStepRun ¶
func (*Queries) LinkStepRunParents ¶
func (*Queries) ListActiveDispatchers ¶
func (*Queries) ListActiveTickers ¶
func (*Queries) ListDispatchers ¶
func (*Queries) ListEvents ¶
func (q *Queries) ListEvents(ctx context.Context, db DBTX, arg ListEventsParams) ([]*ListEventsRow, error)
func (*Queries) ListGetGroupKeyRunsToRequeue ¶ added in v0.13.2
func (*Queries) ListLogLines ¶ added in v0.14.0
func (*Queries) ListNewlyStaleTickers ¶
func (*Queries) ListStaleDispatchers ¶
func (*Queries) ListStartableStepRuns ¶
func (*Queries) ListStepRunsToReassign ¶ added in v0.14.2
func (*Queries) ListStepRunsToRequeue ¶ added in v0.13.0
func (*Queries) ListTickers ¶
func (*Queries) ListWorkersWithStepCount ¶ added in v0.12.0
func (q *Queries) ListWorkersWithStepCount(ctx context.Context, db DBTX, arg ListWorkersWithStepCountParams) ([]*ListWorkersWithStepCountRow, error)
func (*Queries) ListWorkflowRuns ¶
func (q *Queries) ListWorkflowRuns(ctx context.Context, db DBTX, arg ListWorkflowRunsParams) ([]*ListWorkflowRunsRow, error)
func (*Queries) ListWorkflows ¶
func (q *Queries) ListWorkflows(ctx context.Context, db DBTX, arg ListWorkflowsParams) ([]*ListWorkflowsRow, error)
func (*Queries) ListWorkflowsLatestRuns ¶
func (q *Queries) ListWorkflowsLatestRuns(ctx context.Context, db DBTX, arg ListWorkflowsLatestRunsParams) ([]*ListWorkflowsLatestRunsRow, error)
func (*Queries) PopWorkflowRunsRoundRobin ¶ added in v0.12.0
func (q *Queries) PopWorkflowRunsRoundRobin(ctx context.Context, db DBTX, arg PopWorkflowRunsRoundRobinParams) ([]*WorkflowRun, error)
func (*Queries) ResolveJobRunStatus ¶
func (*Queries) ResolveLaterStepRuns ¶
func (*Queries) ResolveWorkflowRunStatus ¶
func (q *Queries) ResolveWorkflowRunStatus(ctx context.Context, db DBTX, arg ResolveWorkflowRunStatusParams) (*WorkflowRun, error)
func (*Queries) SetDispatchersInactive ¶
func (*Queries) SetTickersInactive ¶
func (*Queries) UpdateGetGroupKeyRun ¶ added in v0.8.0
func (q *Queries) UpdateGetGroupKeyRun(ctx context.Context, db DBTX, arg UpdateGetGroupKeyRunParams) (*GetGroupKeyRun, error)
func (*Queries) UpdateJobRunLookupDataWithStepRun ¶
func (*Queries) UpdateManyWorkflowRun ¶ added in v0.12.0
func (q *Queries) UpdateManyWorkflowRun(ctx context.Context, db DBTX, arg UpdateManyWorkflowRunParams) ([]*WorkflowRun, error)
func (*Queries) UpdateStepRun ¶
func (*Queries) UpdateStepRunInputSchema ¶ added in v0.11.0
func (*Queries) UpdateStepRunOverridesData ¶ added in v0.11.0
func (*Queries) UpdateWorkflowRun ¶ added in v0.11.0
func (q *Queries) UpdateWorkflowRun(ctx context.Context, db DBTX, arg UpdateWorkflowRunParams) (*WorkflowRun, error)
func (*Queries) UpdateWorkflowRunGroupKey ¶ added in v0.8.0
func (q *Queries) UpdateWorkflowRunGroupKey(ctx context.Context, db DBTX, arg UpdateWorkflowRunGroupKeyParams) (*WorkflowRun, error)
func (*Queries) UpsertAction ¶
func (*Queries) UpsertJobRunLookupData ¶
func (*Queries) UpsertWorkflowTag ¶
type ServiceToWorker ¶
type SetDispatchersInactiveRow ¶
type SetDispatchersInactiveRow struct {
Dispatcher Dispatcher `json:"dispatcher"`
}
type SetTickersInactiveRow ¶
type SetTickersInactiveRow struct {
Ticker Ticker `json:"ticker"`
}
type Step ¶
type Step struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` ReadableId pgtype.Text `json:"readableId"` TenantId pgtype.UUID `json:"tenantId"` JobId pgtype.UUID `json:"jobId"` ActionId string `json:"actionId"` Timeout pgtype.Text `json:"timeout"` CustomUserData []byte `json:"customUserData"` Retries int32 `json:"retries"` ScheduleTimeout string `json:"scheduleTimeout"` }
type StepRun ¶
type StepRun struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` JobRunId pgtype.UUID `json:"jobRunId"` StepId pgtype.UUID `json:"stepId"` Order int64 `json:"order"` WorkerId pgtype.UUID `json:"workerId"` TickerId pgtype.UUID `json:"tickerId"` Status StepRunStatus `json:"status"` Input []byte `json:"input"` Output []byte `json:"output"` RequeueAfter pgtype.Timestamp `json:"requeueAfter"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` InputSchema []byte `json:"inputSchema"` CallerFiles []byte `json:"callerFiles"` GitRepoBranch pgtype.Text `json:"gitRepoBranch"` RetryCount int32 `json:"retryCount"` }
type StepRunResultArchive ¶ added in v0.11.0
type StepRunResultArchive struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` StepRunId pgtype.UUID `json:"stepRunId"` Order int64 `json:"order"` Input []byte `json:"input"` Output []byte `json:"output"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` TimeoutAt pgtype.Timestamp `json:"timeoutAt"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` CancelledError pgtype.Text `json:"cancelledError"` }
type StepRunStatus ¶
type StepRunStatus string
const ( StepRunStatusPENDING StepRunStatus = "PENDING" StepRunStatusPENDINGASSIGNMENT StepRunStatus = "PENDING_ASSIGNMENT" StepRunStatusASSIGNED StepRunStatus = "ASSIGNED" StepRunStatusRUNNING StepRunStatus = "RUNNING" StepRunStatusSUCCEEDED StepRunStatus = "SUCCEEDED" StepRunStatusFAILED StepRunStatus = "FAILED" StepRunStatusCANCELLED StepRunStatus = "CANCELLED" )
func (*StepRunStatus) Scan ¶
func (e *StepRunStatus) Scan(src interface{}) error
type TenantInviteLink ¶
type TenantInviteLink struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` TenantId pgtype.UUID `json:"tenantId"` InviterEmail string `json:"inviterEmail"` InviteeEmail string `json:"inviteeEmail"` Expires pgtype.Timestamp `json:"expires"` Status InviteLinkStatus `json:"status"` Role TenantMemberRole `json:"role"` }
type TenantMember ¶
type TenantMemberRole ¶
type TenantMemberRole string
const ( TenantMemberRoleOWNER TenantMemberRole = "OWNER" TenantMemberRoleADMIN TenantMemberRole = "ADMIN" TenantMemberRoleMEMBER TenantMemberRole = "MEMBER" )
func (*TenantMemberRole) Scan ¶
func (e *TenantMemberRole) Scan(src interface{}) error
type TenantVcsProvider ¶ added in v0.11.0
type TenantVcsProvider struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` VcsProvider VcsProvider `json:"vcsProvider"` Config []byte `json:"config"` }
type UpdateGetGroupKeyRunParams ¶ added in v0.8.0
type UpdateGetGroupKeyRunParams struct { RequeueAfter pgtype.Timestamp `json:"requeueAfter"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` Status NullStepRunStatus `json:"status"` Input []byte `json:"input"` Output pgtype.Text `json:"output"` Error pgtype.Text `json:"error"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` ID pgtype.UUID `json:"id"` Tenantid pgtype.UUID `json:"tenantid"` }
type UpdateManyWorkflowRunParams ¶ added in v0.12.0
type UpdateStepRunInputSchemaParams ¶ added in v0.11.0
type UpdateStepRunOverridesDataParams ¶ added in v0.11.0
type UpdateStepRunParams ¶
type UpdateStepRunParams struct { RequeueAfter pgtype.Timestamp `json:"requeueAfter"` ScheduleTimeoutAt pgtype.Timestamp `json:"scheduleTimeoutAt"` StartedAt pgtype.Timestamp `json:"startedAt"` Rerun pgtype.Bool `json:"rerun"` FinishedAt pgtype.Timestamp `json:"finishedAt"` Status NullStepRunStatus `json:"status"` Input []byte `json:"input"` Output []byte `json:"output"` Error pgtype.Text `json:"error"` CancelledAt pgtype.Timestamp `json:"cancelledAt"` CancelledReason pgtype.Text `json:"cancelledReason"` RetryCount pgtype.Int4 `json:"retryCount"` ID pgtype.UUID `json:"id"` Tenantid pgtype.UUID `json:"tenantid"` }
type UpdateWorkflowRunGroupKeyParams ¶ added in v0.8.0
type UpdateWorkflowRunParams ¶ added in v0.11.0
type UpsertActionParams ¶
type UpsertWorkflowTagParams ¶
type UserOAuth ¶
type UserOAuth struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` UserId pgtype.UUID `json:"userId"` Provider string `json:"provider"` ProviderUserId string `json:"providerUserId"` ExpiresAt pgtype.Timestamp `json:"expiresAt"` AccessToken []byte `json:"accessToken"` RefreshToken []byte `json:"refreshToken"` }
type UserPassword ¶
type UserSession ¶
type VcsProvider ¶ added in v0.11.0
type VcsProvider string
const (
VcsProviderGITHUB VcsProvider = "GITHUB"
)
func (*VcsProvider) Scan ¶ added in v0.11.0
func (e *VcsProvider) Scan(src interface{}) error
type Worker ¶
type Worker struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` LastHeartbeatAt pgtype.Timestamp `json:"lastHeartbeatAt"` Name string `json:"name"` Status WorkerStatus `json:"status"` DispatcherId pgtype.UUID `json:"dispatcherId"` MaxRuns pgtype.Int4 `json:"maxRuns"` }
type WorkerStatus ¶
type WorkerStatus string
const ( WorkerStatusACTIVE WorkerStatus = "ACTIVE" WorkerStatusINACTIVE WorkerStatus = "INACTIVE" )
func (*WorkerStatus) Scan ¶
func (e *WorkerStatus) Scan(src interface{}) error
type WorkflowConcurrency ¶ added in v0.8.0
type WorkflowConcurrency struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` GetConcurrencyGroupId pgtype.UUID `json:"getConcurrencyGroupId"` MaxRuns int32 `json:"maxRuns"` LimitStrategy ConcurrencyLimitStrategy `json:"limitStrategy"` }
type WorkflowDeploymentConfig ¶ added in v0.11.0
type WorkflowDeploymentConfig struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` WorkflowId pgtype.UUID `json:"workflowId"` GitRepoName string `json:"gitRepoName"` GitRepoOwner string `json:"gitRepoOwner"` GitRepoBranch string `json:"gitRepoBranch"` GithubAppInstallationId pgtype.UUID `json:"githubAppInstallationId"` }
type WorkflowRun ¶
type WorkflowRun struct { CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` WorkflowVersionId pgtype.UUID `json:"workflowVersionId"` Status WorkflowRunStatus `json:"status"` Error pgtype.Text `json:"error"` StartedAt pgtype.Timestamp `json:"startedAt"` FinishedAt pgtype.Timestamp `json:"finishedAt"` ConcurrencyGroupId pgtype.Text `json:"concurrencyGroupId"` DisplayName pgtype.Text `json:"displayName"` ID pgtype.UUID `json:"id"` GitRepoBranch pgtype.Text `json:"gitRepoBranch"` }
type WorkflowRunStatus ¶
type WorkflowRunStatus string
const ( WorkflowRunStatusPENDING WorkflowRunStatus = "PENDING" WorkflowRunStatusRUNNING WorkflowRunStatus = "RUNNING" WorkflowRunStatusSUCCEEDED WorkflowRunStatus = "SUCCEEDED" WorkflowRunStatusFAILED WorkflowRunStatus = "FAILED" WorkflowRunStatusQUEUED WorkflowRunStatus = "QUEUED" )
func (*WorkflowRunStatus) Scan ¶
func (e *WorkflowRunStatus) Scan(src interface{}) error
type WorkflowRunTriggeredBy ¶
type WorkflowRunTriggeredBy struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` TenantId pgtype.UUID `json:"tenantId"` EventId pgtype.UUID `json:"eventId"` CronParentId pgtype.UUID `json:"cronParentId"` CronSchedule pgtype.Text `json:"cronSchedule"` ScheduledId pgtype.UUID `json:"scheduledId"` Input []byte `json:"input"` ParentId pgtype.UUID `json:"parentId"` }
type WorkflowTag ¶
type WorkflowToWorkflowTag ¶
type WorkflowTriggerCronRef ¶
type WorkflowTriggerEventRef ¶
type WorkflowTriggers ¶
type WorkflowVersion ¶
type WorkflowVersion struct { ID pgtype.UUID `json:"id"` CreatedAt pgtype.Timestamp `json:"createdAt"` UpdatedAt pgtype.Timestamp `json:"updatedAt"` DeletedAt pgtype.Timestamp `json:"deletedAt"` Version pgtype.Text `json:"version"` Order int64 `json:"order"` WorkflowId pgtype.UUID `json:"workflowId"` Checksum string `json:"checksum"` ScheduleTimeout string `json:"scheduleTimeout"` }
Click to show internal directories.
Click to hide internal directories.