proxyservergroup

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for proxyservergroup fields.

Functions

func And

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

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

NameGT applies the GT predicate on the "name" field.

func NameGTE

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

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Sort

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL