workflow

package
v0.146.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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_id"
	// 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

View Source
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
)

Columns holds all SQL columns for workflow fields.

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

View Source
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 And

func And(predicates ...predicate.Workflow) predicate.Workflow

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Workflow

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Workflow

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Workflow

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Workflow

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Workflow

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Workflow

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Workflow

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Workflow

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Workflow

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Workflow

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Workflow

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Workflow

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Workflow

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Workflow

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Workflow

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Workflow

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Workflow

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Workflow

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Workflow

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Workflow

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.Workflow

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Workflow

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Workflow

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Workflow

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Workflow

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Workflow

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Workflow

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Workflow

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Workflow

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Workflow

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Workflow

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Workflow

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Workflow

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Workflow

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Workflow

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Workflow

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasContract

func HasContract() predicate.Workflow

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

func HasIntegrationAttachments() predicate.Workflow

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

func HasLatestWorkflowRun() predicate.Workflow

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

func HasOrganization() predicate.Workflow

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

func HasProject() predicate.Workflow

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith added in v0.97.4

func HasProjectWith(preds ...predicate.Project) predicate.Workflow

HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).

func HasReferrers

func HasReferrers() predicate.Workflow

HasReferrers applies the HasEdge predicate on the "referrers" edge.

func HasReferrersWith

func HasReferrersWith(preds ...predicate.Referrer) predicate.Workflow

HasReferrersWith applies the HasEdge predicate on the "referrers" edge with a given conditions (other predicates).

func HasRobotaccounts

func HasRobotaccounts() predicate.Workflow

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

func HasWorkflowruns() predicate.Workflow

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 ID

func ID(id uuid.UUID) predicate.Workflow

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Workflow

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Workflow

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Workflow

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Workflow

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Workflow

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Workflow

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Workflow

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Workflow

IDNotIn applies the NotIn predicate on the ID field.

func LatestRun added in v0.106.0

func LatestRun(v uuid.UUID) predicate.Workflow

LatestRun applies equality check predicate on the "latest_run" field. It's identical to LatestRunEQ.

func LatestRunEQ added in v0.106.0

func LatestRunEQ(v uuid.UUID) predicate.Workflow

LatestRunEQ applies the EQ predicate on the "latest_run" field.

func LatestRunIn added in v0.106.0

func LatestRunIn(vs ...uuid.UUID) predicate.Workflow

LatestRunIn applies the In predicate on the "latest_run" field.

func LatestRunIsNil added in v0.106.0

func LatestRunIsNil() predicate.Workflow

LatestRunIsNil applies the IsNil predicate on the "latest_run" field.

func LatestRunNEQ added in v0.106.0

func LatestRunNEQ(v uuid.UUID) predicate.Workflow

LatestRunNEQ applies the NEQ predicate on the "latest_run" field.

func LatestRunNotIn added in v0.106.0

func LatestRunNotIn(vs ...uuid.UUID) predicate.Workflow

LatestRunNotIn applies the NotIn predicate on the "latest_run" field.

func LatestRunNotNil added in v0.106.0

func LatestRunNotNil() predicate.Workflow

LatestRunNotNil applies the NotNil predicate on the "latest_run" field.

func Name

func Name(v string) predicate.Workflow

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Workflow

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Workflow

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Workflow

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Workflow

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Workflow

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Workflow

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Workflow

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Workflow

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Workflow

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Workflow

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Workflow

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Workflow

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Workflow

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Workflow) predicate.Workflow

Or groups predicates with the OR operator between them.

func OrganizationID

func OrganizationID(v uuid.UUID) predicate.Workflow

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDEQ

func OrganizationIDEQ(v uuid.UUID) predicate.Workflow

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...uuid.UUID) predicate.Workflow

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v uuid.UUID) predicate.Workflow

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Workflow

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func ProjectID added in v0.97.4

func ProjectID(v uuid.UUID) predicate.Workflow

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDEQ added in v0.97.4

func ProjectIDEQ(v uuid.UUID) predicate.Workflow

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDIn added in v0.97.4

