Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProcDef) predicate.ProcDef
- func AppID(v int) predicate.ProcDef
- func AppIDEQ(v int) predicate.ProcDef
- func AppIDGT(v int) predicate.ProcDef
- func AppIDGTE(v int) predicate.ProcDef
- func AppIDIn(vs ...int) predicate.ProcDef
- func AppIDLT(v int) predicate.ProcDef
- func AppIDLTE(v int) predicate.ProcDef
- func AppIDNEQ(v int) predicate.ProcDef
- func AppIDNotIn(vs ...int) predicate.ProcDef
- func Category(v string) predicate.ProcDef
- func CategoryContains(v string) predicate.ProcDef
- func CategoryContainsFold(v string) predicate.ProcDef
- func CategoryEQ(v string) predicate.ProcDef
- func CategoryEqualFold(v string) predicate.ProcDef
- func CategoryGT(v string) predicate.ProcDef
- func CategoryGTE(v string) predicate.ProcDef
- func CategoryHasPrefix(v string) predicate.ProcDef
- func CategoryHasSuffix(v string) predicate.ProcDef
- func CategoryIn(vs ...string) predicate.ProcDef
- func CategoryIsNil() predicate.ProcDef
- func CategoryLT(v string) predicate.ProcDef
- func CategoryLTE(v string) predicate.ProcDef
- func CategoryNEQ(v string) predicate.ProcDef
- func CategoryNotIn(vs ...string) predicate.ProcDef
- func CategoryNotNil() predicate.ProcDef
- func CreatedAt(v time.Time) predicate.ProcDef
- func CreatedAtEQ(v time.Time) predicate.ProcDef
- func CreatedAtGT(v time.Time) predicate.ProcDef
- func CreatedAtGTE(v time.Time) predicate.ProcDef
- func CreatedAtIn(vs ...time.Time) predicate.ProcDef
- func CreatedAtLT(v time.Time) predicate.ProcDef
- func CreatedAtLTE(v time.Time) predicate.ProcDef
- func CreatedAtNEQ(v time.Time) predicate.ProcDef
- func CreatedAtNotIn(vs ...time.Time) predicate.ProcDef
- func CreatedBy(v int) predicate.ProcDef
- func CreatedByEQ(v int) predicate.ProcDef
- func CreatedByGT(v int) predicate.ProcDef
- func CreatedByGTE(v int) predicate.ProcDef
- func CreatedByIn(vs ...int) predicate.ProcDef
- func CreatedByLT(v int) predicate.ProcDef
- func CreatedByLTE(v int) predicate.ProcDef
- func CreatedByNEQ(v int) predicate.ProcDef
- func CreatedByNotIn(vs ...int) predicate.ProcDef
- func DeploymentID(v int) predicate.ProcDef
- func DeploymentIDEQ(v int) predicate.ProcDef
- func DeploymentIDIn(vs ...int) predicate.ProcDef
- func DeploymentIDNEQ(v int) predicate.ProcDef
- func DeploymentIDNotIn(vs ...int) predicate.ProcDef
- func HasDeployment() predicate.ProcDef
- func HasDeploymentWith(preds ...predicate.Deployment) predicate.ProcDef
- func HasProcInstances() predicate.ProcDef
- func HasProcInstancesWith(preds ...predicate.ProcInst) predicate.ProcDef
- func ID(id int) predicate.ProcDef
- func IDEQ(id int) predicate.ProcDef
- func IDGT(id int) predicate.ProcDef
- func IDGTE(id int) predicate.ProcDef
- func IDIn(ids ...int) predicate.ProcDef
- func IDLT(id int) predicate.ProcDef
- func IDLTE(id int) predicate.ProcDef
- func IDNEQ(id int) predicate.ProcDef
- func IDNotIn(ids ...int) predicate.ProcDef
- func Key(v string) predicate.ProcDef
- func KeyContains(v string) predicate.ProcDef
- func KeyContainsFold(v string) predicate.ProcDef
- func KeyEQ(v string) predicate.ProcDef
- func KeyEqualFold(v string) predicate.ProcDef
- func KeyGT(v string) predicate.ProcDef
- func KeyGTE(v string) predicate.ProcDef
- func KeyHasPrefix(v string) predicate.ProcDef
- func KeyHasSuffix(v string) predicate.ProcDef
- func KeyIn(vs ...string) predicate.ProcDef
- func KeyLT(v string) predicate.ProcDef
- func KeyLTE(v string) predicate.ProcDef
- func KeyNEQ(v string) predicate.ProcDef
- func KeyNotIn(vs ...string) predicate.ProcDef
- func Name(v string) predicate.ProcDef
- func NameContains(v string) predicate.ProcDef
- func NameContainsFold(v string) predicate.ProcDef
- func NameEQ(v string) predicate.ProcDef
- func NameEqualFold(v string) predicate.ProcDef
- func NameGT(v string) predicate.ProcDef
- func NameGTE(v string) predicate.ProcDef
- func NameHasPrefix(v string) predicate.ProcDef
- func NameHasSuffix(v string) predicate.ProcDef
- func NameIn(vs ...string) predicate.ProcDef
- func NameIsNil() predicate.ProcDef
- func NameLT(v string) predicate.ProcDef
- func NameLTE(v string) predicate.ProcDef
- func NameNEQ(v string) predicate.ProcDef
- func NameNotIn(vs ...string) predicate.ProcDef
- func NameNotNil() predicate.ProcDef
- func Not(p predicate.ProcDef) predicate.ProcDef
- func Or(predicates ...predicate.ProcDef) predicate.ProcDef
- func ResourceID(v int) predicate.ProcDef
- func ResourceIDEQ(v int) predicate.ProcDef
- func ResourceIDGT(v int) predicate.ProcDef
- func ResourceIDGTE(v int) predicate.ProcDef
- func ResourceIDIn(vs ...int) predicate.ProcDef
- func ResourceIDIsNil() predicate.ProcDef
- func ResourceIDLT(v int) predicate.ProcDef
- func ResourceIDLTE(v int) predicate.ProcDef
- func ResourceIDNEQ(v int) predicate.ProcDef
- func ResourceIDNotIn(vs ...int) predicate.ProcDef
- func ResourceIDNotNil() predicate.ProcDef
- func ResourceKey(v string) predicate.ProcDef
- func ResourceKeyContains(v string) predicate.ProcDef
- func ResourceKeyContainsFold(v string) predicate.ProcDef
- func ResourceKeyEQ(v string) predicate.ProcDef
- func ResourceKeyEqualFold(v string) predicate.ProcDef
- func ResourceKeyGT(v string) predicate.ProcDef
- func ResourceKeyGTE(v string) predicate.ProcDef
- func ResourceKeyHasPrefix(v string) predicate.ProcDef
- func ResourceKeyHasSuffix(v string) predicate.ProcDef
- func ResourceKeyIn(vs ...string) predicate.ProcDef
- func ResourceKeyIsNil() predicate.ProcDef
- func ResourceKeyLT(v string) predicate.ProcDef
- func ResourceKeyLTE(v string) predicate.ProcDef
- func ResourceKeyNEQ(v string) predicate.ProcDef
- func ResourceKeyNotIn(vs ...string) predicate.ProcDef
- func ResourceKeyNotNil() predicate.ProcDef
- func Revision(v int32) predicate.ProcDef
- func RevisionEQ(v int32) predicate.ProcDef
- func RevisionGT(v int32) predicate.ProcDef
- func RevisionGTE(v int32) predicate.ProcDef
- func RevisionIn(vs ...int32) predicate.ProcDef
- func RevisionIsNil() predicate.ProcDef
- func RevisionLT(v int32) predicate.ProcDef
- func RevisionLTE(v int32) predicate.ProcDef
- func RevisionNEQ(v int32) predicate.ProcDef
- func RevisionNotIn(vs ...int32) predicate.ProcDef
- func RevisionNotNil() predicate.ProcDef
- func StatusEQ(v typex.SimpleStatus) predicate.ProcDef
- func StatusIn(vs ...typex.SimpleStatus) predicate.ProcDef
- func StatusNEQ(v typex.SimpleStatus) predicate.ProcDef
- func StatusNotIn(vs ...typex.SimpleStatus) predicate.ProcDef
- func StatusValidator(s typex.SimpleStatus) error
- func TenantID(v int) predicate.ProcDef
- func TenantIDEQ(v int) predicate.ProcDef
- func TenantIDGT(v int) predicate.ProcDef
- func TenantIDGTE(v int) predicate.ProcDef
- func TenantIDIn(vs ...int) predicate.ProcDef
- func TenantIDLT(v int) predicate.ProcDef
- func TenantIDLTE(v int) predicate.ProcDef
- func TenantIDNEQ(v int) predicate.ProcDef
- func TenantIDNotIn(vs ...int) predicate.ProcDef
- func UpdatedAt(v time.Time) predicate.ProcDef
- func UpdatedAtEQ(v time.Time) predicate.ProcDef
- func UpdatedAtGT(v time.Time) predicate.ProcDef
- func UpdatedAtGTE(v time.Time) predicate.ProcDef
- func UpdatedAtIn(vs ...time.Time) predicate.ProcDef
- func UpdatedAtIsNil() predicate.ProcDef
- func UpdatedAtLT(v time.Time) predicate.ProcDef
- func UpdatedAtLTE(v time.Time) predicate.ProcDef
- func UpdatedAtNEQ(v time.Time) predicate.ProcDef
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProcDef
- func UpdatedAtNotNil() predicate.ProcDef
- func UpdatedBy(v int) predicate.ProcDef
- func UpdatedByEQ(v int) predicate.ProcDef
- func UpdatedByGT(v int) predicate.ProcDef
- func UpdatedByGTE(v int) predicate.ProcDef
- func UpdatedByIn(vs ...int) predicate.ProcDef
- func UpdatedByIsNil() predicate.ProcDef
- func UpdatedByLT(v int) predicate.ProcDef
- func UpdatedByLTE(v int) predicate.ProcDef
- func UpdatedByNEQ(v int) predicate.ProcDef
- func UpdatedByNotIn(vs ...int) predicate.ProcDef
- func UpdatedByNotNil() predicate.ProcDef
- func ValidColumn(column string) bool
- func Version(v int32) predicate.ProcDef
- func VersionEQ(v int32) predicate.ProcDef
- func VersionGT(v int32) predicate.ProcDef
- func VersionGTE(v int32) predicate.ProcDef
- func VersionIn(vs ...int32) predicate.ProcDef
- func VersionIsNil() predicate.ProcDef
- func VersionLT(v int32) predicate.ProcDef
- func VersionLTE(v int32) predicate.ProcDef
- func VersionNEQ(v int32) predicate.ProcDef
- func VersionNotIn(vs ...int32) predicate.ProcDef
- func VersionNotNil() predicate.ProcDef
- func VersionTag(v string) predicate.ProcDef
- func VersionTagContains(v string) predicate.ProcDef
- func VersionTagContainsFold(v string) predicate.ProcDef
- func VersionTagEQ(v string) predicate.ProcDef
- func VersionTagEqualFold(v string) predicate.ProcDef
- func VersionTagGT(v string) predicate.ProcDef
- func VersionTagGTE(v string) predicate.ProcDef
- func VersionTagHasPrefix(v string) predicate.ProcDef
- func VersionTagHasSuffix(v string) predicate.ProcDef
- func VersionTagIn(vs ...string) predicate.ProcDef
- func VersionTagIsNil() predicate.ProcDef
- func VersionTagLT(v string) predicate.ProcDef
- func VersionTagLTE(v string) predicate.ProcDef
- func VersionTagNEQ(v string) predicate.ProcDef
- func VersionTagNotIn(vs ...string) predicate.ProcDef
- func VersionTagNotNil() predicate.ProcDef
- type OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeploymentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDeploymentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByProcInstances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProcInstancesCount(opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceKey(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByVersionTag(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" )
const DefaultStatus typex.SimpleStatus = "active"
Variables ¶
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"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldTenantID, FieldDeploymentID, FieldAppID, FieldCategory, FieldName, FieldKey, FieldVersion, FieldRevision, FieldVersionTag, FieldResourceKey, FieldResourceID, FieldStatus, }
Columns holds all SQL columns for procdef fields.
Functions ¶
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func Category ¶
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
CategoryNotNil applies the NotNil predicate on the "category" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeploymentID ¶
DeploymentID applies equality check predicate on the "deployment_id" field. It's identical to DeploymentIDEQ.
func DeploymentIDEQ ¶
DeploymentIDEQ applies the EQ predicate on the "deployment_id" field.
func DeploymentIDIn ¶
DeploymentIDIn applies the In predicate on the "deployment_id" field.
func DeploymentIDNEQ ¶
DeploymentIDNEQ applies the NEQ predicate on the "deployment_id" field.
func DeploymentIDNotIn ¶
DeploymentIDNotIn applies the NotIn predicate on the "deployment_id" field.
func HasDeployment ¶
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 ¶
HasProcInstances applies the HasEdge predicate on the "proc_instances" edge.
func HasProcInstancesWith ¶
HasProcInstancesWith applies the HasEdge predicate on the "proc_instances" edge with a given conditions (other predicates).
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func ResourceID ¶
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDEQ ¶
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDGT ¶
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDIn ¶
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDIsNil ¶
ResourceIDIsNil applies the IsNil predicate on the "resource_id" field.
func ResourceIDLT ¶
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func ResourceIDNotNil ¶
ResourceIDNotNil applies the NotNil predicate on the "resource_id" field.
func ResourceKey ¶
ResourceKey applies equality check predicate on the "resource_key" field. It's identical to ResourceKeyEQ.
func ResourceKeyContains ¶
ResourceKeyContains applies the Contains predicate on the "resource_key" field.
func ResourceKeyContainsFold ¶
ResourceKeyContainsFold applies the ContainsFold predicate on the "resource_key" field.
func ResourceKeyEQ ¶
ResourceKeyEQ applies the EQ predicate on the "resource_key" field.
func ResourceKeyEqualFold ¶
ResourceKeyEqualFold applies the EqualFold predicate on the "resource_key" field.
func ResourceKeyGT ¶
ResourceKeyGT applies the GT predicate on the "resource_key" field.
func ResourceKeyGTE ¶
ResourceKeyGTE applies the GTE predicate on the "resource_key" field.
func ResourceKeyHasPrefix ¶
ResourceKeyHasPrefix applies the HasPrefix predicate on the "resource_key" field.
func ResourceKeyHasSuffix ¶
ResourceKeyHasSuffix applies the HasSuffix predicate on the "resource_key" field.
func ResourceKeyIn ¶
ResourceKeyIn applies the In predicate on the "resource_key" field.
func ResourceKeyIsNil ¶
ResourceKeyIsNil applies the IsNil predicate on the "resource_key" field.
func ResourceKeyLT ¶
ResourceKeyLT applies the LT predicate on the "resource_key" field.
func ResourceKeyLTE ¶
ResourceKeyLTE applies the LTE predicate on the "resource_key" field.
func ResourceKeyNEQ ¶
ResourceKeyNEQ applies the NEQ predicate on the "resource_key" field.
func ResourceKeyNotIn ¶
ResourceKeyNotIn applies the NotIn predicate on the "resource_key" field.
func ResourceKeyNotNil ¶
ResourceKeyNotNil applies the NotNil predicate on the "resource_key" field.
func Revision ¶
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
RevisionIn applies the In predicate on the "revision" field.
func RevisionIsNil ¶
RevisionIsNil applies the IsNil predicate on the "revision" field.
func RevisionLT ¶
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
RevisionNotIn applies the NotIn predicate on the "revision" field.
func RevisionNotNil ¶
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 ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionIsNil ¶
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
func VersionTag ¶
VersionTag applies equality check predicate on the "version_tag" field. It's identical to VersionTagEQ.
func VersionTagContains ¶
VersionTagContains applies the Contains predicate on the "version_tag" field.
func VersionTagContainsFold ¶
VersionTagContainsFold applies the ContainsFold predicate on the "version_tag" field.
func VersionTagEQ ¶
VersionTagEQ applies the EQ predicate on the "version_tag" field.
func VersionTagEqualFold ¶
VersionTagEqualFold applies the EqualFold predicate on the "version_tag" field.
func VersionTagGT ¶
VersionTagGT applies the GT predicate on the "version_tag" field.
func VersionTagGTE ¶
VersionTagGTE applies the GTE predicate on the "version_tag" field.
func VersionTagHasPrefix ¶
VersionTagHasPrefix applies the HasPrefix predicate on the "version_tag" field.
func VersionTagHasSuffix ¶
VersionTagHasSuffix applies the HasSuffix predicate on the "version_tag" field.
func VersionTagIn ¶
VersionTagIn applies the In predicate on the "version_tag" field.
func VersionTagIsNil ¶
VersionTagIsNil applies the IsNil predicate on the "version_tag" field.
func VersionTagLT ¶
VersionTagLT applies the LT predicate on the "version_tag" field.
func VersionTagLTE ¶
VersionTagLTE applies the LTE predicate on the "version_tag" field.
func VersionTagNEQ ¶
VersionTagNEQ applies the NEQ predicate on the "version_tag" field.
func VersionTagNotIn ¶
VersionTagNotIn applies the NotIn predicate on the "version_tag" field.
func VersionTagNotNil ¶
VersionTagNotNil applies the NotNil predicate on the "version_tag" field.
Types ¶
type OrderOption ¶
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.