flowinstance

package
v0.0.0-...-19e0465 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the flowinstance type in the database.
	Label = "flow_instance"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldFlowDeploymentID holds the string denoting the flow_deployment_id field in the database.
	FieldFlowDeploymentID = "flow_deployment_id"
	// FieldRefID holds the string denoting the ref_id field in the database.
	FieldRefID = "ref_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeFlowDeployment holds the string denoting the flow_deployment edge name in mutations.
	EdgeFlowDeployment = "flow_deployment"
	// EdgeFlowNodeInstances holds the string denoting the flow_node_instances edge name in mutations.
	EdgeFlowNodeInstances = "flow_node_instances"
	// Table holds the table name of the flowinstance in the database.
	Table = "flow_instances"
	// FlowDeploymentTable is the table that holds the flow_deployment relation/edge.
	FlowDeploymentTable = "flow_instances"
	// FlowDeploymentInverseTable is the table name for the FlowDeployment entity.
	// It exists in this package in order to avoid circular dependency with the "flowdeployment" package.
	FlowDeploymentInverseTable = "flow_deployments"
	// FlowDeploymentColumn is the table column denoting the flow_deployment relation/edge.
	FlowDeploymentColumn = "flow_deployment_id"
	// FlowNodeInstancesTable is the table that holds the flow_node_instances relation/edge.
	FlowNodeInstancesTable = "flow_node_instances"
	// FlowNodeInstancesInverseTable is the table name for the FlowNodeInstance entity.
	// It exists in this package in order to avoid circular dependency with the "flownodeinstance" package.
	FlowNodeInstancesInverseTable = "flow_node_instances"
	// FlowNodeInstancesColumn is the table column denoting the flow_node_instances relation/edge.
	FlowNodeInstancesColumn = "flow_instance_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() int64
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() int64
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() int64
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt int64
	// FlowDeploymentIDValidator is a validator for the "flow_deployment_id" field. It is called by the builders before save.
	FlowDeploymentIDValidator func(string) error
	// RefIDValidator is a validator for the "ref_id" field. It is called by the builders before save.
	RefIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int8
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for flowinstance fields.

Functions

func And

func And(predicates ...predicate.FlowInstance) predicate.FlowInstance

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v int64) predicate.FlowInstance

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

func CreatedAtEQ

func CreatedAtEQ(v int64) predicate.FlowInstance

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

func CreatedAtGT

func CreatedAtGT(v int64) predicate.FlowInstance

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

func CreatedAtGTE

func CreatedAtGTE(v int64) predicate.FlowInstance

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

func CreatedAtIn

func CreatedAtIn(vs ...int64) predicate.FlowInstance

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

func CreatedAtLT

func CreatedAtLT(v int64) predicate.FlowInstance

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

func CreatedAtLTE

func CreatedAtLTE(v int64) predicate.FlowInstance

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

func CreatedAtNEQ

func CreatedAtNEQ(v int64) predicate.FlowInstance

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

func CreatedAtNotIn

func CreatedAtNotIn(vs ...int64) predicate.FlowInstance

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

func DeletedAt

func DeletedAt(v int64) predicate.FlowInstance

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

func DeletedAtEQ

func DeletedAtEQ(v int64) predicate.FlowInstance

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

func DeletedAtGT

func DeletedAtGT(v int64) predicate.FlowInstance

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

func DeletedAtGTE

func DeletedAtGTE(v int64) predicate.FlowInstance

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

func DeletedAtIn

func DeletedAtIn(vs ...int64) predicate.FlowInstance

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.FlowInstance

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

func DeletedAtLT

func DeletedAtLT(v int64) predicate.FlowInstance

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

func DeletedAtLTE

func DeletedAtLTE(v int64) predicate.FlowInstance

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

func DeletedAtNEQ

func DeletedAtNEQ(v int64) predicate.FlowInstance

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

func DeletedAtNotIn

func DeletedAtNotIn(vs ...int64) predicate.FlowInstance

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.FlowInstance

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

func FlowDeploymentID

func FlowDeploymentID(v string) predicate.FlowInstance

FlowDeploymentID applies equality check predicate on the "flow_deployment_id" field. It's identical to FlowDeploymentIDEQ.

func FlowDeploymentIDContains

func FlowDeploymentIDContains(v string) predicate.FlowInstance

FlowDeploymentIDContains applies the Contains predicate on the "flow_deployment_id" field.

func FlowDeploymentIDContainsFold

func FlowDeploymentIDContainsFold(v string) predicate.FlowInstance

FlowDeploymentIDContainsFold applies the ContainsFold predicate on the "flow_deployment_id" field.

func FlowDeploymentIDEQ

func FlowDeploymentIDEQ(v string) predicate.FlowInstance

FlowDeploymentIDEQ applies the EQ predicate on the "flow_deployment_id" field.

func FlowDeploymentIDEqualFold

func FlowDeploymentIDEqualFold(v string) predicate.FlowInstance

FlowDeploymentIDEqualFold applies the EqualFold predicate on the "flow_deployment_id" field.

func FlowDeploymentIDGT

func FlowDeploymentIDGT(v string) predicate.FlowInstance

FlowDeploymentIDGT applies the GT predicate on the "flow_deployment_id" field.

func FlowDeploymentIDGTE

func FlowDeploymentIDGTE(v string) predicate.FlowInstance

FlowDeploymentIDGTE applies the GTE predicate on the "flow_deployment_id" field.

func FlowDeploymentIDHasPrefix

func FlowDeploymentIDHasPrefix(v string) predicate.FlowInstance

