workflow

package
v0.8.98 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 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"
	// 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

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
	// 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{
	"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 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 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 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 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 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 Project

func Project(v string) predicate.Workflow

Project applies equality check predicate on the "project" field. It's identical to ProjectEQ.

func ProjectContains

func ProjectContains(v string) predicate.Workflow

ProjectContains applies the Contains predicate on the "project" field.

func ProjectContainsFold

func ProjectContainsFold(v string) predicate.Workflow

ProjectContainsFold applies the ContainsFold predicate on the "project" field.

func ProjectEQ

func ProjectEQ(v string) predicate.Workflow

ProjectEQ applies the EQ predicate on the "project" field.

func ProjectEqualFold

func ProjectEqualFold(v string) predicate.Workflow

ProjectEqualFold applies the EqualFold predicate on the "project" field.

func ProjectGT

func ProjectGT(v string) predicate.Workflow

ProjectGT applies the GT predicate on the "project" field.

func ProjectGTE

func ProjectGTE(v string) predicate.Workflow

ProjectGTE applies the GTE predicate on the "project" field.

func ProjectHasPrefix

func ProjectHasPrefix(v string) predicate.Workflow

ProjectHasPrefix applies the HasPrefix predicate on the "project" field.

func ProjectHasSuffix

func ProjectHasSuffix(v string) predicate.Workflow

ProjectHasSuffix applies the HasSuffix predicate on the "project" field.

func ProjectIn

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

ProjectIn applies the In predicate on the "project" field.

func ProjectIsNil

func ProjectIsNil() predicate.Workflow

ProjectIsNil applies the IsNil predicate on the "project" field.

func ProjectLT

func ProjectLT(v string) predicate.Workflow

ProjectLT applies the LT predicate on the "project" field.

func ProjectLTE

func ProjectLTE(v string) predicate.Workflow

ProjectLTE applies the LTE predicate on the "project" field.

func ProjectNEQ

func ProjectNEQ(v string) predicate.Workflow

ProjectNEQ applies the NEQ predicate on the "project" field.

func ProjectNotIn

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

ProjectNotIn applies the NotIn predicate on the "project" field.

func ProjectNotNil

func ProjectNotNil() predicate.Workflow

ProjectNotNil applies the NotNil predicate on the "project" 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 ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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