func ProjectIDIn(vs ...uuid.UUID) predicate.Workflow

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDNEQ added in v0.97.4

func ProjectIDNEQ(v uuid.UUID) predicate.Workflow

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn added in v0.97.4

func ProjectIDNotIn(vs ...uuid.UUID) predicate.Workflow

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func ProjectOld added in v0.97.4

func ProjectOld(v string) predicate.Workflow

ProjectOld applies equality check predicate on the "project_old" field. It's identical to ProjectOldEQ.

func ProjectOldContains added in v0.97.4

func ProjectOldContains(v string) predicate.Workflow

ProjectOldContains applies the Contains predicate on the "project_old" field.

func ProjectOldContainsFold added in v0.97.4

func ProjectOldContainsFold(v string) predicate.Workflow

ProjectOldContainsFold applies the ContainsFold predicate on the "project_old" field.

func ProjectOldEQ added in v0.97.4

func ProjectOldEQ(v string) predicate.Workflow

ProjectOldEQ applies the EQ predicate on the "project_old" field.

func ProjectOldEqualFold added in v0.97.4

func ProjectOldEqualFold(v string) predicate.Workflow

ProjectOldEqualFold applies the EqualFold predicate on the "project_old" field.

func ProjectOldGT added in v0.97.4

func ProjectOldGT(v string) predicate.Workflow

ProjectOldGT applies the GT predicate on the "project_old" field.

func ProjectOldGTE added in v0.97.4

func ProjectOldGTE(v string) predicate.Workflow

ProjectOldGTE applies the GTE predicate on the "project_old" field.

func ProjectOldHasPrefix added in v0.97.4

func ProjectOldHasPrefix(v string) predicate.Workflow

ProjectOldHasPrefix applies the HasPrefix predicate on the "project_old" field.

func ProjectOldHasSuffix added in v0.97.4

func ProjectOldHasSuffix(v string) predicate.Workflow

ProjectOldHasSuffix applies the HasSuffix predicate on the "project_old" field.

func ProjectOldIn added in v0.97.4

func ProjectOldIn(vs ...string) predicate.Workflow

ProjectOldIn applies the In predicate on the "project_old" field.

func ProjectOldIsNil added in v0.97.4

func ProjectOldIsNil() predicate.Workflow

ProjectOldIsNil applies the IsNil predicate on the "project_old" field.

func ProjectOldLT added in v0.97.4

func ProjectOldLT(v string) predicate.Workflow

ProjectOldLT applies the LT predicate on the "project_old" field.

func ProjectOldLTE added in v0.97.4

func ProjectOldLTE(v string) predicate.Workflow

ProjectOldLTE applies the LTE predicate on the "project_old" field.

func ProjectOldNEQ added in v0.97.4

func ProjectOldNEQ(v string) predicate.Workflow

ProjectOldNEQ applies the NEQ predicate on the "project_old" field.

func ProjectOldNotIn added in v0.97.4

func ProjectOldNotIn(vs ...string) predicate.Workflow

ProjectOldNotIn applies the NotIn predicate on the "project_old" field.

func ProjectOldNotNil added in v0.97.4

func ProjectOldNotNil() predicate.Workflow

ProjectOldNotNil applies the NotNil predicate on the "project_old" field.

func Public

func Public(v bool) predicate.Workflow

Public applies equality check predicate on the "public" field. It's identical to PublicEQ.

func PublicEQ

func PublicEQ(v bool) predicate.Workflow

PublicEQ applies the EQ predicate on the "public" field.

func PublicNEQ

func PublicNEQ(v bool) predicate.Workflow

PublicNEQ applies the NEQ predicate on the "public" field.

func RunsCount

func RunsCount(v int) predicate.Workflow

RunsCount applies equality check predicate on the "runs_count" field. It's identical to RunsCountEQ.

func RunsCountEQ

func RunsCountEQ(v int) predicate.Workflow

RunsCountEQ applies the EQ predicate on the "runs_count" field.

func RunsCountGT

func RunsCountGT(v int) predicate.Workflow