FlowDeploymentIDHasPrefix applies the HasPrefix predicate on the "flow_deployment_id" field.

func FlowDeploymentIDHasSuffix

func FlowDeploymentIDHasSuffix(v string) predicate.FlowInstance

FlowDeploymentIDHasSuffix applies the HasSuffix predicate on the "flow_deployment_id" field.

func FlowDeploymentIDIn

func FlowDeploymentIDIn(vs ...string) predicate.FlowInstance

FlowDeploymentIDIn applies the In predicate on the "flow_deployment_id" field.

func FlowDeploymentIDLT

func FlowDeploymentIDLT(v string) predicate.FlowInstance

FlowDeploymentIDLT applies the LT predicate on the "flow_deployment_id" field.

func FlowDeploymentIDLTE

func FlowDeploymentIDLTE(v string) predicate.FlowInstance

FlowDeploymentIDLTE applies the LTE predicate on the "flow_deployment_id" field.

func FlowDeploymentIDNEQ

func FlowDeploymentIDNEQ(v string) predicate.FlowInstance

FlowDeploymentIDNEQ applies the NEQ predicate on the "flow_deployment_id" field.

func FlowDeploymentIDNotIn

func FlowDeploymentIDNotIn(vs ...string) predicate.FlowInstance

FlowDeploymentIDNotIn applies the NotIn predicate on the "flow_deployment_id" field.

func HasFlowDeployment

func HasFlowDeployment() predicate.FlowInstance

HasFlowDeployment applies the HasEdge predicate on the "flow_deployment" edge.

func HasFlowDeploymentWith

func HasFlowDeploymentWith(preds ...predicate.FlowDeployment) predicate.FlowInstance

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

func HasFlowNodeInstances

func HasFlowNodeInstances() predicate.FlowInstance

HasFlowNodeInstances applies the HasEdge predicate on the "flow_node_instances" edge.

func HasFlowNodeInstancesWith

func HasFlowNodeInstancesWith(preds ...predicate.FlowNodeInstance) predicate.FlowInstance

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.FlowInstance

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.FlowInstance

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.FlowInstance

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.FlowInstance

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.FlowInstance

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.FlowInstance

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.FlowInstance

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.FlowInstance

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FlowInstance) predicate.FlowInstance

Or groups predicates with the OR operator between them.

func RefID

func RefID(v string) predicate.FlowInstance

RefID applies equality check predicate on the "ref_id" field. It's identical to RefIDEQ.

func RefIDContains

func RefIDContains(v string) predicate.FlowInstance

RefIDContains applies the Contains predicate on the "ref_id" field.

func RefIDContainsFold

func RefIDContainsFold(v string) predicate.FlowInstance

RefIDContainsFold applies the ContainsFold predicate on the "ref_id" field.

func RefIDEQ

func RefIDEQ(v string) predicate.FlowInstance

RefIDEQ applies the EQ predicate on the "ref_id" field.

func RefIDEqualFold

func RefIDEqualFold(v string) predicate.FlowInstance

RefIDEqualFold applies the EqualFold predicate on the "ref_id" field.

func RefIDGT

func RefIDGT(v string) predicate.FlowInstance

RefIDGT applies the GT predicate on the "ref_id" field.

func RefIDGTE

func RefIDGTE(v string) predicate.FlowInstance

RefIDGTE applies the GTE predicate on the "ref_id" field.

func RefIDHasPrefix

func RefIDHasPrefix(v string) predicate.FlowInstance

RefIDHasPrefix applies the HasPrefix predicate on the "ref_id" field.

func RefIDHasSuffix

func RefIDHasSuffix(v string) predicate.FlowInstance

RefIDHasSuffix applies the HasSuffix predicate on the "ref_id" field.

func RefIDIn

func RefIDIn(vs ...string) predicate.FlowInstance

RefIDIn applies the In predicate on the "ref_id" field.

func RefIDLT

func RefIDLT(v string) predicate.FlowInstance

RefIDLT applies the LT predicate on the "ref_id" field.

func RefIDLTE

func RefIDLTE(v string) predicate.FlowInstance

RefIDLTE applies the LTE predicate on the "ref_id" field.

func RefIDNEQ

func RefIDNEQ(v string) predicate.FlowInstance

RefIDNEQ applies the NEQ predicate on the "ref_id" field.

func RefIDNotIn

func RefIDNotIn(vs ...string) predicate.FlowInstance

RefIDNotIn applies the NotIn predicate on the "ref_id" field.

func Status

func Status(v int8) predicate.FlowInstance

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int8) predicate.FlowInstance

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int8) predicate.FlowInstance

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int8) predicate.FlowInstance

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int8) predicate.FlowInstance

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int8) predicate.FlowInstance

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int8) predicate.FlowInstance

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int8) predicate.FlowInstance

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int8) predicate.FlowInstance

StatusNotIn applies the NotIn predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v int64) predicate.FlowInstance

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

func UpdatedAtEQ

func UpdatedAtEQ(v int64) predicate.FlowInstance

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

func UpdatedAtGT

func UpdatedAtGT(v int64) predicate.FlowInstance

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

func UpdatedAtGTE

func UpdatedAtGTE(v int64) predicate.FlowInstance

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

func UpdatedAtIn

func UpdatedAtIn(vs ...int64) predicate.FlowInstance

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

func UpdatedAtLT

func UpdatedAtLT(v int64) predicate.FlowInstance

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

func UpdatedAtLTE

func UpdatedAtLTE(v int64) predicate.FlowInstance

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v int64) predicate.FlowInstance

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

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...int64) predicate.FlowInstance

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

This section is empty.

Jump to

Keyboard shortcuts

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