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 HasContract() predicate.Workflow
- func HasContractWith(preds ...predicate.WorkflowContract) predicate.Workflow
- func HasIntegrationAttachments() predicate.Workflow
- func HasIntegrationAttachmentsWith(preds ...predicate.IntegrationAttachment) predicate.Workflow
- func HasOrganization() predicate.Workflow
- func HasOrganizationWith(preds ...predicate.Organization) 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 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 Project(v string) predicate.Workflow
- func ProjectContains(v string) predicate.Workflow
- func ProjectContainsFold(v string) predicate.Workflow
- func ProjectEQ(v string) predicate.Workflow
- func ProjectEqualFold(v string) predicate.Workflow
- func ProjectGT(v string) predicate.Workflow
- func ProjectGTE(v string) predicate.Workflow
- func ProjectHasPrefix(v string) predicate.Workflow
- func ProjectHasSuffix(v string) predicate.Workflow
- func ProjectIn(vs ...string) predicate.Workflow
- func ProjectIsNil() predicate.Workflow
- func ProjectLT(v string) predicate.Workflow
- func ProjectLTE(v string) predicate.Workflow
- func ProjectNEQ(v string) predicate.Workflow
- func ProjectNotIn(vs ...string) predicate.Workflow
- func ProjectNotNil() 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 ValidColumn(column string) bool
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" // FieldProject holds the string denoting the project field in the database. FieldProject = "project" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // 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" // 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 = "integration_attachment_workflow" )
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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldProject, FieldTeam, FieldRunsCount, FieldCreatedAt, FieldDeletedAt, }
Columns holds all SQL columns for workflow fields.
var ForeignKeys = []string{
"organization_id",
"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.
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 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 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 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 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 Project ¶
Project applies equality check predicate on the "project" field. It's identical to ProjectEQ.
func ProjectContains ¶
ProjectContains applies the Contains predicate on the "project" field.
func ProjectContainsFold ¶
ProjectContainsFold applies the ContainsFold predicate on the "project" field.
func ProjectEqualFold ¶
ProjectEqualFold applies the EqualFold predicate on the "project" field.
func ProjectGTE ¶
ProjectGTE applies the GTE predicate on the "project" field.
func ProjectHasPrefix ¶
ProjectHasPrefix applies the HasPrefix predicate on the "project" field.
func ProjectHasSuffix ¶
ProjectHasSuffix applies the HasSuffix predicate on the "project" field.
func ProjectIsNil ¶
ProjectIsNil applies the IsNil predicate on the "project" field.
func ProjectLTE ¶
ProjectLTE applies the LTE predicate on the "project" field.
func ProjectNEQ ¶
ProjectNEQ applies the NEQ predicate on the "project" field.
func ProjectNotIn ¶
ProjectNotIn applies the NotIn predicate on the "project" field.
func ProjectNotNil ¶
ProjectNotNil applies the NotNil predicate on the "project" field.
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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.