procdef

package
v0.0.0-...-738d89c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the procdef type in the database.
	Label = "proc_def"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldDeploymentID holds the string denoting the deployment_id field in the database.
	FieldDeploymentID = "deployment_id"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// FieldVersionTag holds the string denoting the version_tag field in the database.
	FieldVersionTag = "version_tag"
	// FieldResourceKey holds the string denoting the resource_key field in the database.
	FieldResourceKey = "resource_key"
	// FieldResourceID holds the string denoting the resource_id field in the database.
	FieldResourceID = "resource_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeDeployment holds the string denoting the deployment edge name in mutations.
	EdgeDeployment = "deployment"
	// EdgeProcInstances holds the string denoting the proc_instances edge name in mutations.
	EdgeProcInstances = "proc_instances"
	// Table holds the table name of the procdef in the database.
	Table = "act_proc_def"
	// DeploymentTable is the table that holds the deployment relation/edge.
	DeploymentTable = "act_proc_def"
	// DeploymentInverseTable is the table name for the Deployment entity.
	// It exists in this package in order to avoid circular dependency with the "deployment" package.
	DeploymentInverseTable = "act_deployment"
	// DeploymentColumn is the table column denoting the deployment relation/edge.
	DeploymentColumn = "deployment_id"
	// ProcInstancesTable is the table that holds the proc_instances relation/edge.
	ProcInstancesTable = "act_proc_inst"
	// ProcInstancesInverseTable is the table name for the ProcInst entity.
	// It exists in this package in order to avoid circular dependency with the "procinst" package.
	ProcInstancesInverseTable = "act_proc_inst"
	// ProcInstancesColumn is the table column denoting the proc_instances relation/edge.
	ProcInstancesColumn = "proc_def_id"
)
View Source
const DefaultStatus typex.SimpleStatus = "active"

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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() int
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/woocoos/workflow/ent/runtime"

Columns holds all SQL columns for procdef fields.

Functions

func And

func And(predicates ...predicate.ProcDef) predicate.ProcDef

And groups predicates with the AND operator between them.

func AppID

func AppID(v int) predicate.ProcDef

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v int) predicate.ProcDef

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v int) predicate.ProcDef

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v int) predicate.ProcDef

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...int) predicate.ProcDef

AppIDIn applies the In predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v int) predicate.ProcDef

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v int) predicate.ProcDef

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v int) predicate.ProcDef

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...int) predicate.ProcDef

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func Category

func Category(v string) predicate.ProcDef

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.ProcDef

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.ProcDef

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.ProcDef

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.ProcDef

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.ProcDef

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.ProcDef

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.ProcDef

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.ProcDef

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

func CategoryIn(vs ...string) predicate.ProcDef

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil

func CategoryIsNil() predicate.ProcDef

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.ProcDef

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.ProcDef

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.ProcDef

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

func CategoryNotIn(vs ...string) predicate.ProcDef

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil

func CategoryNotNil() predicate.ProcDef

CategoryNotNil applies the NotNil predicate on the "category" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProcDef

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProcDef

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProcDef

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProcDef

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProcDef

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProcDef

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProcDef

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int) predicate.ProcDef

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int) predicate.ProcDef

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int) predicate.ProcDef

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int) predicate.ProcDef

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int) predicate.ProcDef

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int) predicate.ProcDef

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int) predicate.ProcDef

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.ProcDef

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.ProcDef

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DeploymentID

func DeploymentID(v int) predicate.ProcDef

DeploymentID applies equality check predicate on the "deployment_id" field. It's identical to DeploymentIDEQ.

func DeploymentIDEQ

func DeploymentIDEQ(v int) predicate.ProcDef

DeploymentIDEQ applies the EQ predicate on the "deployment_id" field.

func DeploymentIDIn

func DeploymentIDIn(vs ...int) predicate.ProcDef

DeploymentIDIn applies the In predicate on the "deployment_id" field.

func DeploymentIDNEQ

func DeploymentIDNEQ(v int) predicate.ProcDef

DeploymentIDNEQ applies the NEQ predicate on the "deployment_id" field.

func DeploymentIDNotIn

func DeploymentIDNotIn(vs ...int) predicate.ProcDef

DeploymentIDNotIn applies the NotIn predicate on the "deployment_id" field.

func HasDeployment

func HasDeployment() predicate.ProcDef

HasDeployment applies the HasEdge predicate on the "deployment" edge.

