Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Workflow) predicate.Workflow
- func CreatedAt(v time.Time) predicate.Workflow
- func CreatedAtEQ(v time.Time) predicate.Workflow
- func CreatedAtGT(v time.Time) predicate.Workflow
- func CreatedAtGTE(v time.Time) predicate.Workflow
- func CreatedAtIn(vs ...time.Time) predicate.Workflow
- func CreatedAtLT(v time.Time) predicate.Workflow
- func CreatedAtLTE(v time.Time) predicate.Workflow
- func CreatedAtNEQ(v time.Time) predicate.Workflow
- func CreatedAtNotIn(vs ...time.Time) predicate.Workflow
- func DeletedAt(v time.Time) predicate.Workflow
- func DeletedAtEQ(v time.Time) predicate.Workflow
- func DeletedAtGT(v time.Time) predicate.Workflow
- func DeletedAtGTE(v time.Time) predicate.Workflow
- func DeletedAtIn(vs ...time.Time) predicate.Workflow
- func DeletedAtIsNil() predicate.Workflow
- func DeletedAtLT(v time.Time) predicate.Workflow
- func DeletedAtLTE(v time.Time) predicate.Workflow
- func DeletedAtNEQ(v time.Time) predicate.Workflow
- func DeletedAtNotIn(vs ...time.Time) predicate.Workflow
- func DeletedAtNotNil() predicate.Workflow
- func Description(v string) predicate.Workflow
- func DescriptionContains(v string) predicate.Workflow
- func DescriptionContainsFold(v string) predicate.Workflow
- func DescriptionEQ(v string) predicate.Workflow
- func DescriptionEqualFold(v string) predicate.Workflow
- func DescriptionGT(v string) predicate.Workflow
- func DescriptionGTE(v string) predicate.Workflow
- func DescriptionHasPrefix(v string) predicate.Workflow
- func DescriptionHasSuffix(v string) predicate.Workflow
- func DescriptionIn(vs ...string) predicate.Workflow
- func DescriptionIsNil() predicate.Workflow
- func DescriptionLT(v string) predicate.Workflow
- func DescriptionLTE(v string) predicate.Workflow
- func DescriptionNEQ(v string) predicate.Workflow
- func DescriptionNotIn(vs ...string) predicate.Workflow
- func DescriptionNotNil() predicate.Workflow
- func HasContract() predicate.Workflow
- func HasContractWith(preds ...predicate.WorkflowContract) predicate.Workflow
- func HasIntegrationAttachments() predicate.Workflow
- func HasIntegrationAttachmentsWith(preds ...predicate.IntegrationAttachment) predicate.Workflow
- func HasLatestWorkflowRun() predicate.Workflow
- func HasLatestWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.Workflow
- func HasOrganization() predicate.Workflow
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Workflow
- func HasProject() predicate.Workflow
- func HasProjectWith(preds ...predicate.Project) predicate.Workflow
- func HasReferrers() predicate.Workflow
- func HasReferrersWith(preds ...predicate.Referrer) predicate.Workflow
- func HasRobotaccounts() predicate.Workflow
- func HasRobotaccountsWith(preds ...predicate.RobotAccount) predicate.Workflow
- func HasWorkflowruns() predicate.Workflow
- func HasWorkflowrunsWith(preds ...predicate.WorkflowRun) predicate.Workflow
- func ID(id uuid.UUID) predicate.Workflow
- func IDEQ(id uuid.UUID) predicate.Workflow
- func IDGT(id uuid.UUID) predicate.Workflow
- func IDGTE(id uuid.UUID) predicate.Workflow
- func IDIn(ids ...uuid.UUID) predicate.Workflow
- func IDLT(id uuid.UUID) predicate.Workflow
- func IDLTE(id uuid.UUID) predicate.Workflow
- func IDNEQ(id uuid.UUID) predicate.Workflow
- func IDNotIn(ids ...uuid.UUID) predicate.Workflow
- func LatestRun(v uuid.UUID) predicate.Workflow
- func LatestRunEQ(v uuid.UUID) predicate.Workflow
- func LatestRunIn(vs ...uuid.UUID) predicate.Workflow
- func LatestRunIsNil() predicate.Workflow
- func LatestRunNEQ(v uuid.UUID) predicate.Workflow
- func LatestRunNotIn(vs ...uuid.UUID) predicate.Workflow
- func LatestRunNotNil() predicate.Workflow
- func Name(v string) predicate.Workflow
- func NameContains(v string) predicate.Workflow
- func NameContainsFold(v string) predicate.Workflow
- func NameEQ(v string) predicate.Workflow
- func NameEqualFold(v string) predicate.Workflow
- func NameGT(v string) predicate.Workflow
- func NameGTE(v string) predicate.Workflow
- func NameHasPrefix(v string) predicate.Workflow
- func NameHasSuffix(v string) predicate.Workflow
- func NameIn(vs ...string) predicate.Workflow
- func NameLT(v string) predicate.Workflow
- func NameLTE(v string) predicate.Workflow
- func NameNEQ(v string) predicate.Workflow
- func NameNotIn(vs ...string) predicate.Workflow
- func Not(p predicate.Workflow) predicate.Workflow
- func Or(predicates ...predicate.Workflow) predicate.Workflow
- func OrganizationID(v uuid.UUID) predicate.Workflow
- func OrganizationIDEQ(v uuid.UUID) predicate.Workflow
- func OrganizationIDIn(vs ...uuid.UUID) predicate.Workflow
- func OrganizationIDNEQ(v uuid.UUID) predicate.Workflow
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Workflow
- func ProjectID(v uuid.UUID) predicate.Workflow
- func ProjectIDEQ(v uuid.UUID) predicate.Workflow
- func ProjectIDIn(vs ...uuid.UUID) predicate.Workflow
- func ProjectIDNEQ(v uuid.UUID) predicate.Workflow
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.Workflow
- func ProjectOld(v string) predicate.Workflow
- func ProjectOldContains(v string) predicate.Workflow
- func ProjectOldContainsFold(v string) predicate.Workflow
- func ProjectOldEQ(v string) predicate.Workflow
- func ProjectOldEqualFold(v string) predicate.Workflow
- func ProjectOldGT(v string) predicate.Workflow
- func ProjectOldGTE(v string) predicate.Workflow
- func ProjectOldHasPrefix(v string) predicate.Workflow
- func ProjectOldHasSuffix(v string) predicate.Workflow
- func ProjectOldIn(vs ...string) predicate.Workflow
- func ProjectOldIsNil() predicate.Workflow
- func ProjectOldLT(v string) predicate.Workflow
- func ProjectOldLTE(v string) predicate.Workflow
- func ProjectOldNEQ(v string) predicate.Workflow
- func ProjectOldNotIn(vs ...string) predicate.Workflow
- func ProjectOldNotNil() predicate.Workflow
- func Public(v bool) predicate.Workflow
- func PublicEQ(v bool) predicate.Workflow
- func PublicNEQ(v bool) predicate.Workflow
- func RunsCount(v int) predicate.Workflow
- func RunsCountEQ(v int) predicate.Workflow
- func RunsCountGT(v int) predicate.Workflow
- func RunsCountGTE(v int) predicate.Workflow
- func RunsCountIn(vs ...int) predicate.Workflow
- func RunsCountLT(v int) predicate.Workflow
- func RunsCountLTE(v int) predicate.Workflow
- func RunsCountNEQ(v int) predicate.Workflow
- func RunsCountNotIn(vs ...int) predicate.Workflow
- func Team(v string) predicate.Workflow
- func TeamContains(v string) predicate.Workflow
- func TeamContainsFold(v string) predicate.Workflow
- func TeamEQ(v string) predicate.Workflow
- func TeamEqualFold(v string) predicate.Workflow
- func TeamGT(v string) predicate.Workflow
- func TeamGTE(v string) predicate.Workflow
- func TeamHasPrefix(v string) predicate.Workflow
- func TeamHasSuffix(v string) predicate.Workflow
- func TeamIn(vs ...string) predicate.Workflow
- func TeamIsNil() predicate.Workflow
- func TeamLT(v string) predicate.Workflow
- func TeamLTE(v string) predicate.Workflow
- func TeamNEQ(v string) predicate.Workflow
- func TeamNotIn(vs ...string) predicate.Workflow
- func TeamNotNil() predicate.Workflow
- func UpdatedAt(v time.Time) predicate.Workflow
- func UpdatedAtEQ(v time.Time) predicate.Workflow
- func UpdatedAtGT(v time.Time) predicate.Workflow
- func UpdatedAtGTE(v time.Time) predicate.Workflow
- func UpdatedAtIn(vs ...time.Time) predicate.Workflow
- func UpdatedAtLT(v time.Time) predicate.Workflow
- func UpdatedAtLTE(v time.Time) predicate.Workflow
- func UpdatedAtNEQ(v time.Time) predicate.Workflow
- func UpdatedAtNotIn(vs ...time.Time) predicate.Workflow
- func ValidColumn(column string) bool
- type OrderOption
- func ByContractField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrationAttachments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationAttachmentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLatestRun(opts ...sql.OrderTermOption) OrderOption
- func ByLatestWorkflowRunField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectOld(opts ...sql.OrderTermOption) OrderOption
- func ByPublic(opts ...sql.OrderTermOption) OrderOption
- func ByReferrers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByReferrersCount(opts ...sql.OrderTermOption) OrderOption
- func ByRobotaccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRobotaccountsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRunsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTeam(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowruns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowrunsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflow type in the database. Label = "workflow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldProjectOld holds the string denoting the project_old field in the database. FieldProjectOld = "project_old" // FieldTeam holds the string denoting the team field in the database. FieldTeam = "team" // FieldRunsCount holds the string denoting the runs_count field in the database. FieldRunsCount = "runs_count" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldPublic holds the string denoting the public field in the database. FieldPublic = "public" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldLatestRun holds the string denoting the latest_run field in the database. FieldLatestRun = "latest_run" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeRobotaccounts holds the string denoting the robotaccounts edge name in mutations. EdgeRobotaccounts = "robotaccounts" // EdgeWorkflowruns holds the string denoting the workflowruns edge name in mutations. EdgeWorkflowruns = "workflowruns" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeContract holds the string denoting the contract edge name in mutations. EdgeContract = "contract" // EdgeIntegrationAttachments holds the string denoting the integration_attachments edge name in mutations. EdgeIntegrationAttachments = "integration_attachments" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeLatestWorkflowRun holds the string denoting the latest_workflow_run edge name in mutations. EdgeLatestWorkflowRun = "latest_workflow_run" // EdgeReferrers holds the string denoting the referrers edge name in mutations. EdgeReferrers = "referrers" // Table holds the table name of the workflow in the database. Table = "workflows" // RobotaccountsTable is the table that holds the robotaccounts relation/edge. RobotaccountsTable = "robot_accounts" // RobotaccountsInverseTable is the table name for the RobotAccount entity. // It exists in this package in order to avoid circular dependency with the "robotaccount" package. RobotaccountsInverseTable = "robot_accounts" // RobotaccountsColumn is the table column denoting the robotaccounts relation/edge. RobotaccountsColumn = "workflow_robotaccounts" // WorkflowrunsTable is the table that holds the workflowruns relation/edge. WorkflowrunsTable = "workflow_runs" // WorkflowrunsInverseTable is the table name for the WorkflowRun entity. // It exists in this package in order to avoid circular dependency with the "workflowrun" package. WorkflowrunsInverseTable = "workflow_runs" // WorkflowrunsColumn is the table column denoting the workflowruns relation/edge. WorkflowrunsColumn = "workflow_workflowruns" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "workflows" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // ContractTable is the table that holds the contract relation/edge. ContractTable = "workflows" // ContractInverseTable is the table name for the WorkflowContract entity. // It exists in this package in order to avoid circular dependency with the "workflowcontract" package. ContractInverseTable = "workflow_contracts" // ContractColumn is the table column denoting the contract relation/edge. ContractColumn = "workflow_contract" // IntegrationAttachmentsTable is the table that holds the integration_attachments relation/edge. IntegrationAttachmentsTable = "integration_attachments" // IntegrationAttachmentsInverseTable is the table name for the IntegrationAttachment entity. // It exists in this package in order to avoid circular dependency with the "integrationattachment" package. IntegrationAttachmentsInverseTable = "integration_attachments" // IntegrationAttachmentsColumn is the table column denoting the integration_attachments relation/edge. IntegrationAttachmentsColumn = "workflow_id" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "workflows" // ProjectInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. ProjectInverseTable = "projects" // ProjectColumn is the table column denoting the project relation/edge. ProjectColumn = "project_id" // LatestWorkflowRunTable is the table that holds the latest_workflow_run relation/edge. LatestWorkflowRunTable = "workflows" // LatestWorkflowRunInverseTable is the table name for the WorkflowRun entity. // It exists in this package in order to avoid circular dependency with the "workflowrun" package. LatestWorkflowRunInverseTable = "workflow_runs" // LatestWorkflowRunColumn is the table column denoting the latest_workflow_run relation/edge. LatestWorkflowRunColumn = "latest_run" // ReferrersTable is the table that holds the referrers relation/edge. The primary key declared below. ReferrersTable = "referrer_workflows" // ReferrersInverseTable is the table name for the Referrer entity. // It exists in this package in order to avoid circular dependency with the "referrer" package. ReferrersInverseTable = "referrers" )
Variables ¶
var ( // DefaultRunsCount holds the default value on creation for the "runs_count" field. DefaultRunsCount int // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // DefaultPublic holds the default value on creation for the "public" field. DefaultPublic bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldProjectOld, FieldTeam, FieldRunsCount, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldPublic, FieldOrganizationID, FieldProjectID, FieldLatestRun, FieldDescription, }
Columns holds all SQL columns for workflow fields.
var ForeignKeys = []string{
"workflow_contract",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workflows" table and are not defined as standalone fields in the schema.
var ( // ReferrersPrimaryKey and ReferrersColumn2 are the table columns denoting the // primary key for the referrers relation (M2M). ReferrersPrimaryKey = []string{"referrer_id", "workflow_id"} )
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasContract ¶
HasContract applies the HasEdge predicate on the "contract" edge.
func HasContractWith ¶
func HasContractWith(preds ...predicate.WorkflowContract) predicate.Workflow
HasContractWith applies the HasEdge predicate on the "contract" edge with a given conditions (other predicates).
func HasIntegrationAttachments ¶
HasIntegrationAttachments applies the HasEdge predicate on the "integration_attachments" edge.
func HasIntegrationAttachmentsWith ¶
func HasIntegrationAttachmentsWith(preds ...predicate.IntegrationAttachment) predicate.Workflow
HasIntegrationAttachmentsWith applies the HasEdge predicate on the "integration_attachments" edge with a given conditions (other predicates).
func HasLatestWorkflowRun ¶ added in v0.106.0
HasLatestWorkflowRun applies the HasEdge predicate on the "latest_workflow_run" edge.
func HasLatestWorkflowRunWith ¶ added in v0.106.0
func HasLatestWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.Workflow
HasLatestWorkflowRunWith applies the HasEdge predicate on the "latest_workflow_run" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Workflow
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasProject ¶ added in v0.97.4
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶ added in v0.97.4
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasReferrers ¶
HasReferrers applies the HasEdge predicate on the "referrers" edge.
func HasReferrersWith ¶
HasReferrersWith applies the HasEdge predicate on the "referrers" edge with a given conditions (other predicates).
func HasRobotaccounts ¶
HasRobotaccounts applies the HasEdge predicate on the "robotaccounts" edge.
func HasRobotaccountsWith ¶
func HasRobotaccountsWith(preds ...predicate.RobotAccount) predicate.Workflow
HasRobotaccountsWith applies the HasEdge predicate on the "robotaccounts" edge with a given conditions (other predicates).
func HasWorkflowruns ¶
HasWorkflowruns applies the HasEdge predicate on the "workflowruns" edge.
func HasWorkflowrunsWith ¶
func HasWorkflowrunsWith(preds ...predicate.WorkflowRun) predicate.Workflow
HasWorkflowrunsWith applies the HasEdge predicate on the "workflowruns" edge with a given conditions (other predicates).
func LatestRun ¶ added in v0.106.0
LatestRun applies equality check predicate on the "latest_run" field. It's identical to LatestRunEQ.
func LatestRunEQ ¶ added in v0.106.0
LatestRunEQ applies the EQ predicate on the "latest_run" field.
func LatestRunIn ¶ added in v0.106.0
LatestRunIn applies the In predicate on the "latest_run" field.
func LatestRunIsNil ¶ added in v0.106.0
LatestRunIsNil applies the IsNil predicate on the "latest_run" field.
func LatestRunNEQ ¶ added in v0.106.0
LatestRunNEQ applies the NEQ predicate on the "latest_run" field.
func LatestRunNotIn ¶ added in v0.106.0
LatestRunNotIn applies the NotIn predicate on the "latest_run" field.
func LatestRunNotNil ¶ added in v0.106.0
LatestRunNotNil applies the NotNil predicate on the "latest_run" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func ProjectID ¶ added in v0.97.4
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶ added in v0.97.4
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDIn ¶ added in v0.97.4
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDNEQ ¶ added in v0.97.4
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶ added in v0.97.4
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ProjectOld ¶ added in v0.97.4
ProjectOld applies equality check predicate on the "project_old" field. It's identical to ProjectOldEQ.
func ProjectOldContains ¶ added in v0.97.4
ProjectOldContains applies the Contains predicate on the "project_old" field.
func ProjectOldContainsFold ¶ added in v0.97.4
ProjectOldContainsFold applies the ContainsFold predicate on the "project_old" field.
func ProjectOldEQ ¶ added in v0.97.4
ProjectOldEQ applies the EQ predicate on the "project_old" field.
func ProjectOldEqualFold ¶ added in v0.97.4
ProjectOldEqualFold applies the EqualFold predicate on the "project_old" field.
func ProjectOldGT ¶ added in v0.97.4
ProjectOldGT applies the GT predicate on the "project_old" field.
func ProjectOldGTE ¶ added in v0.97.4
ProjectOldGTE applies the GTE predicate on the "project_old" field.
func ProjectOldHasPrefix ¶ added in v0.97.4
ProjectOldHasPrefix applies the HasPrefix predicate on the "project_old" field.
func ProjectOldHasSuffix ¶ added in v0.97.4
ProjectOldHasSuffix applies the HasSuffix predicate on the "project_old" field.
func ProjectOldIn ¶ added in v0.97.4
ProjectOldIn applies the In predicate on the "project_old" field.
func ProjectOldIsNil ¶ added in v0.97.4
ProjectOldIsNil applies the IsNil predicate on the "project_old" field.
func ProjectOldLT ¶ added in v0.97.4
ProjectOldLT applies the LT predicate on the "project_old" field.
func ProjectOldLTE ¶ added in v0.97.4
ProjectOldLTE applies the LTE predicate on the "project_old" field.
func ProjectOldNEQ ¶ added in v0.97.4
ProjectOldNEQ applies the NEQ predicate on the "project_old" field.
func ProjectOldNotIn ¶ added in v0.97.4
ProjectOldNotIn applies the NotIn predicate on the "project_old" field.
func ProjectOldNotNil ¶ added in v0.97.4
ProjectOldNotNil applies the NotNil predicate on the "project_old" field.
func Public ¶
Public applies equality check predicate on the "public" field. It's identical to PublicEQ.
func RunsCount ¶
RunsCount applies equality check predicate on the "runs_count" field. It's identical to RunsCountEQ.
func RunsCountEQ ¶
RunsCountEQ applies the EQ predicate on the "runs_count" field.
func RunsCountGT ¶
RunsCountGT applies the GT predicate on the "runs_count" field.
func RunsCountGTE ¶
RunsCountGTE applies the GTE predicate on the "runs_count" field.
func RunsCountIn ¶
RunsCountIn applies the In predicate on the "runs_count" field.
func RunsCountLT ¶
RunsCountLT applies the LT predicate on the "runs_count" field.
func RunsCountLTE ¶
RunsCountLTE applies the LTE predicate on the "runs_count" field.
func RunsCountNEQ ¶
RunsCountNEQ applies the NEQ predicate on the "runs_count" field.
func RunsCountNotIn ¶
RunsCountNotIn applies the NotIn predicate on the "runs_count" field.
func TeamContains ¶
TeamContains applies the Contains predicate on the "team" field.
func TeamContainsFold ¶
TeamContainsFold applies the ContainsFold predicate on the "team" field.
func TeamEqualFold ¶
TeamEqualFold applies the EqualFold predicate on the "team" field.
func TeamHasPrefix ¶
TeamHasPrefix applies the HasPrefix predicate on the "team" field.
func TeamHasSuffix ¶
TeamHasSuffix applies the HasSuffix predicate on the "team" field.
func TeamNotNil ¶
TeamNotNil applies the NotNil predicate on the "team" field.
func UpdatedAt ¶ added in v0.106.0
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶ added in v0.106.0
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶ added in v0.106.0
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶ added in v0.106.0
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶ added in v0.106.0
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶ added in v0.106.0
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶ added in v0.106.0
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶ added in v0.106.0
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶ added in v0.106.0
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Workflow queries.
func ByContractField ¶
func ByContractField(field string, opts ...sql.OrderTermOption) OrderOption
ByContractField orders the results by contract field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrationAttachments ¶
func ByIntegrationAttachments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegrationAttachments orders the results by integration_attachments terms.
func ByIntegrationAttachmentsCount ¶
func ByIntegrationAttachmentsCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationAttachmentsCount orders the results by integration_attachments count.
func ByLatestRun ¶ added in v0.106.0
func ByLatestRun(opts ...sql.OrderTermOption) OrderOption
ByLatestRun orders the results by the latest_run field.
func ByLatestWorkflowRunField ¶ added in v0.106.0
func ByLatestWorkflowRunField(field string, opts ...sql.OrderTermOption) OrderOption
ByLatestWorkflowRunField orders the results by latest_workflow_run field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByProjectField ¶ added in v0.97.4
func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
ByProjectField orders the results by project field.
func ByProjectID ¶ added in v0.97.4
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByProjectOld ¶ added in v0.97.4
func ByProjectOld(opts ...sql.OrderTermOption) OrderOption
ByProjectOld orders the results by the project_old field.
func ByPublic ¶
func ByPublic(opts ...sql.OrderTermOption) OrderOption
ByPublic orders the results by the public field.
func ByReferrers ¶
func ByReferrers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByReferrers orders the results by referrers terms.
func ByReferrersCount ¶
func ByReferrersCount(opts ...sql.OrderTermOption) OrderOption
ByReferrersCount orders the results by referrers count.
func ByRobotaccounts ¶
func ByRobotaccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRobotaccounts orders the results by robotaccounts terms.
func ByRobotaccountsCount ¶
func ByRobotaccountsCount(opts ...sql.OrderTermOption) OrderOption
ByRobotaccountsCount orders the results by robotaccounts count.
func ByRunsCount ¶
func ByRunsCount(opts ...sql.OrderTermOption) OrderOption
ByRunsCount orders the results by the runs_count field.
func ByTeam ¶
func ByTeam(opts ...sql.OrderTermOption) OrderOption
ByTeam orders the results by the team field.
func ByUpdatedAt ¶ added in v0.106.0
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWorkflowruns ¶
func ByWorkflowruns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowruns orders the results by workflowruns terms.
func ByWorkflowrunsCount ¶
func ByWorkflowrunsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowrunsCount orders the results by workflowruns count.