transformers

package
v0.44.6-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 ToEvent

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

func ToEventFromSQLC

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

func ToJob

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

func ToJobRun

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

func ToLogFromSQLC added in v0.14.0

func ToLogFromSQLC(log *dbsqlc.LogLine) *gen.LogLine

func ToRecentStepRun added in v0.42.0

func ToRecentStepRun(stepRun *dbsqlc.GetStepRunForEngineRow) (*gen.RecentStepRuns, error)

func ToSNSIntegration added in v0.15.2

func ToSNSIntegration(sns *db.SNSIntegrationModel, serverUrl string) *gen.SNSIntegration

func ToSlackWebhook added in v0.25.0

func ToSlackWebhook(slack *db.SlackAppWebhookModel) *gen.SlackWebhook

func ToSlotState added in v0.42.0

func ToStep

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

func ToStepRun

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

func ToStepRunArchive added in v0.34.2

func ToStepRunArchive(stepRunArchive *dbsqlc.StepRunResultArchive) *gen.StepRunArchive

func ToStepRunEvent added in v0.26.0

func ToStepRunEvent(stepRunEvent *dbsqlc.StepRunEvent) *gen.StepRunEvent

func ToTenant

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

func ToTenantAlertEmailGroup added in v0.25.0

func ToTenantAlertEmailGroup(group *db.TenantAlertEmailGroupModel) *gen.TenantAlertEmailGroup

func ToTenantAlertingSettings added in v0.25.0

func ToTenantAlertingSettings(alerting *db.TenantAlertingSettingsModel) *gen.TenantAlertingSettings
func ToTenantInviteLink(invite *db.TenantInviteLinkModel) *gen.TenantInvite

func ToTenantMember

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

func ToTenantResourcePolicy added in v0.31.0

func ToTenantResourcePolicy(_limits []*dbsqlc.TenantResourceLimit) *gen.TenantResourcePolicy

func ToTenantSqlc added in v0.34.2

func ToTenantSqlc(tenant *dbsqlc.Tenant) *gen.Tenant

func ToUser

func ToUser(user *db.UserModel, hasPassword bool, hashedEmail *string) *gen.User

func ToUserTenantPublic

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

func ToWebhookWorker added in v0.34.0

func ToWebhookWorker(webhookWorker *dbsqlc.WebhookWorker) *gen.WebhookWorker

func ToWebhookWorkerCreated added in v0.34.0

func ToWebhookWorkerCreated(webhookWorker *dbsqlc.WebhookWorker) *gen.WebhookWorkerCreated

func ToWebhookWorkerRequest added in v0.42.13

func ToWebhookWorkerRequest(webhookWorker *dbsqlc.WebhookWorkerRequest) *gen.WebhookWorkerRequest

func ToWorker

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

func ToWorkerLabels added in v0.40.0

func ToWorkerLabels(labels []*dbsqlc.ListWorkerLabelsRow) *[]gen.WorkerLabel

func ToWorkerSqlc added in v0.12.0

func ToWorkerSqlc(worker *dbsqlc.Worker, remainingSlots *int, webhookUrl *string, actions []pgtype.Text) *gen.Worker

func ToWorkflow

func ToWorkflow(workflow *db.WorkflowModel) (*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 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.

Jump to

Keyboard shortcuts

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