func HasDeploymentWith

func HasDeploymentWith(preds ...predicate.Deployment) predicate.ProcDef

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

func HasProcInstances

func HasProcInstances() predicate.ProcDef

HasProcInstances applies the HasEdge predicate on the "proc_instances" edge.

func HasProcInstancesWith

func HasProcInstancesWith(preds ...predicate.ProcInst) predicate.ProcDef

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

func ID

func ID(id int) predicate.ProcDef

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ProcDef

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ProcDef

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ProcDef

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ProcDef

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ProcDef

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ProcDef

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ProcDef

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ProcDef

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.ProcDef

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.ProcDef

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.ProcDef

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.ProcDef

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.ProcDef

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.ProcDef

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.ProcDef

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.ProcDef

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.ProcDef

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.ProcDef

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.ProcDef

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.ProcDef

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.ProcDef

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.ProcDef

KeyNotIn applies the NotIn predicate on the "key" field.

func Name

func Name(v string) predicate.ProcDef

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

func NameContains

func NameContains(v string) predicate.ProcDef

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

func NameContainsFold

func NameContainsFold(v string) predicate.ProcDef

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

func NameEQ

func NameEQ(v string) predicate.ProcDef

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

func NameEqualFold

func NameEqualFold(v string) predicate.ProcDef

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

func NameGT

func NameGT(v string) predicate.ProcDef

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

func NameGTE

func NameGTE(v string) predicate.ProcDef

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ProcDef

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProcDef

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.ProcDef

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.ProcDef

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

func NameLTE

func NameLTE(v string) predicate.ProcDef

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

func NameNEQ

func NameNEQ(v string) predicate.ProcDef

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.ProcDef

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ProcDef) predicate.ProcDef

Or groups predicates with the OR operator between them.

func ResourceID

func ResourceID(v int) predicate.ProcDef

ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.

func ResourceIDEQ

func ResourceIDEQ(v int) predicate.ProcDef

ResourceIDEQ applies the EQ predicate on the "resource_id" field.

func ResourceIDGT

func ResourceIDGT(v int) predicate.ProcDef

ResourceIDGT applies the GT predicate on the "resource_id" field.

func ResourceIDGTE

func ResourceIDGTE(v int) predicate.ProcDef

ResourceIDGTE applies the GTE predicate on the "resource_id" field.

func ResourceIDIn

func ResourceIDIn(vs ...int) predicate.ProcDef

ResourceIDIn applies the In predicate on the "resource_id" field.

func ResourceIDIsNil

func ResourceIDIsNil() predicate.ProcDef

ResourceIDIsNil applies the IsNil predicate on the "resource_id" field.

func ResourceIDLT

func ResourceIDLT(v int) predicate.ProcDef

ResourceIDLT applies the LT predicate on the "resource_id" field.

func ResourceIDLTE

func ResourceIDLTE(v int) predicate.ProcDef

ResourceIDLTE applies the LTE predicate on the "resource_id" field.

func ResourceIDNEQ

func ResourceIDNEQ(v int) predicate.ProcDef

ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.

func ResourceIDNotIn

func ResourceIDNotIn(vs ...int) predicate.ProcDef

ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.

func ResourceIDNotNil

func ResourceIDNotNil() predicate.ProcDef

ResourceIDNotNil applies the NotNil predicate on the "resource_id" field.

func ResourceKey

func ResourceKey(v string) predicate.ProcDef

ResourceKey applies equality check predicate on the "resource_key" field. It's identical to ResourceKeyEQ.

func ResourceKeyContains

func ResourceKeyContains(v string) predicate.ProcDef

ResourceKeyContains applies the Contains predicate on the "resource_key" field.

func ResourceKeyContainsFold

func ResourceKeyContainsFold(v string) predicate.ProcDef

ResourceKeyContainsFold applies the ContainsFold predicate on the "resource_key" field.

func ResourceKeyEQ

func ResourceKeyEQ(v string) predicate.ProcDef

ResourceKeyEQ applies the EQ predicate on the "resource_key" field.

func ResourceKeyEqualFold

func ResourceKeyEqualFold(v string) predicate.ProcDef

ResourceKeyEqualFold applies the EqualFold predicate on the "resource_key" field.

func ResourceKeyGT

func ResourceKeyGT(v string) predicate.ProcDef

ResourceKeyGT applies the GT predicate on the "resource_key" field.

func ResourceKeyGTE

