Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveVersionID(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDEQ(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDGT(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDGTE(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDIn(vs ...uuid.UUID) predicate.AgentRule
- func ActiveVersionIDIsNil() predicate.AgentRule
- func ActiveVersionIDLT(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDLTE(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDNEQ(v uuid.UUID) predicate.AgentRule
- func ActiveVersionIDNotIn(vs ...uuid.UUID) predicate.AgentRule
- func ActiveVersionIDNotNil() predicate.AgentRule
- func And(predicates ...predicate.AgentRule) predicate.AgentRule
- func CreatedAt(v time.Time) predicate.AgentRule
- func CreatedAtEQ(v time.Time) predicate.AgentRule
- func CreatedAtGT(v time.Time) predicate.AgentRule
- func CreatedAtGTE(v time.Time) predicate.AgentRule
- func CreatedAtIn(vs ...time.Time) predicate.AgentRule
- func CreatedAtLT(v time.Time) predicate.AgentRule
- func CreatedAtLTE(v time.Time) predicate.AgentRule
- func CreatedAtNEQ(v time.Time) predicate.AgentRule
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentRule
- func CreatedBy(v uuid.UUID) predicate.AgentRule
- func CreatedByEQ(v uuid.UUID) predicate.AgentRule
- func CreatedByGT(v uuid.UUID) predicate.AgentRule
- func CreatedByGTE(v uuid.UUID) predicate.AgentRule
- func CreatedByIn(vs ...uuid.UUID) predicate.AgentRule
- func CreatedByLT(v uuid.UUID) predicate.AgentRule
- func CreatedByLTE(v uuid.UUID) predicate.AgentRule
- func CreatedByNEQ(v uuid.UUID) predicate.AgentRule
- func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentRule
- func Description(v string) predicate.AgentRule
- func DescriptionContains(v string) predicate.AgentRule
- func DescriptionContainsFold(v string) predicate.AgentRule
- func DescriptionEQ(v string) predicate.AgentRule
- func DescriptionEqualFold(v string) predicate.AgentRule
- func DescriptionGT(v string) predicate.AgentRule
- func DescriptionGTE(v string) predicate.AgentRule
- func DescriptionHasPrefix(v string) predicate.AgentRule
- func DescriptionHasSuffix(v string) predicate.AgentRule
- func DescriptionIn(vs ...string) predicate.AgentRule
- func DescriptionIsNil() predicate.AgentRule
- func DescriptionLT(v string) predicate.AgentRule
- func DescriptionLTE(v string) predicate.AgentRule
- func DescriptionNEQ(v string) predicate.AgentRule
- func DescriptionNotIn(vs ...string) predicate.AgentRule
- func DescriptionNotNil() predicate.AgentRule
- func ExtensionPackageID(v string) predicate.AgentRule
- func ExtensionPackageIDContains(v string) predicate.AgentRule
- func ExtensionPackageIDContainsFold(v string) predicate.AgentRule
- func ExtensionPackageIDEQ(v string) predicate.AgentRule
- func ExtensionPackageIDEqualFold(v string) predicate.AgentRule
- func ExtensionPackageIDGT(v string) predicate.AgentRule
- func ExtensionPackageIDGTE(v string) predicate.AgentRule
- func ExtensionPackageIDHasPrefix(v string) predicate.AgentRule
- func ExtensionPackageIDHasSuffix(v string) predicate.AgentRule
- func ExtensionPackageIDIn(vs ...string) predicate.AgentRule
- func ExtensionPackageIDIsNil() predicate.AgentRule
- func ExtensionPackageIDLT(v string) predicate.AgentRule
- func ExtensionPackageIDLTE(v string) predicate.AgentRule
- func ExtensionPackageIDNEQ(v string) predicate.AgentRule
- func ExtensionPackageIDNotIn(vs ...string) predicate.AgentRule
- func ExtensionPackageIDNotNil() predicate.AgentRule
- func ExtensionRuleID(v string) predicate.AgentRule
- func ExtensionRuleIDContains(v string) predicate.AgentRule
- func ExtensionRuleIDContainsFold(v string) predicate.AgentRule
- func ExtensionRuleIDEQ(v string) predicate.AgentRule
- func ExtensionRuleIDEqualFold(v string) predicate.AgentRule
- func ExtensionRuleIDGT(v string) predicate.AgentRule
- func ExtensionRuleIDGTE(v string) predicate.AgentRule
- func ExtensionRuleIDHasPrefix(v string) predicate.AgentRule
- func ExtensionRuleIDHasSuffix(v string) predicate.AgentRule
- func ExtensionRuleIDIn(vs ...string) predicate.AgentRule
- func ExtensionRuleIDIsNil() predicate.AgentRule
- func ExtensionRuleIDLT(v string) predicate.AgentRule
- func ExtensionRuleIDLTE(v string) predicate.AgentRule
- func ExtensionRuleIDNEQ(v string) predicate.AgentRule
- func ExtensionRuleIDNotIn(vs ...string) predicate.AgentRule
- func ExtensionRuleIDNotNil() predicate.AgentRule
- func ExtensionVersion(v string) predicate.AgentRule
- func ExtensionVersionContains(v string) predicate.AgentRule
- func ExtensionVersionContainsFold(v string) predicate.AgentRule
- func ExtensionVersionEQ(v string) predicate.AgentRule
- func ExtensionVersionEqualFold(v string) predicate.AgentRule
- func ExtensionVersionGT(v string) predicate.AgentRule
- func ExtensionVersionGTE(v string) predicate.AgentRule
- func ExtensionVersionHasPrefix(v string) predicate.AgentRule
- func ExtensionVersionHasSuffix(v string) predicate.AgentRule
- func ExtensionVersionIn(vs ...string) predicate.AgentRule
- func ExtensionVersionIsNil() predicate.AgentRule
- func ExtensionVersionLT(v string) predicate.AgentRule
- func ExtensionVersionLTE(v string) predicate.AgentRule
- func ExtensionVersionNEQ(v string) predicate.AgentRule
- func ExtensionVersionNotIn(vs ...string) predicate.AgentRule
- func ExtensionVersionNotNil() predicate.AgentRule
- func HasVersions() predicate.AgentRule
- func HasVersionsWith(preds ...predicate.AgentRuleVersion) predicate.AgentRule
- func ID(id uuid.UUID) predicate.AgentRule
- func IDEQ(id uuid.UUID) predicate.AgentRule
- func IDGT(id uuid.UUID) predicate.AgentRule
- func IDGTE(id uuid.UUID) predicate.AgentRule
- func IDIn(ids ...uuid.UUID) predicate.AgentRule
- func IDLT(id uuid.UUID) predicate.AgentRule
- func IDLTE(id uuid.UUID) predicate.AgentRule
- func IDNEQ(id uuid.UUID) predicate.AgentRule
- func IDNotIn(ids ...uuid.UUID) predicate.AgentRule
- func IsDeleted(v bool) predicate.AgentRule
- func IsDeletedEQ(v bool) predicate.AgentRule
- func IsDeletedNEQ(v bool) predicate.AgentRule
- func Name(v string) predicate.AgentRule
- func NameContains(v string) predicate.AgentRule
- func NameContainsFold(v string) predicate.AgentRule
- func NameEQ(v string) predicate.AgentRule
- func NameEqualFold(v string) predicate.AgentRule
- func NameGT(v string) predicate.AgentRule
- func NameGTE(v string) predicate.AgentRule
- func NameHasPrefix(v string) predicate.AgentRule
- func NameHasSuffix(v string) predicate.AgentRule
- func NameIn(vs ...string) predicate.AgentRule
- func NameLT(v string) predicate.AgentRule
- func NameLTE(v string) predicate.AgentRule
- func NameNEQ(v string) predicate.AgentRule
- func NameNotIn(vs ...string) predicate.AgentRule
- func Not(p predicate.AgentRule) predicate.AgentRule
- func Or(predicates ...predicate.AgentRule) predicate.AgentRule
- func ScopeID(v string) predicate.AgentRule
- func ScopeIDContains(v string) predicate.AgentRule
- func ScopeIDContainsFold(v string) predicate.AgentRule
- func ScopeIDEQ(v string) predicate.AgentRule
- func ScopeIDEqualFold(v string) predicate.AgentRule
- func ScopeIDGT(v string) predicate.AgentRule
- func ScopeIDGTE(v string) predicate.AgentRule
- func ScopeIDHasPrefix(v string) predicate.AgentRule
- func ScopeIDHasSuffix(v string) predicate.AgentRule
- func ScopeIDIn(vs ...string) predicate.AgentRule
- func ScopeIDLT(v string) predicate.AgentRule
- func ScopeIDLTE(v string) predicate.AgentRule
- func ScopeIDNEQ(v string) predicate.AgentRule
- func ScopeIDNotIn(vs ...string) predicate.AgentRule
- func ScopeTypeEQ(v ScopeType) predicate.AgentRule
- func ScopeTypeIn(vs ...ScopeType) predicate.AgentRule
- func ScopeTypeNEQ(v ScopeType) predicate.AgentRule
- func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentRule
- func ScopeTypeValidator(st ScopeType) error
- func UpdatedAt(v time.Time) predicate.AgentRule
- func UpdatedAtEQ(v time.Time) predicate.AgentRule
- func UpdatedAtGT(v time.Time) predicate.AgentRule
- func UpdatedAtGTE(v time.Time) predicate.AgentRule
- func UpdatedAtIn(vs ...time.Time) predicate.AgentRule
- func UpdatedAtLT(v time.Time) predicate.AgentRule
- func UpdatedAtLTE(v time.Time) predicate.AgentRule
- func UpdatedAtNEQ(v time.Time) predicate.AgentRule
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentRule
- func ValidColumn(column string) bool
- type OrderOption
- func ByActiveVersionID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionPackageID(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionRuleID(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionVersion(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByScopeID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
- type ScopeType
Constants ¶
const ( // Label holds the string label denoting the agentrule type in the database. Label = "agent_rule" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldScopeType holds the string denoting the scope_type field in the database. FieldScopeType = "scope_type" // FieldScopeID holds the string denoting the scope_id field in the database. FieldScopeID = "scope_id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldActiveVersionID holds the string denoting the active_version_id field in the database. FieldActiveVersionID = "active_version_id" // FieldExtensionPackageID holds the string denoting the extension_package_id field in the database. FieldExtensionPackageID = "extension_package_id" // FieldExtensionRuleID holds the string denoting the extension_rule_id field in the database. FieldExtensionRuleID = "extension_rule_id" // FieldExtensionVersion holds the string denoting the extension_version field in the database. FieldExtensionVersion = "extension_version" // FieldIsDeleted holds the string denoting the is_deleted field in the database. FieldIsDeleted = "is_deleted" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeVersions holds the string denoting the versions edge name in mutations. EdgeVersions = "versions" // Table holds the table name of the agentrule in the database. Table = "agent_rules" // VersionsTable is the table that holds the versions relation/edge. VersionsTable = "agent_rule_versions" // VersionsInverseTable is the table name for the AgentRuleVersion entity. // It exists in this package in order to avoid circular dependency with the "agentruleversion" package. VersionsInverseTable = "agent_rule_versions" // VersionsColumn is the table column denoting the versions relation/edge. VersionsColumn = "rule_id" )
const DefaultScopeType = ScopeTypeGlobal
ScopeTypeGlobal is the default value of the ScopeType enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultScopeID holds the default value on creation for the "scope_id" field. DefaultScopeID string // DefaultIsDeleted holds the default value on creation for the "is_deleted" field. DefaultIsDeleted bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldScopeType, FieldScopeID, FieldCreatedBy, FieldActiveVersionID, FieldExtensionPackageID, FieldExtensionRuleID, FieldExtensionVersion, FieldIsDeleted, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentrule fields.
Functions ¶
func ActiveVersionID ¶
ActiveVersionID applies equality check predicate on the "active_version_id" field. It's identical to ActiveVersionIDEQ.
func ActiveVersionIDEQ ¶
ActiveVersionIDEQ applies the EQ predicate on the "active_version_id" field.
func ActiveVersionIDGT ¶
ActiveVersionIDGT applies the GT predicate on the "active_version_id" field.
func ActiveVersionIDGTE ¶
ActiveVersionIDGTE applies the GTE predicate on the "active_version_id" field.
func ActiveVersionIDIn ¶
ActiveVersionIDIn applies the In predicate on the "active_version_id" field.
func ActiveVersionIDIsNil ¶
ActiveVersionIDIsNil applies the IsNil predicate on the "active_version_id" field.
func ActiveVersionIDLT ¶
ActiveVersionIDLT applies the LT predicate on the "active_version_id" field.
func ActiveVersionIDLTE ¶
ActiveVersionIDLTE applies the LTE predicate on the "active_version_id" field.
func ActiveVersionIDNEQ ¶
ActiveVersionIDNEQ applies the NEQ predicate on the "active_version_id" field.
func ActiveVersionIDNotIn ¶
ActiveVersionIDNotIn applies the NotIn predicate on the "active_version_id" field.
func ActiveVersionIDNotNil ¶
ActiveVersionIDNotNil applies the NotNil predicate on the "active_version_id" 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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ExtensionPackageID ¶
ExtensionPackageID applies equality check predicate on the "extension_package_id" field. It's identical to ExtensionPackageIDEQ.
func ExtensionPackageIDContains ¶
ExtensionPackageIDContains applies the Contains predicate on the "extension_package_id" field.
func ExtensionPackageIDContainsFold ¶
ExtensionPackageIDContainsFold applies the ContainsFold predicate on the "extension_package_id" field.
func ExtensionPackageIDEQ ¶
ExtensionPackageIDEQ applies the EQ predicate on the "extension_package_id" field.
func ExtensionPackageIDEqualFold ¶
ExtensionPackageIDEqualFold applies the EqualFold predicate on the "extension_package_id" field.
func ExtensionPackageIDGT ¶
ExtensionPackageIDGT applies the GT predicate on the "extension_package_id" field.
func ExtensionPackageIDGTE ¶
ExtensionPackageIDGTE applies the GTE predicate on the "extension_package_id" field.
func ExtensionPackageIDHasPrefix ¶
ExtensionPackageIDHasPrefix applies the HasPrefix predicate on the "extension_package_id" field.
func ExtensionPackageIDHasSuffix ¶
ExtensionPackageIDHasSuffix applies the HasSuffix predicate on the "extension_package_id" field.
func ExtensionPackageIDIn ¶
ExtensionPackageIDIn applies the In predicate on the "extension_package_id" field.
func ExtensionPackageIDIsNil ¶
ExtensionPackageIDIsNil applies the IsNil predicate on the "extension_package_id" field.
func ExtensionPackageIDLT ¶
ExtensionPackageIDLT applies the LT predicate on the "extension_package_id" field.
func ExtensionPackageIDLTE ¶
ExtensionPackageIDLTE applies the LTE predicate on the "extension_package_id" field.
func ExtensionPackageIDNEQ ¶
ExtensionPackageIDNEQ applies the NEQ predicate on the "extension_package_id" field.
func ExtensionPackageIDNotIn ¶
ExtensionPackageIDNotIn applies the NotIn predicate on the "extension_package_id" field.
func ExtensionPackageIDNotNil ¶
ExtensionPackageIDNotNil applies the NotNil predicate on the "extension_package_id" field.
func ExtensionRuleID ¶
ExtensionRuleID applies equality check predicate on the "extension_rule_id" field. It's identical to ExtensionRuleIDEQ.
func ExtensionRuleIDContains ¶
ExtensionRuleIDContains applies the Contains predicate on the "extension_rule_id" field.
func ExtensionRuleIDContainsFold ¶
ExtensionRuleIDContainsFold applies the ContainsFold predicate on the "extension_rule_id" field.
func ExtensionRuleIDEQ ¶
ExtensionRuleIDEQ applies the EQ predicate on the "extension_rule_id" field.
func ExtensionRuleIDEqualFold ¶
ExtensionRuleIDEqualFold applies the EqualFold predicate on the "extension_rule_id" field.
func ExtensionRuleIDGT ¶
ExtensionRuleIDGT applies the GT predicate on the "extension_rule_id" field.
func ExtensionRuleIDGTE ¶
ExtensionRuleIDGTE applies the GTE predicate on the "extension_rule_id" field.
func ExtensionRuleIDHasPrefix ¶
ExtensionRuleIDHasPrefix applies the HasPrefix predicate on the "extension_rule_id" field.
func ExtensionRuleIDHasSuffix ¶
ExtensionRuleIDHasSuffix applies the HasSuffix predicate on the "extension_rule_id" field.
func ExtensionRuleIDIn ¶
ExtensionRuleIDIn applies the In predicate on the "extension_rule_id" field.
func ExtensionRuleIDIsNil ¶
ExtensionRuleIDIsNil applies the IsNil predicate on the "extension_rule_id" field.
func ExtensionRuleIDLT ¶
ExtensionRuleIDLT applies the LT predicate on the "extension_rule_id" field.
func ExtensionRuleIDLTE ¶
ExtensionRuleIDLTE applies the LTE predicate on the "extension_rule_id" field.
func ExtensionRuleIDNEQ ¶
ExtensionRuleIDNEQ applies the NEQ predicate on the "extension_rule_id" field.
func ExtensionRuleIDNotIn ¶
ExtensionRuleIDNotIn applies the NotIn predicate on the "extension_rule_id" field.
func ExtensionRuleIDNotNil ¶
ExtensionRuleIDNotNil applies the NotNil predicate on the "extension_rule_id" field.
func ExtensionVersion ¶
ExtensionVersion applies equality check predicate on the "extension_version" field. It's identical to ExtensionVersionEQ.
func ExtensionVersionContains ¶
ExtensionVersionContains applies the Contains predicate on the "extension_version" field.
func ExtensionVersionContainsFold ¶
ExtensionVersionContainsFold applies the ContainsFold predicate on the "extension_version" field.
func ExtensionVersionEQ ¶
ExtensionVersionEQ applies the EQ predicate on the "extension_version" field.
func ExtensionVersionEqualFold ¶
ExtensionVersionEqualFold applies the EqualFold predicate on the "extension_version" field.
func ExtensionVersionGT ¶
ExtensionVersionGT applies the GT predicate on the "extension_version" field.
func ExtensionVersionGTE ¶
ExtensionVersionGTE applies the GTE predicate on the "extension_version" field.
func ExtensionVersionHasPrefix ¶
ExtensionVersionHasPrefix applies the HasPrefix predicate on the "extension_version" field.
func ExtensionVersionHasSuffix ¶
ExtensionVersionHasSuffix applies the HasSuffix predicate on the "extension_version" field.
func ExtensionVersionIn ¶
ExtensionVersionIn applies the In predicate on the "extension_version" field.
func ExtensionVersionIsNil ¶
ExtensionVersionIsNil applies the IsNil predicate on the "extension_version" field.
func ExtensionVersionLT ¶
ExtensionVersionLT applies the LT predicate on the "extension_version" field.
func ExtensionVersionLTE ¶
ExtensionVersionLTE applies the LTE predicate on the "extension_version" field.
func ExtensionVersionNEQ ¶
ExtensionVersionNEQ applies the NEQ predicate on the "extension_version" field.
func ExtensionVersionNotIn ¶
ExtensionVersionNotIn applies the NotIn predicate on the "extension_version" field.
func ExtensionVersionNotNil ¶
ExtensionVersionNotNil applies the NotNil predicate on the "extension_version" field.
func HasVersions ¶
HasVersions applies the HasEdge predicate on the "versions" edge.
func HasVersionsWith ¶
func HasVersionsWith(preds ...predicate.AgentRuleVersion) predicate.AgentRule
HasVersionsWith applies the HasEdge predicate on the "versions" edge with a given conditions (other predicates).
func IsDeleted ¶
IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.
func IsDeletedEQ ¶
IsDeletedEQ applies the EQ predicate on the "is_deleted" field.
func IsDeletedNEQ ¶
IsDeletedNEQ applies the NEQ predicate on the "is_deleted" 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 ScopeID ¶
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEqualFold ¶
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGTE ¶
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDLTE ¶
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeTypeEQ ¶
ScopeTypeEQ applies the EQ predicate on the "scope_type" field.
func ScopeTypeIn ¶
ScopeTypeIn applies the In predicate on the "scope_type" field.
func ScopeTypeNEQ ¶
ScopeTypeNEQ applies the NEQ predicate on the "scope_type" field.
func ScopeTypeNotIn ¶
ScopeTypeNotIn applies the NotIn predicate on the "scope_type" field.
func ScopeTypeValidator ¶
ScopeTypeValidator is a validator for the "scope_type" field enum values. It is called by the builders before save.
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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the AgentRule queries.
func ByActiveVersionID ¶
func ByActiveVersionID(opts ...sql.OrderTermOption) OrderOption
ByActiveVersionID orders the results by the active_version_id 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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByExtensionPackageID ¶
func ByExtensionPackageID(opts ...sql.OrderTermOption) OrderOption
ByExtensionPackageID orders the results by the extension_package_id field.
func ByExtensionRuleID ¶
func ByExtensionRuleID(opts ...sql.OrderTermOption) OrderOption
ByExtensionRuleID orders the results by the extension_rule_id field.
func ByExtensionVersion ¶
func ByExtensionVersion(opts ...sql.OrderTermOption) OrderOption
ByExtensionVersion orders the results by the extension_version field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsDeleted ¶
func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
ByIsDeleted orders the results by the is_deleted field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByScopeID ¶
func ByScopeID(opts ...sql.OrderTermOption) OrderOption
ByScopeID orders the results by the scope_id field.
func ByScopeType ¶
func ByScopeType(opts ...sql.OrderTermOption) OrderOption
ByScopeType orders the results by the scope_type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersions ¶
func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVersions orders the results by versions terms.
func ByVersionsCount ¶
func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
ByVersionsCount orders the results by versions count.