{"modulePath":"github.com/chainloop-dev/chainloop","version":"v1.138.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package workflow\n\n## Constants\n\n```go\nconst (\n\t// Label holds the string label denoting the workflow type in the database.\n\tLabel = \"workflow\"\n\t// FieldID holds the string denoting the id field in the database.\n\tFieldID = \"id\"\n\t// FieldName holds the string denoting the name field in the database.\n\tFieldName = \"name\"\n\t// FieldProjectOld holds the string denoting the project_old field in the database.\n\tFieldProjectOld = \"project_old\"\n\t// FieldTeam holds the string denoting the team field in the database.\n\tFieldTeam = \"team\"\n\t// FieldRunsCount holds the string denoting the runs_count field in the database.\n\tFieldRunsCount = \"runs_count\"\n\t// FieldCreatedAt holds the string denoting the created_at field in the database.\n\tFieldCreatedAt = \"created_at\"\n\t// FieldUpdatedAt holds the string denoting the updated_at field in the database.\n\tFieldUpdatedAt = \"updated_at\"\n\t// FieldDeletedAt holds the string denoting the deleted_at field in the database.\n\tFieldDeletedAt = \"deleted_at\"\n\t// FieldPublic holds the string denoting the public field in the database.\n\tFieldPublic = \"public\"\n\t// FieldOrganizationID holds the string denoting the organization_id field in the database.\n\tFieldOrganizationID = \"organization_id\"\n\t// FieldProjectID holds the string denoting the project_id field in the database.\n\tFieldProjectID = \"project_id\"\n\t// FieldLatestRun holds the string denoting the latest_run field in the database.\n\tFieldLatestRun = \"latest_run\"\n\t// FieldDescription holds the string denoting the description field in the database.\n\tFieldDescription = \"description\"\n\t// FieldMetadata holds the string denoting the metadata field in the database.\n\tFieldMetadata = \"metadata\"\n\t// FieldWorkflowTemplateID holds the string denoting the workflow_template_id field in the database.\n\tFieldWorkflowTemplateID = \"workflow_template_id\"\n\t// EdgeRobotaccounts holds the string denoting the robotaccounts edge name in mutations.\n\tEdgeRobotaccounts = \"robotaccounts\"\n\t// EdgeWorkflowruns holds the string denoting the workflowruns edge name in mutations.\n\tEdgeWorkflowruns = \"workflowruns\"\n\t// EdgeOrganization holds the string denoting the organization edge name in mutations.\n\tEdgeOrganization = \"organization\"\n\t// EdgeContract holds the string denoting the contract edge name in mutations.\n\tEdgeContract = \"contract\"\n\t// EdgeIntegrationAttachments holds the string denoting the integration_attachments edge name in mutations.\n\tEdgeIntegrationAttachments = \"integration_attachments\"\n\t// EdgeProject holds the string denoting the project edge name in mutations.\n\tEdgeProject = \"project\"\n\t// EdgeLatestWorkflowRun holds the string denoting the latest_workflow_run edge name in mutations.\n\tEdgeLatestWorkflowRun = \"latest_workflow_run\"\n\t// EdgeReferrers holds the string denoting the referrers edge name in mutations.\n\tEdgeReferrers = \"referrers\"\n\t// Table holds the table name of the workflow in the database.\n\tTable = \"workflows\"\n\t// RobotaccountsTable is the table that holds the robotaccounts relation/edge.\n\tRobotaccountsTable = \"robot_accounts\"\n\t// RobotaccountsInverseTable is the table name for the RobotAccount entity.\n\t// It exists in this package in order to avoid circular dependency with the \"robotaccount\" package.\n\tRobotaccountsInverseTable = \"robot_accounts\"\n\t// RobotaccountsColumn is the table column denoting the robotaccounts relation/edge.\n\tRobotaccountsColumn = \"workflow_robotaccounts\"\n\t// WorkflowrunsTable is the table that holds the workflowruns relation/edge.\n\tWorkflowrunsTable = \"workflow_runs\"\n\t// WorkflowrunsInverseTable is the table name for the WorkflowRun entity.\n\t// It exists in this package in order to avoid circular dependency with the \"workflowrun\" package.\n\tWorkflowrunsInverseTable = \"workflow_runs\"\n\t// WorkflowrunsColumn is the table column denoting the workflowruns relation/edge.\n\tWorkflowrunsColumn = \"workflow_id\"\n\t// OrganizationTable is the table that holds the organization relation/edge.\n\tOrganizationTable = \"workflows\"\n\t// OrganizationInverseTable is the table name for the Organization entity.\n\t// It exists in this package in order to avoid circular dependency with the \"organization\" package.\n\tOrganizationInverseTable = \"organizations\"\n\t// OrganizationColumn is the table column denoting the organization relation/edge.\n\tOrganizationColumn = \"organization_id\"\n\t// ContractTable is the table that holds the contract relation/edge.\n\tContractTable = \"workflows\"\n\t// ContractInverseTable is the table name for the WorkflowContract entity.\n\t// It exists in this package in order to avoid circular dependency with the \"workflowcontract\" package.\n\tContractInverseTable = \"workflow_contracts\"\n\t// ContractColumn is the table column denoting the contract relation/edge.\n\tContractColumn = \"workflow_contract\"\n\t// IntegrationAttachmentsTable is the table that holds the integration_attachments relation/edge.\n\tIntegrationAttachmentsTable = \"integration_attachments\"\n\t// IntegrationAttachmentsInverseTable is the table name for the IntegrationAttachment entity.\n\t// It exists in this package in order to avoid circular dependency with the \"integrationattachment\" package.\n\tIntegrationAttachmentsInverseTable = \"integration_attachments\"\n\t// IntegrationAttachmentsColumn is the table column denoting the integration_attachments relation/edge.\n\tIntegrationAttachmentsColumn = \"workflow_id\"\n\t// ProjectTable is the table that holds the project relation/edge.\n\tProjectTable = \"workflows\"\n\t// ProjectInverseTable is the table name for the Project entity.\n\t// It exists in this package in order to avoid circular dependency with the \"project\" package.\n\tProjectInverseTable = \"projects\"\n\t// ProjectColumn is the table column denoting the project relation/edge.\n\tProjectColumn = \"project_id\"\n\t// LatestWorkflowRunTable is the table that holds the latest_workflow_run relation/edge.\n\tLatestWorkflowRunTable = \"workflows\"\n\t// LatestWorkflowRunInverseTable is the table name for the WorkflowRun entity.\n\t// It exists in this package in order to avoid circular dependency with the \"workflowrun\" package.\n\tLatestWorkflowRunInverseTable = \"workflow_runs\"\n\t// LatestWorkflowRunColumn is the table column denoting the latest_workflow_run relation/edge.\n\tLatestWorkflowRunColumn = \"latest_run\"\n\t// ReferrersTable is the table that holds the referrers relation/edge. The primary key declared below.\n\tReferrersTable = \"referrer_workflows\"\n\t// ReferrersInverseTable is the table name for the Referrer entity.\n\t// It exists in this package in order to avoid circular dependency with the \"referrer\" package.\n\tReferrersInverseTable = \"referrers\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\t// DefaultRunsCount holds the default value on creation for the \"runs_count\" field.\n\tDefaultRunsCount int\n\t// DefaultCreatedAt holds the default value on creation for the \"created_at\" field.\n\tDefaultCreatedAt func() time.Time\n\t// DefaultUpdatedAt holds the default value on creation for the \"updated_at\" field.\n\tDefaultUpdatedAt func() time.Time\n\t// DefaultPublic holds the default value on creation for the \"public\" field.\n\tDefaultPublic bool\n\t// DefaultID holds the default value on creation for the \"id\" field.\n\tDefaultID func() uuid.UUID\n)\n```\n\n```go\nvar Columns = []string{\n\tFieldID,\n\tFieldName,\n\tFieldProjectOld,\n\tFieldTeam,\n\tFieldRunsCount,\n\tFieldCreatedAt,\n\tFieldUpdatedAt,\n\tFieldDeletedAt,\n\tFieldPublic,\n\tFieldOrganizationID,\n\tFieldProjectID,\n\tFieldLatestRun,\n\tFieldDescription,\n\tFieldMetadata,\n\tFieldWorkflowTemplateID,\n}\n```\nColumns holds all SQL columns for workflow fields.\n\n```go\nvar ForeignKeys = []string{\n\t\"workflow_contract\",\n}\n```\nForeignKeys holds the SQL foreign-keys that are owned by the \"workflows\" table and are not defined as standalone fields in the schema.\n\n```go\nvar (\n\t// ReferrersPrimaryKey and ReferrersColumn2 are the table columns denoting the\n\t// primary key for the referrers relation (M2M).\n\tReferrersPrimaryKey = []string{\"referrer_id\", \"workflow_id\"}\n)\n```\n\n## Functions\n\n```go\nfunc And(predicates ...predicate.Workflow) predicate.Workflow\n```\nAnd groups predicates with the AND operator between them.\n\n```go\nfunc CreatedAt(v time.Time) predicate.Workflow\n```\nCreatedAt applies equality check predicate on the \"created\\_at\" field. It's identical to CreatedAtEQ.\n\n```go\nfunc CreatedAtEQ(v time.Time) predicate.Workflow\n```\nCreatedAtEQ applies the EQ predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtGT(v time.Time) predicate.Workflow\n```\nCreatedAtGT applies the GT predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtGTE(v time.Time) predicate.Workflow\n```\nCreatedAtGTE applies the GTE predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtIn(vs ...time.Time) predicate.Workflow\n```\nCreatedAtIn applies the In predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtLT(v time.Time) predicate.Workflow\n```\nCreatedAtLT applies the LT predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtLTE(v time.Time) predicate.Workflow\n```\nCreatedAtLTE applies the LTE predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtNEQ(v time.Time) predicate.Workflow\n```\nCreatedAtNEQ applies the NEQ predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtNotIn(vs ...time.Time) predicate.Workflow\n```\nCreatedAtNotIn applies the NotIn predicate on the \"created\\_at\" field.\n\n```go\nfunc DeletedAt(v time.Time) predicate.Workflow\n```\nDeletedAt applies equality check predicate on the \"deleted\\_at\" field. It's identical to DeletedAtEQ.\n\n```go\nfunc DeletedAtEQ(v time.Time) predicate.Workflow\n```\nDeletedAtEQ applies the EQ predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtGT(v time.Time) predicate.Workflow\n```\nDeletedAtGT applies the GT predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtGTE(v time.Time) predicate.Workflow\n```\nDeletedAtGTE applies the GTE predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtIn(vs ...time.Time) predicate.Workflow\n```\nDeletedAtIn applies the In predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtIsNil() predicate.Workflow\n```\nDeletedAtIsNil applies the IsNil predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtLT(v time.Time) predicate.Workflow\n```\nDeletedAtLT applies the LT predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtLTE(v time.Time) predicate.Workflow\n```\nDeletedAtLTE applies the LTE predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtNEQ(v time.Time) predicate.Workflow\n```\nDeletedAtNEQ applies the NEQ predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtNotIn(vs ...time.Time) predicate.Workflow\n```\nDeletedAtNotIn applies the NotIn predicate on the \"deleted\\_at\" field.\n\n```go\nfunc DeletedAtNotNil() predicate.Workflow\n```\nDeletedAtNotNil applies the NotNil predicate on the \"deleted\\_at\" field.\n\n```go\nfunc Description(v string) predicate.Workflow\n```\nDescription applies equality check predicate on the \"description\" field. It's identical to DescriptionEQ.\n\n```go\nfunc DescriptionContains(v string) predicate.Workflow\n```\nDescriptionContains applies the Contains predicate on the \"description\" field.\n\n```go\nfunc DescriptionContainsFold(v string) predicate.Workflow\n```\nDescriptionContainsFold applies the ContainsFold predicate on the \"description\" field.\n\n```go\nfunc DescriptionEQ(v string) predicate.Workflow\n```\nDescriptionEQ applies the EQ predicate on the \"description\" field.\n\n```go\nfunc DescriptionEqualFold(v string) predicate.Workflow\n```\nDescriptionEqualFold applies the EqualFold predicate on the \"description\" field.\n\n```go\nfunc DescriptionGT(v string) predicate.Workflow\n```\nDescriptionGT applies the GT predicate on the \"description\" field.\n\n```go\nfunc DescriptionGTE(v string) predicate.Workflow\n```\nDescriptionGTE applies the GTE predicate on the \"description\" field.\n\n```go\nfunc DescriptionHasPrefix(v string) predicate.Workflow\n```\nDescriptionHasPrefix applies the HasPrefix predicate on the \"description\" field.\n\n```go\nfunc DescriptionHasSuffix(v string) predicate.Workflow\n```\nDescriptionHasSuffix applies the HasSuffix predicate on the \"description\" field.\n\n```go\nfunc DescriptionIn(vs ...string) predicate.Workflow\n```\nDescriptionIn applies the In predicate on the \"description\" field.\n\n```go\nfunc DescriptionIsNil() predicate.Workflow\n```\nDescriptionIsNil applies the IsNil predicate on the \"description\" field.\n\n```go\nfunc DescriptionLT(v string) predicate.Workflow\n```\nDescriptionLT applies the LT predicate on the \"description\" field.\n\n```go\nfunc DescriptionLTE(v string) predicate.Workflow\n```\nDescriptionLTE applies the LTE predicate on the \"description\" field.\n\n```go\nfunc DescriptionNEQ(v string) predicate.Workflow\n```\nDescriptionNEQ applies the NEQ predicate on the \"description\" field.\n\n```go\nfunc DescriptionNotIn(vs ...string) predicate.Workflow\n```\nDescriptionNotIn applies the NotIn predicate on the \"description\" field.\n\n```go\nfunc DescriptionNotNil() predicate.Workflow\n```\nDescriptionNotNil applies the NotNil predicate on the \"description\" field.\n\n```go\nfunc HasContract() predicate.Workflow\n```\nHasContract applies the HasEdge predicate on the \"contract\" edge.\n\n```go\nfunc HasContractWith(preds ...predicate.WorkflowContract) predicate.Workflow\n```\nHasContractWith applies the HasEdge predicate on the \"contract\" edge with a given conditions (other predicates).\n\n```go\nfunc HasIntegrationAttachments() predicate.Workflow\n```\nHasIntegrationAttachments applies the HasEdge predicate on the \"integration\\_attachments\" edge.\n\n```go\nfunc HasIntegrationAttachmentsWith(preds ...predicate.IntegrationAttachment) predicate.Workflow\n```\nHasIntegrationAttachmentsWith applies the HasEdge predicate on the \"integration\\_attachments\" edge with a given conditions (other predicates).\n\n```go\nfunc HasLatestWorkflowRun() predicate.Workflow\n```\nHasLatestWorkflowRun applies the HasEdge predicate on the \"latest\\_workflow\\_run\" edge.\n\n```go\nfunc HasLatestWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.Workflow\n```\nHasLatestWorkflowRunWith applies the HasEdge predicate on the \"latest\\_workflow\\_run\" edge with a given conditions (other predicates).\n\n```go\nfunc HasOrganization() predicate.Workflow\n```\nHasOrganization applies the HasEdge predicate on the \"organization\" edge.\n\n```go\nfunc HasOrganizationWith(preds ...predicate.Organization) predicate.Workflow\n```\nHasOrganizationWith applies the HasEdge predicate on the \"organization\" edge with a given conditions (other predicates).\n\n```go\nfunc HasProject() predicate.Workflow\n```\nHasProject applies the HasEdge predicate on the \"project\" edge.\n\n```go\nfunc HasProjectWith(preds ...predicate.Project) predicate.Workflow\n```\nHasProjectWith applies the HasEdge predicate on the \"project\" edge with a given conditions (other predicates).\n\n```go\nfunc HasReferrers() predicate.Workflow\n```\nHasReferrers applies the HasEdge predicate on the \"referrers\" edge.\n\n```go\nfunc HasReferrersWith(preds ...predicate.Referrer) predicate.Workflow\n```\nHasReferrersWith applies the HasEdge predicate on the \"referrers\" edge with a given conditions (other predicates).\n\n```go\nfunc HasRobotaccounts() predicate.Workflow\n```\nHasRobotaccounts applies the HasEdge predicate on the \"robotaccounts\" edge.\n\n```go\nfunc HasRobotaccountsWith(preds ...predicate.RobotAccount) predicate.Workflow\n```\nHasRobotaccountsWith applies the HasEdge predicate on the \"robotaccounts\" edge with a given conditions (other predicates).\n\n```go\nfunc HasWorkflowruns() predicate.Workflow\n```\nHasWorkflowruns applies the HasEdge predicate on the \"workflowruns\" edge.\n\n```go\nfunc HasWorkflowrunsWith(preds ...predicate.WorkflowRun) predicate.Workflow\n```\nHasWorkflowrunsWith applies the HasEdge predicate on the \"workflowruns\" edge with a given conditions (other predicates).\n\n```go\nfunc ID(id uuid.UUID) predicate.Workflow\n```\nID filters vertices based on their ID field.\n\n```go\nfunc IDEQ(id uuid.UUID) predicate.Workflow\n```\nIDEQ applies the EQ predicate on the ID field.\n\n```go\nfunc IDGT(id uuid.UUID) predicate.Workflow\n```\nIDGT applies the GT predicate on the ID field.\n\n```go\nfunc IDGTE(id uuid.UUID) predicate.Workflow\n```\nIDGTE applies the GTE predicate on the ID field.\n\n```go\nfunc IDIn(ids ...uuid.UUID) predicate.Workflow\n```\nIDIn applies the In predicate on the ID field.\n\n```go\nfunc IDLT(id uuid.UUID) predicate.Workflow\n```\nIDLT applies the LT predicate on the ID field.\n\n```go\nfunc IDLTE(id uuid.UUID) predicate.Workflow\n```\nIDLTE applies the LTE predicate on the ID field.\n\n```go\nfunc IDNEQ(id uuid.UUID) predicate.Workflow\n```\nIDNEQ applies the NEQ predicate on the ID field.\n\n```go\nfunc IDNotIn(ids ...uuid.UUID) predicate.Workflow\n```\nIDNotIn applies the NotIn predicate on the ID field.\n\n```go\nfunc LatestRun(v uuid.UUID) predicate.Workflow\n```\nLatestRun applies equality check predicate on the \"latest\\_run\" field. It's identical to LatestRunEQ.\n\n```go\nfunc LatestRunEQ(v uuid.UUID) predicate.Workflow\n```\nLatestRunEQ applies the EQ predicate on the \"latest\\_run\" field.\n\n```go\nfunc LatestRunIn(vs ...uuid.UUID) predicate.Workflow\n```\nLatestRunIn applies the In predicate on the \"latest\\_run\" field.\n\n```go\nfunc LatestRunIsNil() predicate.Workflow\n```\nLatestRunIsNil applies the IsNil predicate on the \"latest\\_run\" field.\n\n```go\nfunc LatestRunNEQ(v uuid.UUID) predicate.Workflow\n```\nLatestRunNEQ applies the NEQ predicate on the \"latest\\_run\" field.\n\n```go\nfunc LatestRunNotIn(vs ...uuid.UUID) predicate.Workflow\n```\nLatestRunNotIn applies the NotIn predicate on the \"latest\\_run\" field.\n\n```go\nfunc LatestRunNotNil() predicate.Workflow\n```\nLatestRunNotNil applies the NotNil predicate on the \"latest\\_run\" field.\n\n```go\nfunc MetadataIsNil() predicate.Workflow\n```\nMetadataIsNil applies the IsNil predicate on the \"metadata\" field.\n\n```go\nfunc MetadataNotNil() predicate.Workflow\n```\nMetadataNotNil applies the NotNil predicate on the \"metadata\" field.\n\n```go\nfunc Name(v string) predicate.Workflow\n```\nName applies equality check predicate on the \"name\" field. It's identical to NameEQ.\n\n```go\nfunc NameContains(v string) predicate.Workflow\n```\nNameContains applies the Contains predicate on the \"name\" field.\n\n```go\nfunc NameContainsFold(v string) predicate.Workflow\n```\nNameContainsFold applies the ContainsFold predicate on the \"name\" field.\n\n```go\nfunc NameEQ(v string) predicate.Workflow\n```\nNameEQ applies the EQ predicate on the \"name\" field.\n\n```go\nfunc NameEqualFold(v string) predicate.Workflow\n```\nNameEqualFold applies the EqualFold predicate on the \"name\" field.\n\n```go\nfunc NameGT(v string) predicate.Workflow\n```\nNameGT applies the GT predicate on the \"name\" field.\n\n```go\nfunc NameGTE(v string) predicate.Workflow\n```\nNameGTE applies the GTE predicate on the \"name\" field.\n\n```go\nfunc NameHasPrefix(v string) predicate.Workflow\n```\nNameHasPrefix applies the HasPrefix predicate on the \"name\" field.\n\n```go\nfunc NameHasSuffix(v string) predicate.Workflow\n```\nNameHasSuffix applies the HasSuffix predicate on the \"name\" field.\n\n```go\nfunc NameIn(vs ...string) predicate.Workflow\n```\nNameIn applies the In predicate on the \"name\" field.\n\n```go\nfunc NameLT(v string) predicate.Workflow\n```\nNameLT applies the LT predicate on the \"name\" field.\n\n```go\nfunc NameLTE(v string) predicate.Workflow\n```\nNameLTE applies the LTE predicate on the \"name\" field.\n\n```go\nfunc NameNEQ(v string) predicate.Workflow\n```\nNameNEQ applies the NEQ predicate on the \"name\" field.\n\n```go\nfunc NameNotIn(vs ...string) predicate.Workflow\n```\nNameNotIn applies the NotIn predicate on the \"name\" field.\n\n```go\nfunc Not(p predicate.Workflow) predicate.Workflow\n```\nNot applies the not operator on the given predicate.\n\n```go\nfunc Or(predicates ...predicate.Workflow) predicate.Workflow\n```\nOr groups predicates with the OR operator between them.\n\n```go\nfunc OrganizationID(v uuid.UUID) predicate.Workflow\n```\nOrganizationID applies equality check predicate on the \"organization\\_id\" field. It's identical to OrganizationIDEQ.\n\n```go\nfunc OrganizationIDEQ(v uuid.UUID) predicate.Workflow\n```\nOrganizationIDEQ applies the EQ predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDIn(vs ...uuid.UUID) predicate.Workflow\n```\nOrganizationIDIn applies the In predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDNEQ(v uuid.UUID) predicate.Workflow\n```\nOrganizationIDNEQ applies the NEQ predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDNotIn(vs ...uuid.UUID) predicate.Workflow\n```\nOrganizationIDNotIn applies the NotIn predicate on the \"organization\\_id\" field.\n\n```go\nfunc ProjectID(v uuid.UUID) predicate.Workflow\n```\nProjectID applies equality check predicate on the \"project\\_id\" field. It's identical to ProjectIDEQ.\n\n```go\nfunc ProjectIDEQ(v uuid.UUID) predicate.Workflow\n```\nProjectIDEQ applies the EQ predicate on the \"project\\_id\" field.\n\n```go\nfunc ProjectIDIn(vs ...uuid.UUID) predicate.Workflow\n```\nProjectIDIn applies the In predicate on the \"project\\_id\" field.\n\n```go\nfunc ProjectIDNEQ(v uuid.UUID) predicate.Workflow\n```\nProjectIDNEQ applies the NEQ predicate on the \"project\\_id\" field.\n\n```go\nfunc ProjectIDNotIn(vs ...uuid.UUID) predicate.Workflow\n```\nProjectIDNotIn applies the NotIn predicate on the \"project\\_id\" field.\n\n```go\nfunc ProjectOld(v string) predicate.Workflow\n```\nProjectOld applies equality check predicate on the \"project\\_old\" field. It's identical to ProjectOldEQ.\n\n```go\nfunc ProjectOldContains(v string) predicate.Workflow\n```\nProjectOldContains applies the Contains predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldContainsFold(v string) predicate.Workflow\n```\nProjectOldContainsFold applies the ContainsFold predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldEQ(v string) predicate.Workflow\n```\nProjectOldEQ applies the EQ predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldEqualFold(v string) predicate.Workflow\n```\nProjectOldEqualFold applies the EqualFold predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldGT(v string) predicate.Workflow\n```\nProjectOldGT applies the GT predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldGTE(v string) predicate.Workflow\n```\nProjectOldGTE applies the GTE predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldHasPrefix(v string) predicate.Workflow\n```\nProjectOldHasPrefix applies the HasPrefix predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldHasSuffix(v string) predicate.Workflow\n```\nProjectOldHasSuffix applies the HasSuffix predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldIn(vs ...string) predicate.Workflow\n```\nProjectOldIn applies the In predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldIsNil() predicate.Workflow\n```\nProjectOldIsNil applies the IsNil predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldLT(v string) predicate.Workflow\n```\nProjectOldLT applies the LT predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldLTE(v string) predicate.Workflow\n```\nProjectOldLTE applies the LTE predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldNEQ(v string) predicate.Workflow\n```\nProjectOldNEQ applies the NEQ predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldNotIn(vs ...string) predicate.Workflow\n```\nProjectOldNotIn applies the NotIn predicate on the \"project\\_old\" field.\n\n```go\nfunc ProjectOldNotNil() predicate.Workflow\n```\nProjectOldNotNil applies the NotNil predicate on the \"project\\_old\" field.\n\n```go\nfunc Public(v bool) predicate.Workflow\n```\nPublic applies equality check predicate on the \"public\" field. It's identical to PublicEQ.\n\n```go\nfunc PublicEQ(v bool) predicate.Workflow\n```\nPublicEQ applies the EQ predicate on the \"public\" field.\n\n```go\nfunc PublicNEQ(v bool) predicate.Workflow\n```\nPublicNEQ applies the NEQ predicate on the \"public\" field.\n\n```go\nfunc RunsCount(v int) predicate.Workflow\n```\nRunsCount applies equality check predicate on the \"runs\\_count\" field. It's identical to RunsCountEQ.\n\n```go\nfunc RunsCountEQ(v int) predicate.Workflow\n```\nRunsCountEQ applies the EQ predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountGT(v int) predicate.Workflow\n```\nRunsCountGT applies the GT predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountGTE(v int) predicate.Workflow\n```\nRunsCountGTE applies the GTE predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountIn(vs ...int) predicate.Workflow\n```\nRunsCountIn applies the In predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountLT(v int) predicate.Workflow\n```\nRunsCountLT applies the LT predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountLTE(v int) predicate.Workflow\n```\nRunsCountLTE applies the LTE predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountNEQ(v int) predicate.Workflow\n```\nRunsCountNEQ applies the NEQ predicate on the \"runs\\_count\" field.\n\n```go\nfunc RunsCountNotIn(vs ...int) predicate.Workflow\n```\nRunsCountNotIn applies the NotIn predicate on the \"runs\\_count\" field.\n\n```go\nfunc Team(v string) predicate.Workflow\n```\nTeam applies equality check predicate on the \"team\" field. It's identical to TeamEQ.\n\n```go\nfunc TeamContains(v string) predicate.Workflow\n```\nTeamContains applies the Contains predicate on the \"team\" field.\n\n```go\nfunc TeamContainsFold(v string) predicate.Workflow\n```\nTeamContainsFold applies the ContainsFold predicate on the \"team\" field.\n\n```go\nfunc TeamEQ(v string) predicate.Workflow\n```\nTeamEQ applies the EQ predicate on the \"team\" field.\n\n```go\nfunc TeamEqualFold(v string) predicate.Workflow\n```\nTeamEqualFold applies the EqualFold predicate on the \"team\" field.\n\n```go\nfunc TeamGT(v string) predicate.Workflow\n```\nTeamGT applies the GT predicate on the \"team\" field.\n\n```go\nfunc TeamGTE(v string) predicate.Workflow\n```\nTeamGTE applies the GTE predicate on the \"team\" field.\n\n```go\nfunc TeamHasPrefix(v string) predicate.Workflow\n```\nTeamHasPrefix applies the HasPrefix predicate on the \"team\" field.\n\n```go\nfunc TeamHasSuffix(v string) predicate.Workflow\n```\nTeamHasSuffix applies the HasSuffix predicate on the \"team\" field.\n\n```go\nfunc TeamIn(vs ...string) predicate.Workflow\n```\nTeamIn applies the In predicate on the \"team\" field.\n\n```go\nfunc TeamIsNil() predicate.Workflow\n```\nTeamIsNil applies the IsNil predicate on the \"team\" field.\n\n```go\nfunc TeamLT(v string) predicate.Workflow\n```\nTeamLT applies the LT predicate on the \"team\" field.\n\n```go\nfunc TeamLTE(v string) predicate.Workflow\n```\nTeamLTE applies the LTE predicate on the \"team\" field.\n\n```go\nfunc TeamNEQ(v string) predicate.Workflow\n```\nTeamNEQ applies the NEQ predicate on the \"team\" field.\n\n```go\nfunc TeamNotIn(vs ...string) predicate.Workflow\n```\nTeamNotIn applies the NotIn predicate on the \"team\" field.\n\n```go\nfunc TeamNotNil() predicate.Workflow\n```\nTeamNotNil applies the NotNil predicate on the \"team\" field.\n\n```go\nfunc UpdatedAt(v time.Time) predicate.Workflow\n```\nUpdatedAt applies equality check predicate on the \"updated\\_at\" field. It's identical to UpdatedAtEQ.\n\n```go\nfunc UpdatedAtEQ(v time.Time) predicate.Workflow\n```\nUpdatedAtEQ applies the EQ predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtGT(v time.Time) predicate.Workflow\n```\nUpdatedAtGT applies the GT predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtGTE(v time.Time) predicate.Workflow\n```\nUpdatedAtGTE applies the GTE predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtIn(vs ...time.Time) predicate.Workflow\n```\nUpdatedAtIn applies the In predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtLT(v time.Time) predicate.Workflow\n```\nUpdatedAtLT applies the LT predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtLTE(v time.Time) predicate.Workflow\n```\nUpdatedAtLTE applies the LTE predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtNEQ(v time.Time) predicate.Workflow\n```\nUpdatedAtNEQ applies the NEQ predicate on the \"updated\\_at\" field.\n\n```go\nfunc UpdatedAtNotIn(vs ...time.Time) predicate.Workflow\n```\nUpdatedAtNotIn applies the NotIn predicate on the \"updated\\_at\" field.\n\n```go\nfunc ValidColumn(column string) bool\n```\nValidColumn reports if the column name is valid (part of the table columns).\n\n```go\nfunc WorkflowTemplateID(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateID applies equality check predicate on the \"workflow\\_template\\_id\" field. It's identical to WorkflowTemplateIDEQ.\n\n```go\nfunc WorkflowTemplateIDEQ(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDEQ applies the EQ predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDGT(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDGT applies the GT predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDGTE(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDGTE applies the GTE predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDIn(vs ...uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDIn applies the In predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDIsNil() predicate.Workflow\n```\nWorkflowTemplateIDIsNil applies the IsNil predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDLT(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDLT applies the LT predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDLTE(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDLTE applies the LTE predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDNEQ(v uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDNEQ applies the NEQ predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDNotIn(vs ...uuid.UUID) predicate.Workflow\n```\nWorkflowTemplateIDNotIn applies the NotIn predicate on the \"workflow\\_template\\_id\" field.\n\n```go\nfunc WorkflowTemplateIDNotNil() predicate.Workflow\n```\nWorkflowTemplateIDNotNil applies the NotNil predicate on the \"workflow\\_template\\_id\" field.\n\n## Types\n\n```go\ntype OrderOption func(*sql.Selector)\n```\nOrderOption defines the ordering options for the Workflow queries.\n\n```go\nfunc ByContractField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByContractField orders the results by contract field.\n\n```go\nfunc ByCreatedAt(opts ...sql.OrderTermOption) OrderOption\n```\nByCreatedAt orders the results by the created\\_at field.\n\n```go\nfunc ByDeletedAt(opts ...sql.OrderTermOption) OrderOption\n```\nByDeletedAt orders the results by the deleted\\_at field.\n\n```go\nfunc ByDescription(opts ...sql.OrderTermOption) OrderOption\n```\nByDescription orders the results by the description field.\n\n```go\nfunc ByID(opts ...sql.OrderTermOption) OrderOption\n```\nByID orders the results by the id field.\n\n```go\nfunc ByIntegrationAttachments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption\n```\nByIntegrationAttachments orders the results by integration\\_attachments terms.\n\n```go\nfunc ByIntegrationAttachmentsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByIntegrationAttachmentsCount orders the results by integration\\_attachments count.\n\n```go\nfunc ByLatestRun(opts ...sql.OrderTermOption) OrderOption\n```\nByLatestRun orders the results by the latest\\_run field.\n\n```go\nfunc ByLatestWorkflowRunField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByLatestWorkflowRunField orders the results by latest\\_workflow\\_run field.\n\n```go\nfunc ByName(opts ...sql.OrderTermOption) OrderOption\n```\nByName orders the results by the name field.\n\n```go\nfunc ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByOrganizationField orders the results by organization field.\n\n```go\nfunc ByOrganizationID(opts ...sql.OrderTermOption) OrderOption\n```\nByOrganizationID orders the results by the organization\\_id field.\n\n```go\nfunc ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByProjectField orders the results by project field.\n\n```go\nfunc ByProjectID(opts ...sql.OrderTermOption) OrderOption\n```\nByProjectID orders the results by the project\\_id field.\n\n```go\nfunc ByProjectOld(opts ...sql.OrderTermOption) OrderOption\n```\nByProjectOld orders the results by the project\\_old field.\n\n```go\nfunc ByPublic(opts ...sql.OrderTermOption) OrderOption\n```\nByPublic orders the results by the public field.\n\n```go\nfunc ByReferrers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption\n```\nByReferrers orders the results by referrers terms.\n\n```go\nfunc ByReferrersCount(opts ...sql.OrderTermOption) OrderOption\n```\nByReferrersCount orders the results by referrers count.\n\n```go\nfunc ByRobotaccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption\n```\nByRobotaccounts orders the results by robotaccounts terms.\n\n```go\nfunc ByRobotaccountsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByRobotaccountsCount orders the results by robotaccounts count.\n\n```go\nfunc ByRunsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByRunsCount orders the results by the runs\\_count field.\n\n```go\nfunc ByTeam(opts ...sql.OrderTermOption) OrderOption\n```\nByTeam orders the results by the team field.\n\n```go\nfunc ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption\n```\nByUpdatedAt orders the results by the updated\\_at field.\n\n```go\nfunc ByWorkflowTemplateID(opts ...sql.OrderTermOption) OrderOption\n```\nByWorkflowTemplateID orders the results by the workflow\\_template\\_id field.\n\n```go\nfunc ByWorkflowruns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption\n```\nByWorkflowruns orders the results by workflowruns terms.\n\n```go\nfunc ByWorkflowrunsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByWorkflowrunsCount orders the results by workflowruns count.\n\n","path":"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflow","name":"workflow","synopsis":"","isRedistributable":true}
