Documentation ¶
Index ¶
- func ToAPIToken(token *db.APITokenModel) *gen.APIToken
- func ToEvent(event *db.EventModel) *gen.Event
- func ToEventFromSQLC(eventRow *dbsqlc.ListEventsRow) *gen.Event
- func ToInstallation(gai *db.GithubAppInstallationModel) *gen.GithubAppInstallation
- func ToJob(job *db.JobModel) (*gen.Job, error)
- func ToJobRun(jobRun *db.JobRunModel) (*gen.JobRun, error)
- func ToLogFromSQLC(log *dbsqlc.LogLine) *gen.LogLine
- func ToPullRequest(pr *db.GithubPullRequestModel) *gen.PullRequest
- func ToStep(step *db.StepModel) *gen.Step
- func ToStepRun(stepRun *db.StepRunModel) (*gen.StepRun, error)
- func ToTenant(tenant *db.TenantModel) *gen.Tenant
- func ToTenantInviteLink(invite *db.TenantInviteLinkModel) *gen.TenantInvite
- func ToTenantMember(tenantMember *db.TenantMemberModel) *gen.TenantMember
- func ToUser(user *db.UserModel) *gen.User
- func ToUserTenantPublic(user *db.UserModel) *gen.UserTenantPublic
- func ToWorker(worker *db.WorkerModel) *gen.Worker
- func ToWorkerSqlc(worker *dbsqlc.Worker) *gen.Worker
- func ToWorkflow(workflow *db.WorkflowModel, lastRun *db.WorkflowRunModel) (*gen.Workflow, error)
- func ToWorkflowDeploymentConfig(deploymentConfig *db.WorkflowDeploymentConfigModel) (*gen.WorkflowDeploymentConfig, error)
- func ToWorkflowFromSQLC(row *dbsqlc.Workflow) *gen.Workflow
- func ToWorkflowRun(run *db.WorkflowRunModel) (*gen.WorkflowRun, error)
- func ToWorkflowRunFromSQLC(row *dbsqlc.ListWorkflowRunsRow) *gen.WorkflowRun
- func ToWorkflowRunTriggeredBy(triggeredBy *db.WorkflowRunTriggeredByModel) *gen.WorkflowRunTriggeredBy
- func ToWorkflowVersion(workflow *db.WorkflowModel, version *db.WorkflowVersionModel) (*gen.WorkflowVersion, error)
- func ToWorkflowVersionConcurrency(concurrency *db.WorkflowConcurrencyModel) (*gen.WorkflowConcurrency, error)
- func ToWorkflowVersionFromSQLC(row *dbsqlc.WorkflowVersion, workflow *gen.Workflow) *gen.WorkflowVersion
- func ToWorkflowVersionMeta(version *db.WorkflowVersionModel) *gen.WorkflowVersionMeta
- func ToWorkflowVersionMetaFromSQLC(row *dbsqlc.WorkflowVersion, workflow *gen.Workflow) *gen.WorkflowVersionMeta
- func ToWorkflowYAMLBytes(workflow *db.WorkflowModel, version *db.WorkflowVersionModel) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToAPIToken ¶ added in v0.7.0
func ToAPIToken(token *db.APITokenModel) *gen.APIToken
func ToEventFromSQLC ¶
func ToEventFromSQLC(eventRow *dbsqlc.ListEventsRow) *gen.Event
func ToInstallation ¶ added in v0.11.0
func ToInstallation(gai *db.GithubAppInstallationModel) *gen.GithubAppInstallation
func ToPullRequest ¶ added in v0.11.0
func ToPullRequest(pr *db.GithubPullRequestModel) *gen.PullRequest
func ToTenantInviteLink ¶
func ToTenantInviteLink(invite *db.TenantInviteLinkModel) *gen.TenantInvite
func ToTenantMember ¶
func ToTenantMember(tenantMember *db.TenantMemberModel) *gen.TenantMember
func ToUserTenantPublic ¶
func ToUserTenantPublic(user *db.UserModel) *gen.UserTenantPublic
func ToWorkflow ¶
func ToWorkflow(workflow *db.WorkflowModel, lastRun *db.WorkflowRunModel) (*gen.Workflow, error)
func ToWorkflowDeploymentConfig ¶ added in v0.11.0
func ToWorkflowDeploymentConfig(deploymentConfig *db.WorkflowDeploymentConfigModel) (*gen.WorkflowDeploymentConfig, error)
func ToWorkflowRun ¶
func ToWorkflowRun(run *db.WorkflowRunModel) (*gen.WorkflowRun, error)
func ToWorkflowRunFromSQLC ¶
func ToWorkflowRunFromSQLC(row *dbsqlc.ListWorkflowRunsRow) *gen.WorkflowRun
func ToWorkflowRunTriggeredBy ¶
func ToWorkflowRunTriggeredBy(triggeredBy *db.WorkflowRunTriggeredByModel) *gen.WorkflowRunTriggeredBy
func ToWorkflowVersion ¶
func ToWorkflowVersion(workflow *db.WorkflowModel, version *db.WorkflowVersionModel) (*gen.WorkflowVersion, error)
func ToWorkflowVersionConcurrency ¶ added in v0.15.1
func ToWorkflowVersionConcurrency(concurrency *db.WorkflowConcurrencyModel) (*gen.WorkflowConcurrency, error)
func ToWorkflowVersionFromSQLC ¶
func ToWorkflowVersionFromSQLC(row *dbsqlc.WorkflowVersion, workflow *gen.Workflow) *gen.WorkflowVersion
func ToWorkflowVersionMeta ¶
func ToWorkflowVersionMeta(version *db.WorkflowVersionModel) *gen.WorkflowVersionMeta
func ToWorkflowVersionMetaFromSQLC ¶
func ToWorkflowVersionMetaFromSQLC(row *dbsqlc.WorkflowVersion, workflow *gen.Workflow) *gen.WorkflowVersionMeta
func ToWorkflowYAMLBytes ¶
func ToWorkflowYAMLBytes(workflow *db.WorkflowModel, version *db.WorkflowVersionModel) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.