RunsCountGT applies the GT predicate on the "runs_count" field.

func RunsCountGTE

func RunsCountGTE(v int) predicate.Workflow

RunsCountGTE applies the GTE predicate on the "runs_count" field.

func RunsCountIn

func RunsCountIn(vs ...int) predicate.Workflow

RunsCountIn applies the In predicate on the "runs_count" field.

func RunsCountLT

func RunsCountLT(v int) predicate.Workflow

RunsCountLT applies the LT predicate on the "runs_count" field.

func RunsCountLTE

func RunsCountLTE(v int) predicate.Workflow

RunsCountLTE applies the LTE predicate on the "runs_count" field.

func RunsCountNEQ

func RunsCountNEQ(v int) predicate.Workflow

RunsCountNEQ applies the NEQ predicate on the "runs_count" field.

func RunsCountNotIn

func RunsCountNotIn(vs ...int) predicate.Workflow

RunsCountNotIn applies the NotIn predicate on the "runs_count" field.

func Team

func Team(v string) predicate.Workflow

Team applies equality check predicate on the "team" field. It's identical to TeamEQ.

func TeamContains

func TeamContains(v string) predicate.Workflow

TeamContains applies the Contains predicate on the "team" field.

func TeamContainsFold

func TeamContainsFold(v string) predicate.Workflow

TeamContainsFold applies the ContainsFold predicate on the "team" field.

func TeamEQ

func TeamEQ(v string) predicate.Workflow

TeamEQ applies the EQ predicate on the "team" field.

func TeamEqualFold

func TeamEqualFold(v string) predicate.Workflow

TeamEqualFold applies the EqualFold predicate on the "team" field.

func TeamGT

func TeamGT(v string) predicate.Workflow

TeamGT applies the GT predicate on the "team" field.

func TeamGTE

func TeamGTE(v string) predicate.Workflow

TeamGTE applies the GTE predicate on the "team" field.

func TeamHasPrefix

func TeamHasPrefix(v string) predicate.Workflow

TeamHasPrefix applies the HasPrefix predicate on the "team" field.

func TeamHasSuffix

func TeamHasSuffix(v string) predicate.Workflow

TeamHasSuffix applies the HasSuffix predicate on the "team" field.

func TeamIn

func TeamIn(vs ...string) predicate.Workflow

TeamIn applies the In predicate on the "team" field.

func TeamIsNil

func TeamIsNil() predicate.Workflow

TeamIsNil applies the IsNil predicate on the "team" field.

func TeamLT

func TeamLT(v string) predicate.Workflow

TeamLT applies the LT predicate on the "team" field.

func TeamLTE

func TeamLTE(v string) predicate.Workflow

TeamLTE applies the LTE predicate on the "team" field.

func TeamNEQ

func TeamNEQ(v string) predicate.Workflow

TeamNEQ applies the NEQ predicate on the "team" field.

func TeamNotIn

func TeamNotIn(vs ...string) predicate.Workflow

TeamNotIn applies the NotIn predicate on the "team" field.

func TeamNotNil

func TeamNotNil() predicate.Workflow

TeamNotNil applies the NotNil predicate on the "team" field.

func UpdatedAt added in v0.106.0

func UpdatedAt(v time.Time) predicate.Workflow

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ added in v0.106.0

func UpdatedAtEQ(v time.Time) predicate.Workflow

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT added in v0.106.0

func UpdatedAtGT(v time.Time) predicate.Workflow

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE added in v0.106.0

func UpdatedAtGTE(v time.Time) predicate.Workflow

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn added in v0.106.0

func UpdatedAtIn(vs ...time.Time) predicate.Workflow

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT added in v0.106.0

func UpdatedAtLT(v time.Time) predicate.Workflow

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE added in v0.106.0

func UpdatedAtLTE(v time.Time) predicate.Workflow

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ added in v0.106.0

func UpdatedAtNEQ(v time.Time) predicate.Workflow

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn added in v0.106.0

func UpdatedAtNotIn(vs ...time.Time) predicate.Workflow

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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