Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyServerGroup) predicate.ProxyServerGroup
- func CreatedAt(v time.Time) predicate.ProxyServerGroup
- func CreatedAtEQ(v time.Time) predicate.ProxyServerGroup
- func CreatedAtGT(v time.Time) predicate.ProxyServerGroup
- func CreatedAtGTE(v time.Time) predicate.ProxyServerGroup
- func CreatedAtIn(vs ...time.Time) predicate.ProxyServerGroup
- func CreatedAtLT(v time.Time) predicate.ProxyServerGroup
- func CreatedAtLTE(v time.Time) predicate.ProxyServerGroup
- func CreatedAtNEQ(v time.Time) predicate.ProxyServerGroup
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyServerGroup
- func Description(v string) predicate.ProxyServerGroup
- func DescriptionContains(v string) predicate.ProxyServerGroup
- func DescriptionContainsFold(v string) predicate.ProxyServerGroup
- func DescriptionEQ(v string) predicate.ProxyServerGroup
- func DescriptionEqualFold(v string) predicate.ProxyServerGroup
- func DescriptionGT(v string) predicate.ProxyServerGroup
- func DescriptionGTE(v string) predicate.ProxyServerGroup
- func DescriptionHasPrefix(v string) predicate.ProxyServerGroup
- func DescriptionHasSuffix(v string) predicate.ProxyServerGroup
- func DescriptionIn(vs ...string) predicate.ProxyServerGroup
- func DescriptionIsNil() predicate.ProxyServerGroup
- func DescriptionLT(v string) predicate.ProxyServerGroup
- func DescriptionLTE(v string) predicate.ProxyServerGroup
- func DescriptionNEQ(v string) predicate.ProxyServerGroup
- func DescriptionNotIn(vs ...string) predicate.ProxyServerGroup
- func DescriptionNotNil() predicate.ProxyServerGroup
- func ExpiredDaysLimit(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitEQ(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitGT(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitGTE(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitIn(vs ...int) predicate.ProxyServerGroup
- func ExpiredDaysLimitLT(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitLTE(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitNEQ(v int) predicate.ProxyServerGroup
- func ExpiredDaysLimitNotIn(vs ...int) predicate.ProxyServerGroup
- func ForCalculation(v bool) predicate.ProxyServerGroup
- func ForCalculationEQ(v bool) predicate.ProxyServerGroup
- func ForCalculationNEQ(v bool) predicate.ProxyServerGroup
- func GroupType(v string) predicate.ProxyServerGroup
- func GroupTypeContains(v string) predicate.ProxyServerGroup
- func GroupTypeContainsFold(v string) predicate.ProxyServerGroup
- func GroupTypeEQ(v string) predicate.ProxyServerGroup
- func GroupTypeEqualFold(v string) predicate.ProxyServerGroup
- func GroupTypeGT(v string) predicate.ProxyServerGroup
- func GroupTypeGTE(v string) predicate.ProxyServerGroup
- func GroupTypeHasPrefix(v string) predicate.ProxyServerGroup
- func GroupTypeHasSuffix(v string) predicate.ProxyServerGroup
- func GroupTypeIn(vs ...string) predicate.ProxyServerGroup
- func GroupTypeLT(v string) predicate.ProxyServerGroup
- func GroupTypeLTE(v string) predicate.ProxyServerGroup
- func GroupTypeNEQ(v string) predicate.ProxyServerGroup
- func GroupTypeNotIn(vs ...string) predicate.ProxyServerGroup
- func ID(id int64) predicate.ProxyServerGroup
- func IDEQ(id int64) predicate.ProxyServerGroup
- func IDGT(id int64) predicate.ProxyServerGroup
- func IDGTE(id int64) predicate.ProxyServerGroup
- func IDIn(ids ...int64) predicate.ProxyServerGroup
- func IDLT(id int64) predicate.ProxyServerGroup
- func IDLTE(id int64) predicate.ProxyServerGroup
- func IDNEQ(id int64) predicate.ProxyServerGroup
- func IDNotIn(ids ...int64) predicate.ProxyServerGroup
- func IsExpiredGroup(v bool) predicate.ProxyServerGroup
- func IsExpiredGroupEQ(v bool) predicate.ProxyServerGroup
- func IsExpiredGroupNEQ(v bool) predicate.ProxyServerGroup
- func MaxTrafficGB(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBEQ(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpired(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredEQ(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredGT(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredGTE(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredIn(vs ...int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredIsNil() predicate.ProxyServerGroup
- func MaxTrafficGBExpiredLT(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredLTE(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredNEQ(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredNotIn(vs ...int64) predicate.ProxyServerGroup
- func MaxTrafficGBExpiredNotNil() predicate.ProxyServerGroup
- func MaxTrafficGBGT(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBGTE(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBIn(vs ...int64) predicate.ProxyServerGroup
- func MaxTrafficGBIsNil() predicate.ProxyServerGroup
- func MaxTrafficGBLT(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBLTE(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBNEQ(v int64) predicate.ProxyServerGroup
- func MaxTrafficGBNotIn(vs ...int64) predicate.ProxyServerGroup
- func MaxTrafficGBNotNil() predicate.ProxyServerGroup
- func MinTrafficGB(v int64) predicate.ProxyServerGroup
- func MinTrafficGBEQ(v int64) predicate.ProxyServerGroup
- func MinTrafficGBGT(v int64) predicate.ProxyServerGroup
- func MinTrafficGBGTE(v int64) predicate.ProxyServerGroup
- func MinTrafficGBIn(vs ...int64) predicate.ProxyServerGroup
- func MinTrafficGBIsNil() predicate.ProxyServerGroup
- func MinTrafficGBLT(v int64) predicate.ProxyServerGroup
- func MinTrafficGBLTE(v int64) predicate.ProxyServerGroup
- func MinTrafficGBNEQ(v int64) predicate.ProxyServerGroup
- func MinTrafficGBNotIn(vs ...int64) predicate.ProxyServerGroup
- func MinTrafficGBNotNil() predicate.ProxyServerGroup
- func Name(v string) predicate.ProxyServerGroup
- func NameContains(v string) predicate.ProxyServerGroup
- func NameContainsFold(v string) predicate.ProxyServerGroup
- func NameEQ(v string) predicate.ProxyServerGroup
- func NameEqualFold(v string) predicate.ProxyServerGroup
- func NameGT(v string) predicate.ProxyServerGroup
- func NameGTE(v string) predicate.ProxyServerGroup
- func NameHasPrefix(v string) predicate.ProxyServerGroup
- func NameHasSuffix(v string) predicate.ProxyServerGroup
- func NameIn(vs ...string) predicate.ProxyServerGroup
- func NameLT(v string) predicate.ProxyServerGroup
- func NameLTE(v string) predicate.ProxyServerGroup
- func NameNEQ(v string) predicate.ProxyServerGroup
- func NameNotIn(vs ...string) predicate.ProxyServerGroup
- func Not(p predicate.ProxyServerGroup) predicate.ProxyServerGroup
- func Or(predicates ...predicate.ProxyServerGroup) predicate.ProxyServerGroup
- func Sort(v int) predicate.ProxyServerGroup
- func SortEQ(v int) predicate.ProxyServerGroup
- func SortGT(v int) predicate.ProxyServerGroup
- func SortGTE(v int) predicate.ProxyServerGroup
- func SortIn(vs ...int) predicate.ProxyServerGroup
- func SortLT(v int) predicate.ProxyServerGroup
- func SortLTE(v int) predicate.ProxyServerGroup
- func SortNEQ(v int) predicate.ProxyServerGroup
- func SortNotIn(vs ...int) predicate.ProxyServerGroup
- func SpeedLimit(v int) predicate.ProxyServerGroup
- func SpeedLimitEQ(v int) predicate.ProxyServerGroup
- func SpeedLimitGT(v int) predicate.ProxyServerGroup
- func SpeedLimitGTE(v int) predicate.ProxyServerGroup
- func SpeedLimitIn(vs ...int) predicate.ProxyServerGroup
- func SpeedLimitLT(v int) predicate.ProxyServerGroup
- func SpeedLimitLTE(v int) predicate.ProxyServerGroup
- func SpeedLimitNEQ(v int) predicate.ProxyServerGroup
- func SpeedLimitNotIn(vs ...int) predicate.ProxyServerGroup
- func UpdatedAt(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtEQ(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtGT(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtGTE(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyServerGroup
- func UpdatedAtLT(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtLTE(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtNEQ(v time.Time) predicate.ProxyServerGroup
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyServerGroup
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExpiredDaysLimit(opts ...sql.OrderTermOption) OrderOption
- func ByForCalculation(opts ...sql.OrderTermOption) OrderOption
- func ByGroupType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsExpiredGroup(opts ...sql.OrderTermOption) OrderOption
- func ByMaxTrafficGB(opts ...sql.OrderTermOption) OrderOption
- func ByMaxTrafficGBExpired(opts ...sql.OrderTermOption) OrderOption
- func ByMinTrafficGB(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func BySpeedLimit(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyservergroup type in the database. Label = "proxy_server_group" // 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" // FieldGroupType holds the string denoting the group_type field in the database. FieldGroupType = "group_type" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldForCalculation holds the string denoting the for_calculation field in the database. FieldForCalculation = "for_calculation" // FieldIsExpiredGroup holds the string denoting the is_expired_group field in the database. FieldIsExpiredGroup = "is_expired_group" // FieldExpiredDaysLimit holds the string denoting the expired_days_limit field in the database. FieldExpiredDaysLimit = "expired_days_limit" // FieldMaxTrafficGBExpired holds the string denoting the max_traffic_gb_expired field in the database. FieldMaxTrafficGBExpired = "max_traffic_gb_expired" // FieldSpeedLimit holds the string denoting the speed_limit field in the database. FieldSpeedLimit = "speed_limit" // FieldMinTrafficGB holds the string denoting the min_traffic_gb field in the database. FieldMinTrafficGB = "min_traffic_gb" // FieldMaxTrafficGB holds the string denoting the max_traffic_gb field in the database. FieldMaxTrafficGB = "max_traffic_gb" // 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" // Table holds the table name of the proxyservergroup in the database. Table = "node_group" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultGroupType holds the default value on creation for the "group_type" field. DefaultGroupType string // GroupTypeValidator is a validator for the "group_type" field. It is called by the builders before save. GroupTypeValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int // DefaultForCalculation holds the default value on creation for the "for_calculation" field. DefaultForCalculation bool // DefaultIsExpiredGroup holds the default value on creation for the "is_expired_group" field. DefaultIsExpiredGroup bool // DefaultExpiredDaysLimit holds the default value on creation for the "expired_days_limit" field. DefaultExpiredDaysLimit int // DefaultSpeedLimit holds the default value on creation for the "speed_limit" field. DefaultSpeedLimit int // 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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldName, FieldGroupType, FieldDescription, FieldSort, FieldForCalculation, FieldIsExpiredGroup, FieldExpiredDaysLimit, FieldMaxTrafficGBExpired, FieldSpeedLimit, FieldMinTrafficGB, FieldMaxTrafficGB, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyservergroup fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyServerGroup) predicate.ProxyServerGroup
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyServerGroup
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyServerGroup
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyServerGroup
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyServerGroup
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyServerGroup
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyServerGroup
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyServerGroup
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyServerGroup
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyServerGroup
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.ProxyServerGroup
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ProxyServerGroup
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ProxyServerGroup
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ProxyServerGroup
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ProxyServerGroup
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ProxyServerGroup
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ProxyServerGroup
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ProxyServerGroup
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ProxyServerGroup
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ProxyServerGroup
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ProxyServerGroup
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ProxyServerGroup
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ProxyServerGroup
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ProxyServerGroup
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ProxyServerGroup
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ProxyServerGroup
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ExpiredDaysLimit ¶
func ExpiredDaysLimit(v int) predicate.ProxyServerGroup
ExpiredDaysLimit applies equality check predicate on the "expired_days_limit" field. It's identical to ExpiredDaysLimitEQ.
func ExpiredDaysLimitEQ ¶
func ExpiredDaysLimitEQ(v int) predicate.ProxyServerGroup
ExpiredDaysLimitEQ applies the EQ predicate on the "expired_days_limit" field.
func ExpiredDaysLimitGT ¶
func ExpiredDaysLimitGT(v int) predicate.ProxyServerGroup
ExpiredDaysLimitGT applies the GT predicate on the "expired_days_limit" field.
func ExpiredDaysLimitGTE ¶
func ExpiredDaysLimitGTE(v int) predicate.ProxyServerGroup
ExpiredDaysLimitGTE applies the GTE predicate on the "expired_days_limit" field.
func ExpiredDaysLimitIn ¶
func ExpiredDaysLimitIn(vs ...int) predicate.ProxyServerGroup
ExpiredDaysLimitIn applies the In predicate on the "expired_days_limit" field.
func ExpiredDaysLimitLT ¶
func ExpiredDaysLimitLT(v int) predicate.ProxyServerGroup
ExpiredDaysLimitLT applies the LT predicate on the "expired_days_limit" field.
func ExpiredDaysLimitLTE ¶
func ExpiredDaysLimitLTE(v int) predicate.ProxyServerGroup
ExpiredDaysLimitLTE applies the LTE predicate on the "expired_days_limit" field.
func ExpiredDaysLimitNEQ ¶
func ExpiredDaysLimitNEQ(v int) predicate.ProxyServerGroup
ExpiredDaysLimitNEQ applies the NEQ predicate on the "expired_days_limit" field.
func ExpiredDaysLimitNotIn ¶
func ExpiredDaysLimitNotIn(vs ...int) predicate.ProxyServerGroup
ExpiredDaysLimitNotIn applies the NotIn predicate on the "expired_days_limit" field.
func ForCalculation ¶
func ForCalculation(v bool) predicate.ProxyServerGroup
ForCalculation applies equality check predicate on the "for_calculation" field. It's identical to ForCalculationEQ.
func ForCalculationEQ ¶
func ForCalculationEQ(v bool) predicate.ProxyServerGroup
ForCalculationEQ applies the EQ predicate on the "for_calculation" field.
func ForCalculationNEQ ¶
func ForCalculationNEQ(v bool) predicate.ProxyServerGroup
ForCalculationNEQ applies the NEQ predicate on the "for_calculation" field.
func GroupType ¶
func GroupType(v string) predicate.ProxyServerGroup
GroupType applies equality check predicate on the "group_type" field. It's identical to GroupTypeEQ.
func GroupTypeContains ¶
func GroupTypeContains(v string) predicate.ProxyServerGroup
GroupTypeContains applies the Contains predicate on the "group_type" field.
func GroupTypeContainsFold ¶
func GroupTypeContainsFold(v string) predicate.ProxyServerGroup
GroupTypeContainsFold applies the ContainsFold predicate on the "group_type" field.
func GroupTypeEQ ¶
func GroupTypeEQ(v string) predicate.ProxyServerGroup
GroupTypeEQ applies the EQ predicate on the "group_type" field.
func GroupTypeEqualFold ¶
func GroupTypeEqualFold(v string) predicate.ProxyServerGroup
GroupTypeEqualFold applies the EqualFold predicate on the "group_type" field.
func GroupTypeGT ¶
func GroupTypeGT(v string) predicate.ProxyServerGroup
GroupTypeGT applies the GT predicate on the "group_type" field.
func GroupTypeGTE ¶
func GroupTypeGTE(v string) predicate.ProxyServerGroup
GroupTypeGTE applies the GTE predicate on the "group_type" field.
func GroupTypeHasPrefix ¶
func GroupTypeHasPrefix(v string) predicate.ProxyServerGroup
GroupTypeHasPrefix applies the HasPrefix predicate on the "group_type" field.
func GroupTypeHasSuffix ¶
func GroupTypeHasSuffix(v string) predicate.ProxyServerGroup
GroupTypeHasSuffix applies the HasSuffix predicate on the "group_type" field.
func GroupTypeIn ¶
func GroupTypeIn(vs ...string) predicate.ProxyServerGroup
GroupTypeIn applies the In predicate on the "group_type" field.
func GroupTypeLT ¶
func GroupTypeLT(v string) predicate.ProxyServerGroup
GroupTypeLT applies the LT predicate on the "group_type" field.
func GroupTypeLTE ¶
func GroupTypeLTE(v string) predicate.ProxyServerGroup
GroupTypeLTE applies the LTE predicate on the "group_type" field.
func GroupTypeNEQ ¶
func GroupTypeNEQ(v string) predicate.ProxyServerGroup
GroupTypeNEQ applies the NEQ predicate on the "group_type" field.
func GroupTypeNotIn ¶
func GroupTypeNotIn(vs ...string) predicate.ProxyServerGroup
GroupTypeNotIn applies the NotIn predicate on the "group_type" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyServerGroup
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyServerGroup
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyServerGroup
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyServerGroup
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyServerGroup
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyServerGroup
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyServerGroup
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyServerGroup
IDNotIn applies the NotIn predicate on the ID field.
func IsExpiredGroup ¶
func IsExpiredGroup(v bool) predicate.ProxyServerGroup
IsExpiredGroup applies equality check predicate on the "is_expired_group" field. It's identical to IsExpiredGroupEQ.
func IsExpiredGroupEQ ¶
func IsExpiredGroupEQ(v bool) predicate.ProxyServerGroup
IsExpiredGroupEQ applies the EQ predicate on the "is_expired_group" field.
func IsExpiredGroupNEQ ¶
func IsExpiredGroupNEQ(v bool) predicate.ProxyServerGroup
IsExpiredGroupNEQ applies the NEQ predicate on the "is_expired_group" field.
func MaxTrafficGB ¶
func MaxTrafficGB(v int64) predicate.ProxyServerGroup
MaxTrafficGB applies equality check predicate on the "max_traffic_gb" field. It's identical to MaxTrafficGBEQ.
func MaxTrafficGBEQ ¶
func MaxTrafficGBEQ(v int64) predicate.ProxyServerGroup
MaxTrafficGBEQ applies the EQ predicate on the "max_traffic_gb" field.
func MaxTrafficGBExpired ¶
func MaxTrafficGBExpired(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpired applies equality check predicate on the "max_traffic_gb_expired" field. It's identical to MaxTrafficGBExpiredEQ.
func MaxTrafficGBExpiredEQ ¶
func MaxTrafficGBExpiredEQ(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredEQ applies the EQ predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredGT ¶
func MaxTrafficGBExpiredGT(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredGT applies the GT predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredGTE ¶
func MaxTrafficGBExpiredGTE(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredGTE applies the GTE predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredIn ¶
func MaxTrafficGBExpiredIn(vs ...int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredIn applies the In predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredIsNil ¶
func MaxTrafficGBExpiredIsNil() predicate.ProxyServerGroup
MaxTrafficGBExpiredIsNil applies the IsNil predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredLT ¶
func MaxTrafficGBExpiredLT(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredLT applies the LT predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredLTE ¶
func MaxTrafficGBExpiredLTE(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredLTE applies the LTE predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredNEQ ¶
func MaxTrafficGBExpiredNEQ(v int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredNEQ applies the NEQ predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredNotIn ¶
func MaxTrafficGBExpiredNotIn(vs ...int64) predicate.ProxyServerGroup
MaxTrafficGBExpiredNotIn applies the NotIn predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBExpiredNotNil ¶
func MaxTrafficGBExpiredNotNil() predicate.ProxyServerGroup
MaxTrafficGBExpiredNotNil applies the NotNil predicate on the "max_traffic_gb_expired" field.
func MaxTrafficGBGT ¶
func MaxTrafficGBGT(v int64) predicate.ProxyServerGroup
MaxTrafficGBGT applies the GT predicate on the "max_traffic_gb" field.
func MaxTrafficGBGTE ¶
func MaxTrafficGBGTE(v int64) predicate.ProxyServerGroup
MaxTrafficGBGTE applies the GTE predicate on the "max_traffic_gb" field.
func MaxTrafficGBIn ¶
func MaxTrafficGBIn(vs ...int64) predicate.ProxyServerGroup
MaxTrafficGBIn applies the In predicate on the "max_traffic_gb" field.
func MaxTrafficGBIsNil ¶
func MaxTrafficGBIsNil() predicate.ProxyServerGroup
MaxTrafficGBIsNil applies the IsNil predicate on the "max_traffic_gb" field.
func MaxTrafficGBLT ¶
func MaxTrafficGBLT(v int64) predicate.ProxyServerGroup
MaxTrafficGBLT applies the LT predicate on the "max_traffic_gb" field.
func MaxTrafficGBLTE ¶
func MaxTrafficGBLTE(v int64) predicate.ProxyServerGroup
MaxTrafficGBLTE applies the LTE predicate on the "max_traffic_gb" field.
func MaxTrafficGBNEQ ¶
func MaxTrafficGBNEQ(v int64) predicate.ProxyServerGroup
MaxTrafficGBNEQ applies the NEQ predicate on the "max_traffic_gb" field.
func MaxTrafficGBNotIn ¶
func MaxTrafficGBNotIn(vs ...int64) predicate.ProxyServerGroup
MaxTrafficGBNotIn applies the NotIn predicate on the "max_traffic_gb" field.
func MaxTrafficGBNotNil ¶
func MaxTrafficGBNotNil() predicate.ProxyServerGroup
MaxTrafficGBNotNil applies the NotNil predicate on the "max_traffic_gb" field.
func MinTrafficGB ¶
func MinTrafficGB(v int64) predicate.ProxyServerGroup
MinTrafficGB applies equality check predicate on the "min_traffic_gb" field. It's identical to MinTrafficGBEQ.
func MinTrafficGBEQ ¶
func MinTrafficGBEQ(v int64) predicate.ProxyServerGroup
MinTrafficGBEQ applies the EQ predicate on the "min_traffic_gb" field.
func MinTrafficGBGT ¶
func MinTrafficGBGT(v int64) predicate.ProxyServerGroup
MinTrafficGBGT applies the GT predicate on the "min_traffic_gb" field.
func MinTrafficGBGTE ¶
func MinTrafficGBGTE(v int64) predicate.ProxyServerGroup
MinTrafficGBGTE applies the GTE predicate on the "min_traffic_gb" field.
func MinTrafficGBIn ¶
func MinTrafficGBIn(vs ...int64) predicate.ProxyServerGroup
MinTrafficGBIn applies the In predicate on the "min_traffic_gb" field.
func MinTrafficGBIsNil ¶
func MinTrafficGBIsNil() predicate.ProxyServerGroup
MinTrafficGBIsNil applies the IsNil predicate on the "min_traffic_gb" field.
func MinTrafficGBLT ¶
func MinTrafficGBLT(v int64) predicate.ProxyServerGroup
MinTrafficGBLT applies the LT predicate on the "min_traffic_gb" field.
func MinTrafficGBLTE ¶
func MinTrafficGBLTE(v int64) predicate.ProxyServerGroup
MinTrafficGBLTE applies the LTE predicate on the "min_traffic_gb" field.
func MinTrafficGBNEQ ¶
func MinTrafficGBNEQ(v int64) predicate.ProxyServerGroup
MinTrafficGBNEQ applies the NEQ predicate on the "min_traffic_gb" field.
func MinTrafficGBNotIn ¶
func MinTrafficGBNotIn(vs ...int64) predicate.ProxyServerGroup
MinTrafficGBNotIn applies the NotIn predicate on the "min_traffic_gb" field.
func MinTrafficGBNotNil ¶
func MinTrafficGBNotNil() predicate.ProxyServerGroup
MinTrafficGBNotNil applies the NotNil predicate on the "min_traffic_gb" field.
func Name ¶
func Name(v string) predicate.ProxyServerGroup
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProxyServerGroup
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProxyServerGroup
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProxyServerGroup
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProxyServerGroup
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProxyServerGroup
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProxyServerGroup
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProxyServerGroup
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProxyServerGroup
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProxyServerGroup
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProxyServerGroup
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProxyServerGroup
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProxyServerGroup
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProxyServerGroup
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ProxyServerGroup) predicate.ProxyServerGroup
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyServerGroup) predicate.ProxyServerGroup
Or groups predicates with the OR operator between them.
func Sort ¶
func Sort(v int) predicate.ProxyServerGroup
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v int) predicate.ProxyServerGroup
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v int) predicate.ProxyServerGroup
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v int) predicate.ProxyServerGroup
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...int) predicate.ProxyServerGroup
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v int) predicate.ProxyServerGroup
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v int) predicate.ProxyServerGroup
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v int) predicate.ProxyServerGroup
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...int) predicate.ProxyServerGroup
SortNotIn applies the NotIn predicate on the "sort" field.
func SpeedLimit ¶
func SpeedLimit(v int) predicate.ProxyServerGroup
SpeedLimit applies equality check predicate on the "speed_limit" field. It's identical to SpeedLimitEQ.
func SpeedLimitEQ ¶
func SpeedLimitEQ(v int) predicate.ProxyServerGroup
SpeedLimitEQ applies the EQ predicate on the "speed_limit" field.
func SpeedLimitGT ¶
func SpeedLimitGT(v int) predicate.ProxyServerGroup
SpeedLimitGT applies the GT predicate on the "speed_limit" field.
func SpeedLimitGTE ¶
func SpeedLimitGTE(v int) predicate.ProxyServerGroup
SpeedLimitGTE applies the GTE predicate on the "speed_limit" field.
func SpeedLimitIn ¶
func SpeedLimitIn(vs ...int) predicate.ProxyServerGroup
SpeedLimitIn applies the In predicate on the "speed_limit" field.
func SpeedLimitLT ¶
func SpeedLimitLT(v int) predicate.ProxyServerGroup
SpeedLimitLT applies the LT predicate on the "speed_limit" field.
func SpeedLimitLTE ¶
func SpeedLimitLTE(v int) predicate.ProxyServerGroup
SpeedLimitLTE applies the LTE predicate on the "speed_limit" field.
func SpeedLimitNEQ ¶
func SpeedLimitNEQ(v int) predicate.ProxyServerGroup
SpeedLimitNEQ applies the NEQ predicate on the "speed_limit" field.
func SpeedLimitNotIn ¶
func SpeedLimitNotIn(vs ...int) predicate.ProxyServerGroup
SpeedLimitNotIn applies the NotIn predicate on the "speed_limit" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyServerGroup
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyServerGroup
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyServerGroup
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyServerGroup
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyServerGroup
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyServerGroup
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyServerGroup
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyServerGroup
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyServerGroup
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 ProxyServerGroup queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByExpiredDaysLimit ¶
func ByExpiredDaysLimit(opts ...sql.OrderTermOption) OrderOption
ByExpiredDaysLimit orders the results by the expired_days_limit field.
func ByForCalculation ¶
func ByForCalculation(opts ...sql.OrderTermOption) OrderOption
ByForCalculation orders the results by the for_calculation field.
func ByGroupType ¶
func ByGroupType(opts ...sql.OrderTermOption) OrderOption
ByGroupType orders the results by the group_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsExpiredGroup ¶
func ByIsExpiredGroup(opts ...sql.OrderTermOption) OrderOption
ByIsExpiredGroup orders the results by the is_expired_group field.
func ByMaxTrafficGB ¶
func ByMaxTrafficGB(opts ...sql.OrderTermOption) OrderOption
ByMaxTrafficGB orders the results by the max_traffic_gb field.
func ByMaxTrafficGBExpired ¶
func ByMaxTrafficGBExpired(opts ...sql.OrderTermOption) OrderOption
ByMaxTrafficGBExpired orders the results by the max_traffic_gb_expired field.
func ByMinTrafficGB ¶
func ByMinTrafficGB(opts ...sql.OrderTermOption) OrderOption
ByMinTrafficGB orders the results by the min_traffic_gb field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func BySpeedLimit ¶
func BySpeedLimit(opts ...sql.OrderTermOption) OrderOption
BySpeedLimit orders the results by the speed_limit field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.