Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DecisionReqDef) predicate.DecisionReqDef
- func AppID(v int) predicate.DecisionReqDef
- func AppIDEQ(v int) predicate.DecisionReqDef
- func AppIDGT(v int) predicate.DecisionReqDef
- func AppIDGTE(v int) predicate.DecisionReqDef
- func AppIDIn(vs ...int) predicate.DecisionReqDef
- func AppIDLT(v int) predicate.DecisionReqDef
- func AppIDLTE(v int) predicate.DecisionReqDef
- func AppIDNEQ(v int) predicate.DecisionReqDef
- func AppIDNotIn(vs ...int) predicate.DecisionReqDef
- func Category(v string) predicate.DecisionReqDef
- func CategoryContains(v string) predicate.DecisionReqDef
- func CategoryContainsFold(v string) predicate.DecisionReqDef
- func CategoryEQ(v string) predicate.DecisionReqDef
- func CategoryEqualFold(v string) predicate.DecisionReqDef
- func CategoryGT(v string) predicate.DecisionReqDef
- func CategoryGTE(v string) predicate.DecisionReqDef
- func CategoryHasPrefix(v string) predicate.DecisionReqDef
- func CategoryHasSuffix(v string) predicate.DecisionReqDef
- func CategoryIn(vs ...string) predicate.DecisionReqDef
- func CategoryIsNil() predicate.DecisionReqDef
- func CategoryLT(v string) predicate.DecisionReqDef
- func CategoryLTE(v string) predicate.DecisionReqDef
- func CategoryNEQ(v string) predicate.DecisionReqDef
- func CategoryNotIn(vs ...string) predicate.DecisionReqDef
- func CategoryNotNil() predicate.DecisionReqDef
- func CreatedAt(v time.Time) predicate.DecisionReqDef
- func CreatedAtEQ(v time.Time) predicate.DecisionReqDef
- func CreatedAtGT(v time.Time) predicate.DecisionReqDef
- func CreatedAtGTE(v time.Time) predicate.DecisionReqDef
- func CreatedAtIn(vs ...time.Time) predicate.DecisionReqDef
- func CreatedAtLT(v time.Time) predicate.DecisionReqDef
- func CreatedAtLTE(v time.Time) predicate.DecisionReqDef
- func CreatedAtNEQ(v time.Time) predicate.DecisionReqDef
- func CreatedAtNotIn(vs ...time.Time) predicate.DecisionReqDef
- func CreatedBy(v int) predicate.DecisionReqDef
- func CreatedByEQ(v int) predicate.DecisionReqDef
- func CreatedByGT(v int) predicate.DecisionReqDef
- func CreatedByGTE(v int) predicate.DecisionReqDef
- func CreatedByIn(vs ...int) predicate.DecisionReqDef
- func CreatedByLT(v int) predicate.DecisionReqDef
- func CreatedByLTE(v int) predicate.DecisionReqDef
- func CreatedByNEQ(v int) predicate.DecisionReqDef
- func CreatedByNotIn(vs ...int) predicate.DecisionReqDef
- func DeploymentID(v int) predicate.DecisionReqDef
- func DeploymentIDEQ(v int) predicate.DecisionReqDef
- func DeploymentIDIn(vs ...int) predicate.DecisionReqDef
- func DeploymentIDNEQ(v int) predicate.DecisionReqDef
- func DeploymentIDNotIn(vs ...int) predicate.DecisionReqDef
- func HasDecisionDefs() predicate.DecisionReqDef
- func HasDecisionDefsWith(preds ...predicate.DecisionDef) predicate.DecisionReqDef
- func HasDeployment() predicate.DecisionReqDef
- func HasDeploymentWith(preds ...predicate.Deployment) predicate.DecisionReqDef
- func ID(id int) predicate.DecisionReqDef
- func IDEQ(id int) predicate.DecisionReqDef
- func IDGT(id int) predicate.DecisionReqDef
- func IDGTE(id int) predicate.DecisionReqDef
- func IDIn(ids ...int) predicate.DecisionReqDef
- func IDLT(id int) predicate.DecisionReqDef
- func IDLTE(id int) predicate.DecisionReqDef
- func IDNEQ(id int) predicate.DecisionReqDef
- func IDNotIn(ids ...int) predicate.DecisionReqDef
- func Key(v string) predicate.DecisionReqDef
- func KeyContains(v string) predicate.DecisionReqDef
- func KeyContainsFold(v string) predicate.DecisionReqDef
- func KeyEQ(v string) predicate.DecisionReqDef
- func KeyEqualFold(v string) predicate.DecisionReqDef
- func KeyGT(v string) predicate.DecisionReqDef
- func KeyGTE(v string) predicate.DecisionReqDef
- func KeyHasPrefix(v string) predicate.DecisionReqDef
- func KeyHasSuffix(v string) predicate.DecisionReqDef
- func KeyIn(vs ...string) predicate.DecisionReqDef
- func KeyLT(v string) predicate.DecisionReqDef
- func KeyLTE(v string) predicate.DecisionReqDef
- func KeyNEQ(v string) predicate.DecisionReqDef
- func KeyNotIn(vs ...string) predicate.DecisionReqDef
- func Name(v string) predicate.DecisionReqDef
- func NameContains(v string) predicate.DecisionReqDef
- func NameContainsFold(v string) predicate.DecisionReqDef
- func NameEQ(v string) predicate.DecisionReqDef
- func NameEqualFold(v string) predicate.DecisionReqDef
- func NameGT(v string) predicate.DecisionReqDef
- func NameGTE(v string) predicate.DecisionReqDef
- func NameHasPrefix(v string) predicate.DecisionReqDef
- func NameHasSuffix(v string) predicate.DecisionReqDef
- func NameIn(vs ...string) predicate.DecisionReqDef
- func NameIsNil() predicate.DecisionReqDef
- func NameLT(v string) predicate.DecisionReqDef
- func NameLTE(v string) predicate.DecisionReqDef
- func NameNEQ(v string) predicate.DecisionReqDef
- func NameNotIn(vs ...string) predicate.DecisionReqDef
- func NameNotNil() predicate.DecisionReqDef
- func Not(p predicate.DecisionReqDef) predicate.DecisionReqDef
- func Or(predicates ...predicate.DecisionReqDef) predicate.DecisionReqDef
- func ResourceID(v int) predicate.DecisionReqDef
- func ResourceIDEQ(v int) predicate.DecisionReqDef
- func ResourceIDGT(v int) predicate.DecisionReqDef
- func ResourceIDGTE(v int) predicate.DecisionReqDef
- func ResourceIDIn(vs ...int) predicate.DecisionReqDef
- func ResourceIDIsNil() predicate.DecisionReqDef
- func ResourceIDLT(v int) predicate.DecisionReqDef
- func ResourceIDLTE(v int) predicate.DecisionReqDef
- func ResourceIDNEQ(v int) predicate.DecisionReqDef
- func ResourceIDNotIn(vs ...int) predicate.DecisionReqDef
- func ResourceIDNotNil() predicate.DecisionReqDef
- func ResourceKey(v string) predicate.DecisionReqDef
- func ResourceKeyContains(v string) predicate.DecisionReqDef
- func ResourceKeyContainsFold(v string) predicate.DecisionReqDef
- func ResourceKeyEQ(v string) predicate.DecisionReqDef
- func ResourceKeyEqualFold(v string) predicate.DecisionReqDef
- func ResourceKeyGT(v string) predicate.DecisionReqDef
- func ResourceKeyGTE(v string) predicate.DecisionReqDef
- func ResourceKeyHasPrefix(v string) predicate.DecisionReqDef
- func ResourceKeyHasSuffix(v string) predicate.DecisionReqDef
- func ResourceKeyIn(vs ...string) predicate.DecisionReqDef
- func ResourceKeyIsNil() predicate.DecisionReqDef
- func ResourceKeyLT(v string) predicate.DecisionReqDef
- func ResourceKeyLTE(v string) predicate.DecisionReqDef
- func ResourceKeyNEQ(v string) predicate.DecisionReqDef
- func ResourceKeyNotIn(vs ...string) predicate.DecisionReqDef
- func ResourceKeyNotNil() predicate.DecisionReqDef
- func Revision(v int32) predicate.DecisionReqDef
- func RevisionEQ(v int32) predicate.DecisionReqDef
- func RevisionGT(v int32) predicate.DecisionReqDef
- func RevisionGTE(v int32) predicate.DecisionReqDef
- func RevisionIn(vs ...int32) predicate.DecisionReqDef
- func RevisionIsNil() predicate.DecisionReqDef
- func RevisionLT(v int32) predicate.DecisionReqDef
- func RevisionLTE(v int32) predicate.DecisionReqDef
- func RevisionNEQ(v int32) predicate.DecisionReqDef
- func RevisionNotIn(vs ...int32) predicate.DecisionReqDef
- func RevisionNotNil() predicate.DecisionReqDef
- func TenantID(v int) predicate.DecisionReqDef
- func TenantIDEQ(v int) predicate.DecisionReqDef
- func TenantIDGT(v int) predicate.DecisionReqDef
- func TenantIDGTE(v int) predicate.DecisionReqDef
- func TenantIDIn(vs ...int) predicate.DecisionReqDef
- func TenantIDLT(v int) predicate.DecisionReqDef
- func TenantIDLTE(v int) predicate.DecisionReqDef
- func TenantIDNEQ(v int) predicate.DecisionReqDef
- func TenantIDNotIn(vs ...int) predicate.DecisionReqDef
- func UpdatedAt(v time.Time) predicate.DecisionReqDef
- func UpdatedAtEQ(v time.Time) predicate.DecisionReqDef
- func UpdatedAtGT(v time.Time) predicate.DecisionReqDef
- func UpdatedAtGTE(v time.Time) predicate.DecisionReqDef
- func UpdatedAtIn(vs ...time.Time) predicate.DecisionReqDef
- func UpdatedAtIsNil() predicate.DecisionReqDef
- func UpdatedAtLT(v time.Time) predicate.DecisionReqDef
- func UpdatedAtLTE(v time.Time) predicate.DecisionReqDef
- func UpdatedAtNEQ(v time.Time) predicate.DecisionReqDef
- func UpdatedAtNotIn(vs ...time.Time) predicate.DecisionReqDef
- func UpdatedAtNotNil() predicate.DecisionReqDef
- func UpdatedBy(v int) predicate.DecisionReqDef
- func UpdatedByEQ(v int) predicate.DecisionReqDef
- func UpdatedByGT(v int) predicate.DecisionReqDef
- func UpdatedByGTE(v int) predicate.DecisionReqDef
- func UpdatedByIn(vs ...int) predicate.DecisionReqDef
- func UpdatedByIsNil() predicate.DecisionReqDef
- func UpdatedByLT(v int) predicate.DecisionReqDef
- func UpdatedByLTE(v int) predicate.DecisionReqDef
- func UpdatedByNEQ(v int) predicate.DecisionReqDef
- func UpdatedByNotIn(vs ...int) predicate.DecisionReqDef
- func UpdatedByNotNil() predicate.DecisionReqDef
- func ValidColumn(column string) bool
- func Version(v int32) predicate.DecisionReqDef
- func VersionEQ(v int32) predicate.DecisionReqDef
- func VersionGT(v int32) predicate.DecisionReqDef
- func VersionGTE(v int32) predicate.DecisionReqDef
- func VersionIn(vs ...int32) predicate.DecisionReqDef
- func VersionLT(v int32) predicate.DecisionReqDef
- func VersionLTE(v int32) predicate.DecisionReqDef
- func VersionNEQ(v int32) predicate.DecisionReqDef
- func VersionNotIn(vs ...int32) predicate.DecisionReqDef
- 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 ByDecisionDefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDecisionDefsCount(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 ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByResourceKey(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(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
Constants ¶
const ( // Label holds the string label denoting the decisionreqdef type in the database. Label = "decision_req_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" // 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" // EdgeDeployment holds the string denoting the deployment edge name in mutations. EdgeDeployment = "deployment" // EdgeDecisionDefs holds the string denoting the decision_defs edge name in mutations. EdgeDecisionDefs = "decision_defs" // Table holds the table name of the decisionreqdef in the database. Table = "act_decision_req_def" // DeploymentTable is the table that holds the deployment relation/edge. DeploymentTable = "act_decision_req_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" // DecisionDefsTable is the table that holds the decision_defs relation/edge. DecisionDefsTable = "act_decision_def" // DecisionDefsInverseTable is the table name for the DecisionDef entity. // It exists in this package in order to avoid circular dependency with the "decisiondef" package. DecisionDefsInverseTable = "act_decision_def" // DecisionDefsColumn is the table column denoting the decision_defs relation/edge. DecisionDefsColumn = "req_def_id" )
Variables ¶
var ( Hooks [2]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, FieldResourceKey, FieldResourceID, }
Columns holds all SQL columns for decisionreqdef fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DecisionReqDef) predicate.DecisionReqDef
And groups predicates with the AND operator between them.
func AppID ¶
func AppID(v int) predicate.DecisionReqDef
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDEQ ¶
func AppIDEQ(v int) predicate.DecisionReqDef
AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDGT ¶
func AppIDGT(v int) predicate.DecisionReqDef
AppIDGT applies the GT predicate on the "app_id" field.
func AppIDGTE ¶
func AppIDGTE(v int) predicate.DecisionReqDef
AppIDGTE applies the GTE predicate on the "app_id" field.
func AppIDIn ¶
func AppIDIn(vs ...int) predicate.DecisionReqDef
AppIDIn applies the In predicate on the "app_id" field.
func AppIDLT ¶
func AppIDLT(v int) predicate.DecisionReqDef
AppIDLT applies the LT predicate on the "app_id" field.
func AppIDLTE ¶
func AppIDLTE(v int) predicate.DecisionReqDef
AppIDLTE applies the LTE predicate on the "app_id" field.
func AppIDNEQ ¶
func AppIDNEQ(v int) predicate.DecisionReqDef
AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNotIn ¶
func AppIDNotIn(vs ...int) predicate.DecisionReqDef
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func Category ¶
func Category(v string) predicate.DecisionReqDef
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
func CategoryContains(v string) predicate.DecisionReqDef
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
func CategoryContainsFold(v string) predicate.DecisionReqDef
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
func CategoryEQ(v string) predicate.DecisionReqDef
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
func CategoryEqualFold(v string) predicate.DecisionReqDef
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
func CategoryGT(v string) predicate.DecisionReqDef
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
func CategoryGTE(v string) predicate.DecisionReqDef
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
func CategoryHasPrefix(v string) predicate.DecisionReqDef
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
func CategoryHasSuffix(v string) predicate.DecisionReqDef
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
func CategoryIn(vs ...string) predicate.DecisionReqDef
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
func CategoryIsNil() predicate.DecisionReqDef
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
func CategoryLT(v string) predicate.DecisionReqDef
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
func CategoryLTE(v string) predicate.DecisionReqDef
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
func CategoryNEQ(v string) predicate.DecisionReqDef
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
func CategoryNotIn(vs ...string) predicate.DecisionReqDef
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
func CategoryNotNil() predicate.DecisionReqDef
CategoryNotNil applies the NotNil predicate on the "category" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DecisionReqDef
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DecisionReqDef
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DecisionReqDef
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DecisionReqDef
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DecisionReqDef
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DecisionReqDef
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DecisionReqDef
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DecisionReqDef
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DecisionReqDef
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.DecisionReqDef
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.DecisionReqDef
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.DecisionReqDef
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.DecisionReqDef
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.DecisionReqDef
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.DecisionReqDef
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.DecisionReqDef
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.DecisionReqDef
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.DecisionReqDef
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeploymentID ¶
func DeploymentID(v int) predicate.DecisionReqDef
DeploymentID applies equality check predicate on the "deployment_id" field. It's identical to DeploymentIDEQ.
func DeploymentIDEQ ¶
func DeploymentIDEQ(v int) predicate.DecisionReqDef
DeploymentIDEQ applies the EQ predicate on the "deployment_id" field.
func DeploymentIDIn ¶
func DeploymentIDIn(vs ...int) predicate.DecisionReqDef
DeploymentIDIn applies the In predicate on the "deployment_id" field.
func DeploymentIDNEQ ¶
func DeploymentIDNEQ(v int) predicate.DecisionReqDef
DeploymentIDNEQ applies the NEQ predicate on the "deployment_id" field.
func DeploymentIDNotIn ¶
func DeploymentIDNotIn(vs ...int) predicate.DecisionReqDef
DeploymentIDNotIn applies the NotIn predicate on the "deployment_id" field.
func HasDecisionDefs ¶
func HasDecisionDefs() predicate.DecisionReqDef
HasDecisionDefs applies the HasEdge predicate on the "decision_defs" edge.
func HasDecisionDefsWith ¶
func HasDecisionDefsWith(preds ...predicate.DecisionDef) predicate.DecisionReqDef
HasDecisionDefsWith applies the HasEdge predicate on the "decision_defs" edge with a given conditions (other predicates).
func HasDeployment ¶
func HasDeployment() predicate.DecisionReqDef
HasDeployment applies the HasEdge predicate on the "deployment" edge.
func HasDeploymentWith ¶
func HasDeploymentWith(preds ...predicate.Deployment) predicate.DecisionReqDef
HasDeploymentWith applies the HasEdge predicate on the "deployment" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.DecisionReqDef
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.DecisionReqDef
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.DecisionReqDef
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DecisionReqDef
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.DecisionReqDef
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DecisionReqDef
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DecisionReqDef
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DecisionReqDef
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.DecisionReqDef
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.DecisionReqDef
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.DecisionReqDef
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.DecisionReqDef
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.DecisionReqDef
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.DecisionReqDef
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.DecisionReqDef
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.DecisionReqDef
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.DecisionReqDef
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.DecisionReqDef
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.DecisionReqDef
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.DecisionReqDef
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.DecisionReqDef
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.DecisionReqDef
KeyNotIn applies the NotIn predicate on the "key" field.
func Name ¶
func Name(v string) predicate.DecisionReqDef
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.DecisionReqDef
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.DecisionReqDef
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.DecisionReqDef
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.DecisionReqDef
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.DecisionReqDef
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.DecisionReqDef
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.DecisionReqDef
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.DecisionReqDef
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.DecisionReqDef
NameIn applies the In predicate on the "name" field.
func NameIsNil ¶
func NameIsNil() predicate.DecisionReqDef
NameIsNil applies the IsNil predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.DecisionReqDef
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.DecisionReqDef
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.DecisionReqDef
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.DecisionReqDef
NameNotIn applies the NotIn predicate on the "name" field.
func NameNotNil ¶
func NameNotNil() predicate.DecisionReqDef
NameNotNil applies the NotNil predicate on the "name" field.
func Not ¶
func Not(p predicate.DecisionReqDef) predicate.DecisionReqDef
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DecisionReqDef) predicate.DecisionReqDef
Or groups predicates with the OR operator between them.
func ResourceID ¶
func ResourceID(v int) predicate.DecisionReqDef
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDEQ ¶
func ResourceIDEQ(v int) predicate.DecisionReqDef
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDGT ¶
func ResourceIDGT(v int) predicate.DecisionReqDef
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
func ResourceIDGTE(v int) predicate.DecisionReqDef
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDIn ¶
func ResourceIDIn(vs ...int) predicate.DecisionReqDef
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDIsNil ¶
func ResourceIDIsNil() predicate.DecisionReqDef
ResourceIDIsNil applies the IsNil predicate on the "resource_id" field.
func ResourceIDLT ¶
func ResourceIDLT(v int) predicate.DecisionReqDef
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
func ResourceIDLTE(v int) predicate.DecisionReqDef
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
func ResourceIDNEQ(v int) predicate.DecisionReqDef
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
func ResourceIDNotIn(vs ...int) predicate.DecisionReqDef
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func ResourceIDNotNil ¶
func ResourceIDNotNil() predicate.DecisionReqDef
ResourceIDNotNil applies the NotNil predicate on the "resource_id" field.
func ResourceKey ¶
func ResourceKey(v string) predicate.DecisionReqDef
ResourceKey applies equality check predicate on the "resource_key" field. It's identical to ResourceKeyEQ.
func ResourceKeyContains ¶
func ResourceKeyContains(v string) predicate.DecisionReqDef
ResourceKeyContains applies the Contains predicate on the "resource_key" field.
func ResourceKeyContainsFold ¶
func ResourceKeyContainsFold(v string) predicate.DecisionReqDef
ResourceKeyContainsFold applies the ContainsFold predicate on the "resource_key" field.
func ResourceKeyEQ ¶
func ResourceKeyEQ(v string) predicate.DecisionReqDef
ResourceKeyEQ applies the EQ predicate on the "resource_key" field.
func ResourceKeyEqualFold ¶
func ResourceKeyEqualFold(v string) predicate.DecisionReqDef
ResourceKeyEqualFold applies the EqualFold predicate on the "resource_key" field.
func ResourceKeyGT ¶
func ResourceKeyGT(v string) predicate.DecisionReqDef
ResourceKeyGT applies the GT predicate on the "resource_key" field.
func ResourceKeyGTE ¶
func ResourceKeyGTE(v string) predicate.DecisionReqDef
ResourceKeyGTE applies the GTE predicate on the "resource_key" field.
func ResourceKeyHasPrefix ¶
func ResourceKeyHasPrefix(v string) predicate.DecisionReqDef
ResourceKeyHasPrefix applies the HasPrefix predicate on the "resource_key" field.
func ResourceKeyHasSuffix ¶
func ResourceKeyHasSuffix(v string) predicate.DecisionReqDef
ResourceKeyHasSuffix applies the HasSuffix predicate on the "resource_key" field.
func ResourceKeyIn ¶
func ResourceKeyIn(vs ...string) predicate.DecisionReqDef
ResourceKeyIn applies the In predicate on the "resource_key" field.
func ResourceKeyIsNil ¶
func ResourceKeyIsNil() predicate.DecisionReqDef
ResourceKeyIsNil applies the IsNil predicate on the "resource_key" field.
func ResourceKeyLT ¶
func ResourceKeyLT(v string) predicate.DecisionReqDef
ResourceKeyLT applies the LT predicate on the "resource_key" field.
func ResourceKeyLTE ¶
func ResourceKeyLTE(v string) predicate.DecisionReqDef
ResourceKeyLTE applies the LTE predicate on the "resource_key" field.
func ResourceKeyNEQ ¶
func ResourceKeyNEQ(v string) predicate.DecisionReqDef
ResourceKeyNEQ applies the NEQ predicate on the "resource_key" field.
func ResourceKeyNotIn ¶
func ResourceKeyNotIn(vs ...string) predicate.DecisionReqDef
ResourceKeyNotIn applies the NotIn predicate on the "resource_key" field.
func ResourceKeyNotNil ¶
func ResourceKeyNotNil() predicate.DecisionReqDef
ResourceKeyNotNil applies the NotNil predicate on the "resource_key" field.
func Revision ¶
func Revision(v int32) predicate.DecisionReqDef
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
func RevisionEQ(v int32) predicate.DecisionReqDef
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
func RevisionGT(v int32) predicate.DecisionReqDef
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
func RevisionGTE(v int32) predicate.DecisionReqDef
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
func RevisionIn(vs ...int32) predicate.DecisionReqDef
RevisionIn applies the In predicate on the "revision" field.
func RevisionIsNil ¶
func RevisionIsNil() predicate.DecisionReqDef
RevisionIsNil applies the IsNil predicate on the "revision" field.
func RevisionLT ¶
func RevisionLT(v int32) predicate.DecisionReqDef
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
func RevisionLTE(v int32) predicate.DecisionReqDef
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
func RevisionNEQ(v int32) predicate.DecisionReqDef
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
func RevisionNotIn(vs ...int32) predicate.DecisionReqDef
RevisionNotIn applies the NotIn predicate on the "revision" field.
func RevisionNotNil ¶
func RevisionNotNil() predicate.DecisionReqDef
RevisionNotNil applies the NotNil predicate on the "revision" field.
func TenantID ¶
func TenantID(v int) predicate.DecisionReqDef
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.DecisionReqDef
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.DecisionReqDef
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.DecisionReqDef
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.DecisionReqDef
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.DecisionReqDef
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.DecisionReqDef
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.DecisionReqDef
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.DecisionReqDef
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DecisionReqDef
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DecisionReqDef
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DecisionReqDef
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DecisionReqDef
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DecisionReqDef
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.DecisionReqDef
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DecisionReqDef
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DecisionReqDef
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DecisionReqDef
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DecisionReqDef
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.DecisionReqDef
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.DecisionReqDef
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.DecisionReqDef
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.DecisionReqDef
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.DecisionReqDef
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.DecisionReqDef
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.DecisionReqDef
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.DecisionReqDef
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.DecisionReqDef
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.DecisionReqDef
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.DecisionReqDef
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.DecisionReqDef
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 ¶
func Version(v int32) predicate.DecisionReqDef
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int32) predicate.DecisionReqDef
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int32) predicate.DecisionReqDef
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int32) predicate.DecisionReqDef
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int32) predicate.DecisionReqDef
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int32) predicate.DecisionReqDef
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int32) predicate.DecisionReqDef
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int32) predicate.DecisionReqDef
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int32) predicate.DecisionReqDef
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DecisionReqDef 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 ByDecisionDefs ¶
func ByDecisionDefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDecisionDefs orders the results by decision_defs terms.
func ByDecisionDefsCount ¶
func ByDecisionDefsCount(opts ...sql.OrderTermOption) OrderOption
ByDecisionDefsCount orders the results by decision_defs count.
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 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 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.