Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Addon) predicate.Addon
- func CreatedAt(v time.Time) predicate.Addon
- func CreatedAtEQ(v time.Time) predicate.Addon
- func CreatedAtGT(v time.Time) predicate.Addon
- func CreatedAtGTE(v time.Time) predicate.Addon
- func CreatedAtIn(vs ...time.Time) predicate.Addon
- func CreatedAtLT(v time.Time) predicate.Addon
- func CreatedAtLTE(v time.Time) predicate.Addon
- func CreatedAtNEQ(v time.Time) predicate.Addon
- func CreatedAtNotIn(vs ...time.Time) predicate.Addon
- func CreatedBy(v string) predicate.Addon
- func CreatedByContains(v string) predicate.Addon
- func CreatedByContainsFold(v string) predicate.Addon
- func CreatedByEQ(v string) predicate.Addon
- func CreatedByEqualFold(v string) predicate.Addon
- func CreatedByGT(v string) predicate.Addon
- func CreatedByGTE(v string) predicate.Addon
- func CreatedByHasPrefix(v string) predicate.Addon
- func CreatedByHasSuffix(v string) predicate.Addon
- func CreatedByIn(vs ...string) predicate.Addon
- func CreatedByIsNil() predicate.Addon
- func CreatedByLT(v string) predicate.Addon
- func CreatedByLTE(v string) predicate.Addon
- func CreatedByNEQ(v string) predicate.Addon
- func CreatedByNotIn(vs ...string) predicate.Addon
- func CreatedByNotNil() predicate.Addon
- func Description(v string) predicate.Addon
- func DescriptionContains(v string) predicate.Addon
- func DescriptionContainsFold(v string) predicate.Addon
- func DescriptionEQ(v string) predicate.Addon
- func DescriptionEqualFold(v string) predicate.Addon
- func DescriptionGT(v string) predicate.Addon
- func DescriptionGTE(v string) predicate.Addon
- func DescriptionHasPrefix(v string) predicate.Addon
- func DescriptionHasSuffix(v string) predicate.Addon
- func DescriptionIn(vs ...string) predicate.Addon
- func DescriptionIsNil() predicate.Addon
- func DescriptionLT(v string) predicate.Addon
- func DescriptionLTE(v string) predicate.Addon
- func DescriptionNEQ(v string) predicate.Addon
- func DescriptionNotIn(vs ...string) predicate.Addon
- func DescriptionNotNil() predicate.Addon
- func EnvironmentID(v string) predicate.Addon
- func EnvironmentIDContains(v string) predicate.Addon
- func EnvironmentIDContainsFold(v string) predicate.Addon
- func EnvironmentIDEQ(v string) predicate.Addon
- func EnvironmentIDEqualFold(v string) predicate.Addon
- func EnvironmentIDGT(v string) predicate.Addon
- func EnvironmentIDGTE(v string) predicate.Addon
- func EnvironmentIDHasPrefix(v string) predicate.Addon
- func EnvironmentIDHasSuffix(v string) predicate.Addon
- func EnvironmentIDIn(vs ...string) predicate.Addon
- func EnvironmentIDIsNil() predicate.Addon
- func EnvironmentIDLT(v string) predicate.Addon
- func EnvironmentIDLTE(v string) predicate.Addon
- func EnvironmentIDNEQ(v string) predicate.Addon
- func EnvironmentIDNotIn(vs ...string) predicate.Addon
- func EnvironmentIDNotNil() predicate.Addon
- func HasEntitlements() predicate.Addon
- func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Addon
- func ID(id string) predicate.Addon
- func IDContainsFold(id string) predicate.Addon
- func IDEQ(id string) predicate.Addon
- func IDEqualFold(id string) predicate.Addon
- func IDGT(id string) predicate.Addon
- func IDGTE(id string) predicate.Addon
- func IDIn(ids ...string) predicate.Addon
- func IDLT(id string) predicate.Addon
- func IDLTE(id string) predicate.Addon
- func IDNEQ(id string) predicate.Addon
- func IDNotIn(ids ...string) predicate.Addon
- func LookupKey(v string) predicate.Addon
- func LookupKeyContains(v string) predicate.Addon
- func LookupKeyContainsFold(v string) predicate.Addon
- func LookupKeyEQ(v string) predicate.Addon
- func LookupKeyEqualFold(v string) predicate.Addon
- func LookupKeyGT(v string) predicate.Addon
- func LookupKeyGTE(v string) predicate.Addon
- func LookupKeyHasPrefix(v string) predicate.Addon
- func LookupKeyHasSuffix(v string) predicate.Addon
- func LookupKeyIn(vs ...string) predicate.Addon
- func LookupKeyLT(v string) predicate.Addon
- func LookupKeyLTE(v string) predicate.Addon
- func LookupKeyNEQ(v string) predicate.Addon
- func LookupKeyNotIn(vs ...string) predicate.Addon
- func MetadataIsNil() predicate.Addon
- func MetadataNotNil() predicate.Addon
- func Name(v string) predicate.Addon
- func NameContains(v string) predicate.Addon
- func NameContainsFold(v string) predicate.Addon
- func NameEQ(v string) predicate.Addon
- func NameEqualFold(v string) predicate.Addon
- func NameGT(v string) predicate.Addon
- func NameGTE(v string) predicate.Addon
- func NameHasPrefix(v string) predicate.Addon
- func NameHasSuffix(v string) predicate.Addon
- func NameIn(vs ...string) predicate.Addon
- func NameLT(v string) predicate.Addon
- func NameLTE(v string) predicate.Addon
- func NameNEQ(v string) predicate.Addon
- func NameNotIn(vs ...string) predicate.Addon
- func Not(p predicate.Addon) predicate.Addon
- func Or(predicates ...predicate.Addon) predicate.Addon
- func Status(v string) predicate.Addon
- func StatusContains(v string) predicate.Addon
- func StatusContainsFold(v string) predicate.Addon
- func StatusEQ(v string) predicate.Addon
- func StatusEqualFold(v string) predicate.Addon
- func StatusGT(v string) predicate.Addon
- func StatusGTE(v string) predicate.Addon
- func StatusHasPrefix(v string) predicate.Addon
- func StatusHasSuffix(v string) predicate.Addon
- func StatusIn(vs ...string) predicate.Addon
- func StatusLT(v string) predicate.Addon
- func StatusLTE(v string) predicate.Addon
- func StatusNEQ(v string) predicate.Addon
- func StatusNotIn(vs ...string) predicate.Addon
- func TenantID(v string) predicate.Addon
- func TenantIDContains(v string) predicate.Addon
- func TenantIDContainsFold(v string) predicate.Addon
- func TenantIDEQ(v string) predicate.Addon
- func TenantIDEqualFold(v string) predicate.Addon
- func TenantIDGT(v string) predicate.Addon
- func TenantIDGTE(v string) predicate.Addon
- func TenantIDHasPrefix(v string) predicate.Addon
- func TenantIDHasSuffix(v string) predicate.Addon
- func TenantIDIn(vs ...string) predicate.Addon
- func TenantIDLT(v string) predicate.Addon
- func TenantIDLTE(v string) predicate.Addon
- func TenantIDNEQ(v string) predicate.Addon
- func TenantIDNotIn(vs ...string) predicate.Addon
- func Type(v string) predicate.Addon
- func TypeContains(v string) predicate.Addon
- func TypeContainsFold(v string) predicate.Addon
- func TypeEQ(v string) predicate.Addon
- func TypeEqualFold(v string) predicate.Addon
- func TypeGT(v string) predicate.Addon
- func TypeGTE(v string) predicate.Addon
- func TypeHasPrefix(v string) predicate.Addon
- func TypeHasSuffix(v string) predicate.Addon
- func TypeIn(vs ...string) predicate.Addon
- func TypeLT(v string) predicate.Addon
- func TypeLTE(v string) predicate.Addon
- func TypeNEQ(v string) predicate.Addon
- func TypeNotIn(vs ...string) predicate.Addon
- func UpdatedAt(v time.Time) predicate.Addon
- func UpdatedAtEQ(v time.Time) predicate.Addon
- func UpdatedAtGT(v time.Time) predicate.Addon
- func UpdatedAtGTE(v time.Time) predicate.Addon
- func UpdatedAtIn(vs ...time.Time) predicate.Addon
- func UpdatedAtLT(v time.Time) predicate.Addon
- func UpdatedAtLTE(v time.Time) predicate.Addon
- func UpdatedAtNEQ(v time.Time) predicate.Addon
- func UpdatedAtNotIn(vs ...time.Time) predicate.Addon
- func UpdatedBy(v string) predicate.Addon
- func UpdatedByContains(v string) predicate.Addon
- func UpdatedByContainsFold(v string) predicate.Addon
- func UpdatedByEQ(v string) predicate.Addon
- func UpdatedByEqualFold(v string) predicate.Addon
- func UpdatedByGT(v string) predicate.Addon
- func UpdatedByGTE(v string) predicate.Addon
- func UpdatedByHasPrefix(v string) predicate.Addon
- func UpdatedByHasSuffix(v string) predicate.Addon
- func UpdatedByIn(vs ...string) predicate.Addon
- func UpdatedByIsNil() predicate.Addon
- func UpdatedByLT(v string) predicate.Addon
- func UpdatedByLTE(v string) predicate.Addon
- func UpdatedByNEQ(v string) predicate.Addon
- func UpdatedByNotIn(vs ...string) predicate.Addon
- func UpdatedByNotNil() predicate.Addon
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlements(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLookupKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the addon type in the database. Label = "addon" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldLookupKey holds the string denoting the lookup_key field in the database. FieldLookupKey = "lookup_key" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeEntitlements holds the string denoting the entitlements edge name in mutations. EdgeEntitlements = "entitlements" // Table holds the table name of the addon in the database. Table = "addons" // EntitlementsTable is the table that holds the entitlements relation/edge. EntitlementsTable = "entitlements" // EntitlementsInverseTable is the table name for the Entitlement entity. // It exists in this package in order to avoid circular dependency with the "entitlement" package. EntitlementsInverseTable = "entitlements" // EntitlementsColumn is the table column denoting the entitlements relation/edge. EntitlementsColumn = "addon_entitlements" )
Variables ¶
var ( // TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save. TenantIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // 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 // DefaultEnvironmentID holds the default value on creation for the "environment_id" field. DefaultEnvironmentID string // LookupKeyValidator is a validator for the "lookup_key" field. It is called by the builders before save. LookupKeyValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldLookupKey, FieldName, FieldDescription, FieldType, FieldMetadata, }
Columns holds all SQL columns for addon fields.
Functions ¶
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 CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold 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 CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil 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 CreatedByNotNil ¶
CreatedByNotNil applies the NotNil 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 EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func HasEntitlements ¶
HasEntitlements applies the HasEdge predicate on the "entitlements" edge.
func HasEntitlementsWith ¶
func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Addon
HasEntitlementsWith applies the HasEdge predicate on the "entitlements" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func LookupKey ¶
LookupKey applies equality check predicate on the "lookup_key" field. It's identical to LookupKeyEQ.
func LookupKeyContains ¶
LookupKeyContains applies the Contains predicate on the "lookup_key" field.
func LookupKeyContainsFold ¶
LookupKeyContainsFold applies the ContainsFold predicate on the "lookup_key" field.
func LookupKeyEQ ¶
LookupKeyEQ applies the EQ predicate on the "lookup_key" field.
func LookupKeyEqualFold ¶
LookupKeyEqualFold applies the EqualFold predicate on the "lookup_key" field.
func LookupKeyGT ¶
LookupKeyGT applies the GT predicate on the "lookup_key" field.
func LookupKeyGTE ¶
LookupKeyGTE applies the GTE predicate on the "lookup_key" field.
func LookupKeyHasPrefix ¶
LookupKeyHasPrefix applies the HasPrefix predicate on the "lookup_key" field.
func LookupKeyHasSuffix ¶
LookupKeyHasSuffix applies the HasSuffix predicate on the "lookup_key" field.
func LookupKeyIn ¶
LookupKeyIn applies the In predicate on the "lookup_key" field.
func LookupKeyLT ¶
LookupKeyLT applies the LT predicate on the "lookup_key" field.
func LookupKeyLTE ¶
LookupKeyLTE applies the LTE predicate on the "lookup_key" field.
func LookupKeyNEQ ¶
LookupKeyNEQ applies the NEQ predicate on the "lookup_key" field.
func LookupKeyNotIn ¶
LookupKeyNotIn applies the NotIn predicate on the "lookup_key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" 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 Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Addon queries.
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 ByEntitlements ¶
func ByEntitlements(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntitlements orders the results by entitlements terms.
func ByEntitlementsCount ¶
func ByEntitlementsCount(opts ...sql.OrderTermOption) OrderOption
ByEntitlementsCount orders the results by entitlements count.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLookupKey ¶
func ByLookupKey(opts ...sql.OrderTermOption) OrderOption
ByLookupKey orders the results by the lookup_key field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type 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.