func ResourceKeyGTE(v string) predicate.ProcDef

ResourceKeyGTE applies the GTE predicate on the "resource_key" field.

func ResourceKeyHasPrefix

func ResourceKeyHasPrefix(v string) predicate.ProcDef

ResourceKeyHasPrefix applies the HasPrefix predicate on the "resource_key" field.

func ResourceKeyHasSuffix

func ResourceKeyHasSuffix(v string) predicate.ProcDef

ResourceKeyHasSuffix applies the HasSuffix predicate on the "resource_key" field.

func ResourceKeyIn

func ResourceKeyIn(vs ...string) predicate.ProcDef

ResourceKeyIn applies the In predicate on the "resource_key" field.

func ResourceKeyIsNil

func ResourceKeyIsNil() predicate.ProcDef

ResourceKeyIsNil applies the IsNil predicate on the "resource_key" field.

func ResourceKeyLT

func ResourceKeyLT(v string) predicate.ProcDef

ResourceKeyLT applies the LT predicate on the "resource_key" field.

func ResourceKeyLTE

func ResourceKeyLTE(v string) predicate.ProcDef

ResourceKeyLTE applies the LTE predicate on the "resource_key" field.

func ResourceKeyNEQ

func ResourceKeyNEQ(v string) predicate.ProcDef

ResourceKeyNEQ applies the NEQ predicate on the "resource_key" field.

func ResourceKeyNotIn

func ResourceKeyNotIn(vs ...string) predicate.ProcDef

ResourceKeyNotIn applies the NotIn predicate on the "resource_key" field.

func ResourceKeyNotNil

func ResourceKeyNotNil() predicate.ProcDef

ResourceKeyNotNil applies the NotNil predicate on the "resource_key" field.

func Revision

func Revision(v int32) predicate.ProcDef

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionEQ

func RevisionEQ(v int32) predicate.ProcDef

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionGT

func RevisionGT(v int32) predicate.ProcDef

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE

func RevisionGTE(v int32) predicate.ProcDef

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionIn

func RevisionIn(vs ...int32) predicate.ProcDef

RevisionIn applies the In predicate on the "revision" field.

func RevisionIsNil

func RevisionIsNil() predicate.ProcDef

RevisionIsNil applies the IsNil predicate on the "revision" field.

func RevisionLT

func RevisionLT(v int32) predicate.ProcDef

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE

func RevisionLTE(v int32) predicate.ProcDef

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ

func RevisionNEQ(v int32) predicate.ProcDef

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn

func RevisionNotIn(vs ...int32) predicate.ProcDef

RevisionNotIn applies the NotIn predicate on the "revision" field.

func RevisionNotNil

func RevisionNotNil() predicate.ProcDef

RevisionNotNil applies the NotNil predicate on the "revision" field.

func StatusEQ

func StatusEQ(v typex.SimpleStatus) predicate.ProcDef

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

func StatusIn

func StatusIn(vs ...typex.SimpleStatus) predicate.ProcDef

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

func StatusNEQ

func StatusNEQ(v typex.SimpleStatus) predicate.ProcDef

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

func StatusNotIn

func StatusNotIn(vs ...typex.SimpleStatus) predicate.ProcDef

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

func StatusValidator

func StatusValidator(s typex.SimpleStatus) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TenantID

func TenantID(v int) predicate.ProcDef

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v int) predicate.ProcDef

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v int) predicate.ProcDef

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v int) predicate.ProcDef

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...int) predicate.ProcDef

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v int) predicate.ProcDef

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v int) predicate.ProcDef

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v int) predicate.ProcDef

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...int) predicate.ProcDef

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProcDef

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProcDef

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProcDef

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProcDef

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ProcDef

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProcDef

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProcDef

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProcDef

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ProcDef

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int) predicate.ProcDef

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.ProcDef

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int) predicate.ProcDef

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.ProcDef

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.ProcDef

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.ProcDef

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int) predicate.ProcDef

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.ProcDef

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.ProcDef

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.ProcDef

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.ProcDef

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

func Version(v int32) predicate.ProcDef

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int32) predicate.ProcDef

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int32) predicate.ProcDef

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int32) predicate.ProcDef

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int32) predicate.ProcDef

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.ProcDef

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v int32) predicate.ProcDef

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int32) predicate.ProcDef

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int32) predicate.ProcDef

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int32) predicate.ProcDef

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.ProcDef

