transformers

package
v0.3.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToEvent

func ToEvent(event *db.EventModel) *gen.Event

func ToEventFromSQLC

func ToEventFromSQLC(eventRow *dbsqlc.ListEventsRow) *gen.Event

func ToJob

func ToJob(job *db.JobModel) (*gen.Job, error)

func ToJobRun

func ToJobRun(jobRun *db.JobRunModel) (*gen.JobRun, error)

func ToStep

func ToStep(step *db.StepModel) *gen.Step

func ToStepRun

func ToStepRun(stepRun *db.StepRunModel) (*gen.StepRun, error)

func ToTenant

func ToTenant(tenant *db.TenantModel) *gen.Tenant

func ToTenantMember

func ToTenantMember(tenantMember *db.TenantMemberModel) *gen.TenantMember

func ToUser

func ToUser(user *db.UserModel) *gen.User

func ToUserTenantPublic

func ToUserTenantPublic(user *db.UserModel) *gen.UserTenantPublic

func ToWorker

func ToWorker(worker *db.WorkerModel) *gen.Worker

func ToWorkflow

func ToWorkflow(workflow *db.WorkflowModel, lastRun *db.WorkflowRunModel) (*gen.Workflow, error)

func ToWorkflowFromSQLC

func ToWorkflowFromSQLC(row *dbsqlc.Workflow) *gen.Workflow

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL