Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveVersionID(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDEQ(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDGT(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDGTE(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDIn(vs ...uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDIsNil() predicate.AgentPlugin
- func ActiveVersionIDLT(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDLTE(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDNEQ(v uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDNotIn(vs ...uuid.UUID) predicate.AgentPlugin
- func ActiveVersionIDNotNil() predicate.AgentPlugin
- func And(predicates ...predicate.AgentPlugin) predicate.AgentPlugin
- func CreatedAt(v time.Time) predicate.AgentPlugin
- func CreatedAtEQ(v time.Time) predicate.AgentPlugin
- func CreatedAtGT(v time.Time) predicate.AgentPlugin
- func CreatedAtGTE(v time.Time) predicate.AgentPlugin
- func CreatedAtIn(vs ...time.Time) predicate.AgentPlugin
- func CreatedAtLT(v time.Time) predicate.AgentPlugin
- func CreatedAtLTE(v time.Time) predicate.AgentPlugin
- func CreatedAtNEQ(v time.Time) predicate.AgentPlugin
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentPlugin
- func CreatedBy(v uuid.UUID) predicate.AgentPlugin
- func CreatedByEQ(v uuid.UUID) predicate.AgentPlugin
- func CreatedByGT(v uuid.UUID) predicate.AgentPlugin
- func CreatedByGTE(v uuid.UUID) predicate.AgentPlugin
- func CreatedByIn(vs ...uuid.UUID) predicate.AgentPlugin
- func CreatedByLT(v uuid.UUID) predicate.AgentPlugin
- func CreatedByLTE(v uuid.UUID) predicate.AgentPlugin
- func CreatedByNEQ(v uuid.UUID) predicate.AgentPlugin
- func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentPlugin
- func Description(v string) predicate.AgentPlugin
- func DescriptionContains(v string) predicate.AgentPlugin
- func DescriptionContainsFold(v string) predicate.AgentPlugin
- func DescriptionEQ(v string) predicate.AgentPlugin
- func DescriptionEqualFold(v string) predicate.AgentPlugin
- func DescriptionGT(v string) predicate.AgentPlugin
- func DescriptionGTE(v string) predicate.AgentPlugin
- func DescriptionHasPrefix(v string) predicate.AgentPlugin
- func DescriptionHasSuffix(v string) predicate.AgentPlugin
- func DescriptionIn(vs ...string) predicate.AgentPlugin
- func DescriptionIsNil() predicate.AgentPlugin
- func DescriptionLT(v string) predicate.AgentPlugin
- func DescriptionLTE(v string) predicate.AgentPlugin
- func DescriptionNEQ(v string) predicate.AgentPlugin
- func DescriptionNotIn(vs ...string) predicate.AgentPlugin
- func DescriptionNotNil() predicate.AgentPlugin
- func Enabled(v bool) predicate.AgentPlugin
- func EnabledEQ(v bool) predicate.AgentPlugin
- func EnabledNEQ(v bool) predicate.AgentPlugin
- func HasRepo() predicate.AgentPlugin
- func HasRepoWith(preds ...predicate.AgentPluginRepo) predicate.AgentPlugin
- func HasVersions() predicate.AgentPlugin
- func HasVersionsWith(preds ...predicate.AgentPluginVersion) predicate.AgentPlugin
- func ID(id uuid.UUID) predicate.AgentPlugin
- func IDEQ(id uuid.UUID) predicate.AgentPlugin
- func IDGT(id uuid.UUID) predicate.AgentPlugin
- func IDGTE(id uuid.UUID) predicate.AgentPlugin
- func IDIn(ids ...uuid.UUID) predicate.AgentPlugin
- func IDLT(id uuid.UUID) predicate.AgentPlugin
- func IDLTE(id uuid.UUID) predicate.AgentPlugin
- func IDNEQ(id uuid.UUID) predicate.AgentPlugin
- func IDNotIn(ids ...uuid.UUID) predicate.AgentPlugin
- func IsDeleted(v bool) predicate.AgentPlugin
- func IsDeletedEQ(v bool) predicate.AgentPlugin
- func IsDeletedNEQ(v bool) predicate.AgentPlugin
- func IsForceDelivery(v bool) predicate.AgentPlugin
- func IsForceDeliveryEQ(v bool) predicate.AgentPlugin
- func IsForceDeliveryNEQ(v bool) predicate.AgentPlugin
- func IsOrphan(v bool) predicate.AgentPlugin
- func IsOrphanEQ(v bool) predicate.AgentPlugin
- func IsOrphanNEQ(v bool) predicate.AgentPlugin
- func Name(v string) predicate.AgentPlugin
- func NameContains(v string) predicate.AgentPlugin
- func NameContainsFold(v string) predicate.AgentPlugin
- func NameEQ(v string) predicate.AgentPlugin
- func NameEqualFold(v string) predicate.AgentPlugin
- func NameGT(v string) predicate.AgentPlugin
- func NameGTE(v string) predicate.AgentPlugin
- func NameHasPrefix(v string) predicate.AgentPlugin
- func NameHasSuffix(v string) predicate.AgentPlugin
- func NameIn(vs ...string) predicate.AgentPlugin
- func NameLT(v string) predicate.AgentPlugin
- func NameLTE(v string) predicate.AgentPlugin
- func NameNEQ(v string) predicate.AgentPlugin
- func NameNotIn(vs ...string) predicate.AgentPlugin
- func Not(p predicate.AgentPlugin) predicate.AgentPlugin
- func Or(predicates ...predicate.AgentPlugin) predicate.AgentPlugin
- func RepoID(v uuid.UUID) predicate.AgentPlugin
- func RepoIDEQ(v uuid.UUID) predicate.AgentPlugin
- func RepoIDIn(vs ...uuid.UUID) predicate.AgentPlugin
- func RepoIDNEQ(v uuid.UUID) predicate.AgentPlugin
- func RepoIDNotIn(vs ...uuid.UUID) predicate.AgentPlugin
- func ScopeID(v string) predicate.AgentPlugin
- func ScopeIDContains(v string) predicate.AgentPlugin
- func ScopeIDContainsFold(v string) predicate.AgentPlugin
- func ScopeIDEQ(v string) predicate.AgentPlugin
- func ScopeIDEqualFold(v string) predicate.AgentPlugin
- func ScopeIDGT(v string) predicate.AgentPlugin
- func ScopeIDGTE(v string) predicate.AgentPlugin
- func ScopeIDHasPrefix(v string) predicate.AgentPlugin
- func ScopeIDHasSuffix(v string) predicate.AgentPlugin
- func ScopeIDIn(vs ...string) predicate.AgentPlugin
- func ScopeIDLT(v string) predicate.AgentPlugin
- func ScopeIDLTE(v string) predicate.AgentPlugin
- func ScopeIDNEQ(v string) predicate.AgentPlugin
- func ScopeIDNotIn(vs ...string) predicate.AgentPlugin
- func ScopeTypeEQ(v ScopeType) predicate.AgentPlugin
- func ScopeTypeIn(vs ...ScopeType) predicate.AgentPlugin
- func ScopeTypeNEQ(v ScopeType) predicate.AgentPlugin
- func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentPlugin
- func ScopeTypeValidator(st ScopeType) error
- func UpdatedAt(v time.Time) predicate.AgentPlugin
- func UpdatedAtEQ(v time.Time) predicate.AgentPlugin
- func UpdatedAtGT(v time.Time) predicate.AgentPlugin
- func UpdatedAtGTE(v time.Time) predicate.AgentPlugin
- func UpdatedAtIn(vs ...time.Time) predicate.AgentPlugin
- func UpdatedAtLT(v time.Time) predicate.AgentPlugin
- func UpdatedAtLTE(v time.Time) predicate.AgentPlugin
- func UpdatedAtNEQ(v time.Time) predicate.AgentPlugin
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentPlugin
- 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 ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
- func ByIsForceDelivery(opts ...sql.OrderTermOption) OrderOption
- func ByIsOrphan(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRepoID(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 agentplugin type in the database. Label = "agent_plugin" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldRepoID holds the string denoting the repo_id field in the database. FieldRepoID = "repo_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" // FieldIsForceDelivery holds the string denoting the is_force_delivery field in the database. FieldIsForceDelivery = "is_force_delivery" // FieldIsOrphan holds the string denoting the is_orphan field in the database. FieldIsOrphan = "is_orphan" // FieldIsDeleted holds the string denoting the is_deleted field in the database. FieldIsDeleted = "is_deleted" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // 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" // EdgeRepo holds the string denoting the repo edge name in mutations. EdgeRepo = "repo" // EdgeVersions holds the string denoting the versions edge name in mutations. EdgeVersions = "versions" // Table holds the table name of the agentplugin in the database. Table = "agent_plugins" // RepoTable is the table that holds the repo relation/edge. RepoTable = "agent_plugins" // RepoInverseTable is the table name for the AgentPluginRepo entity. // It exists in this package in order to avoid circular dependency with the "agentpluginrepo" package. RepoInverseTable = "agent_plugin_repos" // RepoColumn is the table column denoting the repo relation/edge. RepoColumn = "repo_id" // VersionsTable is the table that holds the versions relation/edge. VersionsTable = "agent_plugin_versions" // VersionsInverseTable is the table name for the AgentPluginVersion entity. // It exists in this package in order to avoid circular dependency with the "agentpluginversion" package. VersionsInverseTable = "agent_plugin_versions" // VersionsColumn is the table column denoting the versions relation/edge. VersionsColumn = "resource_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 // DefaultIsForceDelivery holds the default value on creation for the "is_force_delivery" field. DefaultIsForceDelivery bool // DefaultIsOrphan holds the default value on creation for the "is_orphan" field. DefaultIsOrphan bool // DefaultIsDeleted holds the default value on creation for the "is_deleted" field. DefaultIsDeleted bool // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled 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, FieldRepoID, FieldName, FieldDescription, FieldScopeType, FieldScopeID, FieldCreatedBy, FieldActiveVersionID, FieldIsForceDelivery, FieldIsOrphan, FieldIsDeleted, FieldEnabled, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentplugin fields.
Functions ¶
func ActiveVersionID ¶
func ActiveVersionID(v uuid.UUID) predicate.AgentPlugin
ActiveVersionID applies equality check predicate on the "active_version_id" field. It's identical to ActiveVersionIDEQ.
func ActiveVersionIDEQ ¶
func ActiveVersionIDEQ(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDEQ applies the EQ predicate on the "active_version_id" field.
func ActiveVersionIDGT ¶
func ActiveVersionIDGT(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDGT applies the GT predicate on the "active_version_id" field.
func ActiveVersionIDGTE ¶
func ActiveVersionIDGTE(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDGTE applies the GTE predicate on the "active_version_id" field.
func ActiveVersionIDIn ¶
func ActiveVersionIDIn(vs ...uuid.UUID) predicate.AgentPlugin
ActiveVersionIDIn applies the In predicate on the "active_version_id" field.
func ActiveVersionIDIsNil ¶
func ActiveVersionIDIsNil() predicate.AgentPlugin
ActiveVersionIDIsNil applies the IsNil predicate on the "active_version_id" field.
func ActiveVersionIDLT ¶
func ActiveVersionIDLT(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDLT applies the LT predicate on the "active_version_id" field.
func ActiveVersionIDLTE ¶
func ActiveVersionIDLTE(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDLTE applies the LTE predicate on the "active_version_id" field.
func ActiveVersionIDNEQ ¶
func ActiveVersionIDNEQ(v uuid.UUID) predicate.AgentPlugin
ActiveVersionIDNEQ applies the NEQ predicate on the "active_version_id" field.
func ActiveVersionIDNotIn ¶
func ActiveVersionIDNotIn(vs ...uuid.UUID) predicate.AgentPlugin
ActiveVersionIDNotIn applies the NotIn predicate on the "active_version_id" field.
func ActiveVersionIDNotNil ¶
func ActiveVersionIDNotNil() predicate.AgentPlugin
ActiveVersionIDNotNil applies the NotNil predicate on the "active_version_id" field.
func And ¶
func And(predicates ...predicate.AgentPlugin) predicate.AgentPlugin
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentPlugin
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentPlugin
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentPlugin
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentPlugin
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentPlugin
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentPlugin
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentPlugin
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentPlugin
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentPlugin
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v uuid.UUID) predicate.AgentPlugin
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v uuid.UUID) predicate.AgentPlugin
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v uuid.UUID) predicate.AgentPlugin
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v uuid.UUID) predicate.AgentPlugin
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...uuid.UUID) predicate.AgentPlugin
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v uuid.UUID) predicate.AgentPlugin
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v uuid.UUID) predicate.AgentPlugin
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v uuid.UUID) predicate.AgentPlugin
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentPlugin
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Description ¶
func Description(v string) predicate.AgentPlugin
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.AgentPlugin
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.AgentPlugin
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.AgentPlugin
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.AgentPlugin
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.AgentPlugin
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.AgentPlugin
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.AgentPlugin
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.AgentPlugin
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.AgentPlugin
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.AgentPlugin
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.AgentPlugin
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.AgentPlugin
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.AgentPlugin
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.AgentPlugin
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.AgentPlugin
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Enabled ¶
func Enabled(v bool) predicate.AgentPlugin
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.AgentPlugin
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.AgentPlugin
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasRepo ¶
func HasRepo() predicate.AgentPlugin
HasRepo applies the HasEdge predicate on the "repo" edge.
func HasRepoWith ¶
func HasRepoWith(preds ...predicate.AgentPluginRepo) predicate.AgentPlugin
HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).
func HasVersions ¶
func HasVersions() predicate.AgentPlugin
HasVersions applies the HasEdge predicate on the "versions" edge.
func HasVersionsWith ¶
func HasVersionsWith(preds ...predicate.AgentPluginVersion) predicate.AgentPlugin
HasVersionsWith applies the HasEdge predicate on the "versions" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentPlugin
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentPlugin
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentPlugin
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentPlugin
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentPlugin
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentPlugin
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentPlugin
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AgentPlugin
IDNotIn applies the NotIn predicate on the ID field.
func IsDeleted ¶
func IsDeleted(v bool) predicate.AgentPlugin
IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.
func IsDeletedEQ ¶
func IsDeletedEQ(v bool) predicate.AgentPlugin
IsDeletedEQ applies the EQ predicate on the "is_deleted" field.
func IsDeletedNEQ ¶
func IsDeletedNEQ(v bool) predicate.AgentPlugin
IsDeletedNEQ applies the NEQ predicate on the "is_deleted" field.
func IsForceDelivery ¶
func IsForceDelivery(v bool) predicate.AgentPlugin
IsForceDelivery applies equality check predicate on the "is_force_delivery" field. It's identical to IsForceDeliveryEQ.
func IsForceDeliveryEQ ¶
func IsForceDeliveryEQ(v bool) predicate.AgentPlugin
IsForceDeliveryEQ applies the EQ predicate on the "is_force_delivery" field.
func IsForceDeliveryNEQ ¶
func IsForceDeliveryNEQ(v bool) predicate.AgentPlugin
IsForceDeliveryNEQ applies the NEQ predicate on the "is_force_delivery" field.
func IsOrphan ¶
func IsOrphan(v bool) predicate.AgentPlugin
IsOrphan applies equality check predicate on the "is_orphan" field. It's identical to IsOrphanEQ.
func IsOrphanEQ ¶
func IsOrphanEQ(v bool) predicate.AgentPlugin
IsOrphanEQ applies the EQ predicate on the "is_orphan" field.
func IsOrphanNEQ ¶
func IsOrphanNEQ(v bool) predicate.AgentPlugin
IsOrphanNEQ applies the NEQ predicate on the "is_orphan" field.
func Name ¶
func Name(v string) predicate.AgentPlugin
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.AgentPlugin
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.AgentPlugin
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.AgentPlugin
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.AgentPlugin
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.AgentPlugin
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.AgentPlugin
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.AgentPlugin
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.AgentPlugin
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.AgentPlugin
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.AgentPlugin
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.AgentPlugin
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.AgentPlugin
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.AgentPlugin
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.AgentPlugin) predicate.AgentPlugin
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentPlugin) predicate.AgentPlugin
Or groups predicates with the OR operator between them.
func RepoID ¶
func RepoID(v uuid.UUID) predicate.AgentPlugin
RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.
func RepoIDEQ ¶
func RepoIDEQ(v uuid.UUID) predicate.AgentPlugin
RepoIDEQ applies the EQ predicate on the "repo_id" field.
func RepoIDIn ¶
func RepoIDIn(vs ...uuid.UUID) predicate.AgentPlugin
RepoIDIn applies the In predicate on the "repo_id" field.
func RepoIDNEQ ¶
func RepoIDNEQ(v uuid.UUID) predicate.AgentPlugin
RepoIDNEQ applies the NEQ predicate on the "repo_id" field.
func RepoIDNotIn ¶
func RepoIDNotIn(vs ...uuid.UUID) predicate.AgentPlugin
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
func ScopeID ¶
func ScopeID(v string) predicate.AgentPlugin
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶
func ScopeIDContains(v string) predicate.AgentPlugin
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶
func ScopeIDContainsFold(v string) predicate.AgentPlugin
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEQ ¶
func ScopeIDEQ(v string) predicate.AgentPlugin
ScopeIDEQ applies the EQ predicate on the "scope_id" field.
func ScopeIDEqualFold ¶
func ScopeIDEqualFold(v string) predicate.AgentPlugin
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGT ¶
func ScopeIDGT(v string) predicate.AgentPlugin
ScopeIDGT applies the GT predicate on the "scope_id" field.
func ScopeIDGTE ¶
func ScopeIDGTE(v string) predicate.AgentPlugin
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶
func ScopeIDHasPrefix(v string) predicate.AgentPlugin
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶
func ScopeIDHasSuffix(v string) predicate.AgentPlugin
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIn ¶
func ScopeIDIn(vs ...string) predicate.AgentPlugin
ScopeIDIn applies the In predicate on the "scope_id" field.
func ScopeIDLT ¶
func ScopeIDLT(v string) predicate.AgentPlugin
ScopeIDLT applies the LT predicate on the "scope_id" field.
func ScopeIDLTE ¶
func ScopeIDLTE(v string) predicate.AgentPlugin
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶
func ScopeIDNEQ(v string) predicate.AgentPlugin
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶
func ScopeIDNotIn(vs ...string) predicate.AgentPlugin
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeTypeEQ ¶
func ScopeTypeEQ(v ScopeType) predicate.AgentPlugin
ScopeTypeEQ applies the EQ predicate on the "scope_type" field.
func ScopeTypeIn ¶
func ScopeTypeIn(vs ...ScopeType) predicate.AgentPlugin
ScopeTypeIn applies the In predicate on the "scope_type" field.
func ScopeTypeNEQ ¶
func ScopeTypeNEQ(v ScopeType) predicate.AgentPlugin
ScopeTypeNEQ applies the NEQ predicate on the "scope_type" field.
func ScopeTypeNotIn ¶
func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentPlugin
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 ¶
func UpdatedAt(v time.Time) predicate.AgentPlugin
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AgentPlugin
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AgentPlugin
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AgentPlugin
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AgentPlugin
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AgentPlugin
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AgentPlugin
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AgentPlugin
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AgentPlugin
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 AgentPlugin 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 ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled 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 ByIsForceDelivery ¶
func ByIsForceDelivery(opts ...sql.OrderTermOption) OrderOption
ByIsForceDelivery orders the results by the is_force_delivery field.
func ByIsOrphan ¶
func ByIsOrphan(opts ...sql.OrderTermOption) OrderOption
ByIsOrphan orders the results by the is_orphan field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRepoField ¶
func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
ByRepoField orders the results by repo field.
func ByRepoID ¶
func ByRepoID(opts ...sql.OrderTermOption) OrderOption
ByRepoID orders the results by the repo_id 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.