VersionNotNil applies the NotNil predicate on the "version" field.

func VersionTag

func VersionTag(v string) predicate.ProcDef

VersionTag applies equality check predicate on the "version_tag" field. It's identical to VersionTagEQ.

func VersionTagContains

func VersionTagContains(v string) predicate.ProcDef

VersionTagContains applies the Contains predicate on the "version_tag" field.

func VersionTagContainsFold

func VersionTagContainsFold(v string) predicate.ProcDef

VersionTagContainsFold applies the ContainsFold predicate on the "version_tag" field.

func VersionTagEQ

func VersionTagEQ(v string) predicate.ProcDef

VersionTagEQ applies the EQ predicate on the "version_tag" field.

func VersionTagEqualFold

func VersionTagEqualFold(v string) predicate.ProcDef

VersionTagEqualFold applies the EqualFold predicate on the "version_tag" field.

func VersionTagGT

func VersionTagGT(v string) predicate.ProcDef

VersionTagGT applies the GT predicate on the "version_tag" field.

func VersionTagGTE

func VersionTagGTE(v string) predicate.ProcDef

VersionTagGTE applies the GTE predicate on the "version_tag" field.

func VersionTagHasPrefix

func VersionTagHasPrefix(v string) predicate.ProcDef

VersionTagHasPrefix applies the HasPrefix predicate on the "version_tag" field.

func VersionTagHasSuffix

func VersionTagHasSuffix(v string) predicate.ProcDef

VersionTagHasSuffix applies the HasSuffix predicate on the "version_tag" field.

func VersionTagIn

func VersionTagIn(vs ...string) predicate.ProcDef

VersionTagIn applies the In predicate on the "version_tag" field.

func VersionTagIsNil

func VersionTagIsNil() predicate.ProcDef

VersionTagIsNil applies the IsNil predicate on the "version_tag" field.

func VersionTagLT

func VersionTagLT(v string) predicate.ProcDef

VersionTagLT applies the LT predicate on the "version_tag" field.

func VersionTagLTE

func VersionTagLTE(v string) predicate.ProcDef

VersionTagLTE applies the LTE predicate on the "version_tag" field.

func VersionTagNEQ

func VersionTagNEQ(v string) predicate.ProcDef

VersionTagNEQ applies the NEQ predicate on the "version_tag" field.

func VersionTagNotIn

func VersionTagNotIn(vs ...string) predicate.ProcDef

VersionTagNotIn applies the NotIn predicate on the "version_tag" field.

func VersionTagNotNil

func VersionTagNotNil() predicate.ProcDef

VersionTagNotNil applies the NotNil predicate on the "version_tag" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProcDef queries.

func ByAppID

func ByAppID(opts ...sql.OrderTermOption) OrderOption

ByAppID orders the results by the app_id field.

func ByCategory

func ByCategory(opts ...sql.OrderTermOption) OrderOption

ByCategory orders the results by the category field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeploymentField

func ByDeploymentField(field string, opts ...sql.OrderTermOption) OrderOption

ByDeploymentField orders the results by deployment field.

func ByDeploymentID

func ByDeploymentID(opts ...sql.OrderTermOption) OrderOption

ByDeploymentID orders the results by the deployment_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByKey

func ByKey(opts ...sql.OrderTermOption) OrderOption

ByKey orders the results by the key field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByProcInstances

func ByProcInstances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProcInstances orders the results by proc_instances terms.

func ByProcInstancesCount

func ByProcInstancesCount(opts ...sql.OrderTermOption) OrderOption

ByProcInstancesCount orders the results by proc_instances count.

func ByResourceID

func ByResourceID(opts ...sql.OrderTermOption) OrderOption

ByResourceID orders the results by the resource_id field.

func ByResourceKey

func ByResourceKey(opts ...sql.OrderTermOption) OrderOption

ByResourceKey orders the results by the resource_key field.

func ByRevision

func ByRevision(opts ...sql.OrderTermOption) OrderOption

ByRevision orders the results by the revision field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTenantID

func ByTenantID(opts ...sql.OrderTermOption) OrderOption

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByVersion

func ByVersion(opts ...sql.OrderTermOption) OrderOption

ByVersion orders the results by the version field.

func ByVersionTag

func ByVersionTag(opts ...sql.OrderTermOption) OrderOption

ByVersionTag orders the results by the version_tag field.

Jump to

Keyboard shortcuts

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