Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.ProxyNode
- func AddressContains(v string) predicate.ProxyNode
- func AddressContainsFold(v string) predicate.ProxyNode
- func AddressEQ(v string) predicate.ProxyNode
- func AddressEqualFold(v string) predicate.ProxyNode
- func AddressGT(v string) predicate.ProxyNode
- func AddressGTE(v string) predicate.ProxyNode
- func AddressHasPrefix(v string) predicate.ProxyNode
- func AddressHasSuffix(v string) predicate.ProxyNode
- func AddressIn(vs ...string) predicate.ProxyNode
- func AddressLT(v string) predicate.ProxyNode
- func AddressLTE(v string) predicate.ProxyNode
- func AddressNEQ(v string) predicate.ProxyNode
- func AddressNotIn(vs ...string) predicate.ProxyNode
- func And(predicates ...predicate.ProxyNode) predicate.ProxyNode
- func CreatedAt(v time.Time) predicate.ProxyNode
- func CreatedAtEQ(v time.Time) predicate.ProxyNode
- func CreatedAtGT(v time.Time) predicate.ProxyNode
- func CreatedAtGTE(v time.Time) predicate.ProxyNode
- func CreatedAtIn(vs ...time.Time) predicate.ProxyNode
- func CreatedAtLT(v time.Time) predicate.ProxyNode
- func CreatedAtLTE(v time.Time) predicate.ProxyNode
- func CreatedAtNEQ(v time.Time) predicate.ProxyNode
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyNode
- func Enabled(v bool) predicate.ProxyNode
- func EnabledEQ(v bool) predicate.ProxyNode
- func EnabledNEQ(v bool) predicate.ProxyNode
- func ID(id int64) predicate.ProxyNode
- func IDEQ(id int64) predicate.ProxyNode
- func IDGT(id int64) predicate.ProxyNode
- func IDGTE(id int64) predicate.ProxyNode
- func IDIn(ids ...int64) predicate.ProxyNode
- func IDLT(id int64) predicate.ProxyNode
- func IDLTE(id int64) predicate.ProxyNode
- func IDNEQ(id int64) predicate.ProxyNode
- func IDNotIn(ids ...int64) predicate.ProxyNode
- func IsHidden(v bool) predicate.ProxyNode
- func IsHiddenEQ(v bool) predicate.ProxyNode
- func IsHiddenNEQ(v bool) predicate.ProxyNode
- func Name(v string) predicate.ProxyNode
- func NameContains(v string) predicate.ProxyNode
- func NameContainsFold(v string) predicate.ProxyNode
- func NameEQ(v string) predicate.ProxyNode
- func NameEqualFold(v string) predicate.ProxyNode
- func NameGT(v string) predicate.ProxyNode
- func NameGTE(v string) predicate.ProxyNode
- func NameHasPrefix(v string) predicate.ProxyNode
- func NameHasSuffix(v string) predicate.ProxyNode
- func NameIn(vs ...string) predicate.ProxyNode
- func NameLT(v string) predicate.ProxyNode
- func NameLTE(v string) predicate.ProxyNode
- func NameNEQ(v string) predicate.ProxyNode
- func NameNotIn(vs ...string) predicate.ProxyNode
- func NodeGroupIdsIsNil() predicate.ProxyNode
- func NodeGroupIdsNotNil() predicate.ProxyNode
- func NodeType(v string) predicate.ProxyNode
- func NodeTypeContains(v string) predicate.ProxyNode
- func NodeTypeContainsFold(v string) predicate.ProxyNode
- func NodeTypeEQ(v string) predicate.ProxyNode
- func NodeTypeEqualFold(v string) predicate.ProxyNode
- func NodeTypeGT(v string) predicate.ProxyNode
- func NodeTypeGTE(v string) predicate.ProxyNode
- func NodeTypeHasPrefix(v string) predicate.ProxyNode
- func NodeTypeHasSuffix(v string) predicate.ProxyNode
- func NodeTypeIn(vs ...string) predicate.ProxyNode
- func NodeTypeLT(v string) predicate.ProxyNode
- func NodeTypeLTE(v string) predicate.ProxyNode
- func NodeTypeNEQ(v string) predicate.ProxyNode
- func NodeTypeNotIn(vs ...string) predicate.ProxyNode
- func Not(p predicate.ProxyNode) predicate.ProxyNode
- func Or(predicates ...predicate.ProxyNode) predicate.ProxyNode
- func Port(v uint16) predicate.ProxyNode
- func PortEQ(v uint16) predicate.ProxyNode
- func PortGT(v uint16) predicate.ProxyNode
- func PortGTE(v uint16) predicate.ProxyNode
- func PortIn(vs ...uint16) predicate.ProxyNode
- func PortLT(v uint16) predicate.ProxyNode
- func PortLTE(v uint16) predicate.ProxyNode
- func PortNEQ(v uint16) predicate.ProxyNode
- func PortNotIn(vs ...uint16) predicate.ProxyNode
- func Protocol(v string) predicate.ProxyNode
- func ProtocolContains(v string) predicate.ProxyNode
- func ProtocolContainsFold(v string) predicate.ProxyNode
- func ProtocolEQ(v string) predicate.ProxyNode
- func ProtocolEqualFold(v string) predicate.ProxyNode
- func ProtocolGT(v string) predicate.ProxyNode
- func ProtocolGTE(v string) predicate.ProxyNode
- func ProtocolHasPrefix(v string) predicate.ProxyNode
- func ProtocolHasSuffix(v string) predicate.ProxyNode
- func ProtocolIn(vs ...string) predicate.ProxyNode
- func ProtocolLT(v string) predicate.ProxyNode
- func ProtocolLTE(v string) predicate.ProxyNode
- func ProtocolNEQ(v string) predicate.ProxyNode
- func ProtocolNotIn(vs ...string) predicate.ProxyNode
- func ServerID(v int64) predicate.ProxyNode
- func ServerIDEQ(v int64) predicate.ProxyNode
- func ServerIDGT(v int64) predicate.ProxyNode
- func ServerIDGTE(v int64) predicate.ProxyNode
- func ServerIDIn(vs ...int64) predicate.ProxyNode
- func ServerIDLT(v int64) predicate.ProxyNode
- func ServerIDLTE(v int64) predicate.ProxyNode
- func ServerIDNEQ(v int64) predicate.ProxyNode
- func ServerIDNotIn(vs ...int64) predicate.ProxyNode
- func Sort(v int32) predicate.ProxyNode
- func SortEQ(v int32) predicate.ProxyNode
- func SortGT(v int32) predicate.ProxyNode
- func SortGTE(v int32) predicate.ProxyNode
- func SortIn(vs ...int32) predicate.ProxyNode
- func SortLT(v int32) predicate.ProxyNode
- func SortLTE(v int32) predicate.ProxyNode
- func SortNEQ(v int32) predicate.ProxyNode
- func SortNotIn(vs ...int32) predicate.ProxyNode
- func Tags(v string) predicate.ProxyNode
- func TagsContains(v string) predicate.ProxyNode
- func TagsContainsFold(v string) predicate.ProxyNode
- func TagsEQ(v string) predicate.ProxyNode
- func TagsEqualFold(v string) predicate.ProxyNode
- func TagsGT(v string) predicate.ProxyNode
- func TagsGTE(v string) predicate.ProxyNode
- func TagsHasPrefix(v string) predicate.ProxyNode
- func TagsHasSuffix(v string) predicate.ProxyNode
- func TagsIn(vs ...string) predicate.ProxyNode
- func TagsLT(v string) predicate.ProxyNode
- func TagsLTE(v string) predicate.ProxyNode
- func TagsNEQ(v string) predicate.ProxyNode
- func TagsNotIn(vs ...string) predicate.ProxyNode
- func UpdatedAt(v time.Time) predicate.ProxyNode
- func UpdatedAtEQ(v time.Time) predicate.ProxyNode
- func UpdatedAtGT(v time.Time) predicate.ProxyNode
- func UpdatedAtGTE(v time.Time) predicate.ProxyNode
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyNode
- func UpdatedAtLT(v time.Time) predicate.ProxyNode
- func UpdatedAtLTE(v time.Time) predicate.ProxyNode
- func UpdatedAtNEQ(v time.Time) predicate.ProxyNode
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyNode
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsHidden(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNodeType(opts ...sql.OrderTermOption) OrderOption
- func ByPort(opts ...sql.OrderTermOption) OrderOption
- func ByProtocol(opts ...sql.OrderTermOption) OrderOption
- func ByServerID(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByTags(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxynode type in the database. Label = "proxy_node" // 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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldPort holds the string denoting the port field in the database. FieldPort = "port" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldServerID holds the string denoting the server_id field in the database. FieldServerID = "server_id" // FieldProtocol holds the string denoting the protocol field in the database. FieldProtocol = "protocol" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldNodeType holds the string denoting the node_type field in the database. FieldNodeType = "node_type" // FieldIsHidden holds the string denoting the is_hidden field in the database. FieldIsHidden = "is_hidden" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldNodeGroupIds holds the string denoting the node_group_ids field in the database. FieldNodeGroupIds = "node_group_ids" // 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 proxynode in the database. Table = "nodes" )
Variables ¶
var ( // DefaultName holds the default value on creation for the "name" field. DefaultName string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags string // TagsValidator is a validator for the "tags" field. It is called by the builders before save. TagsValidator func(string) error // DefaultPort holds the default value on creation for the "port" field. DefaultPort uint16 // DefaultAddress holds the default value on creation for the "address" field. DefaultAddress string // AddressValidator is a validator for the "address" field. It is called by the builders before save. AddressValidator func(string) error // DefaultServerID holds the default value on creation for the "server_id" field. DefaultServerID int64 // DefaultProtocol holds the default value on creation for the "protocol" field. DefaultProtocol string // ProtocolValidator is a validator for the "protocol" field. It is called by the builders before save. ProtocolValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // DefaultNodeType holds the default value on creation for the "node_type" field. DefaultNodeType string // NodeTypeValidator is a validator for the "node_type" field. It is called by the builders before save. NodeTypeValidator func(string) error // DefaultIsHidden holds the default value on creation for the "is_hidden" field. DefaultIsHidden bool // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // 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 )
var Columns = []string{ FieldID, FieldName, FieldTags, FieldPort, FieldAddress, FieldServerID, FieldProtocol, FieldEnabled, FieldNodeType, FieldIsHidden, FieldSort, FieldNodeGroupIds, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxynode fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func IsHidden ¶
IsHidden applies equality check predicate on the "is_hidden" field. It's identical to IsHiddenEQ.
func IsHiddenEQ ¶
IsHiddenEQ applies the EQ predicate on the "is_hidden" field.
func IsHiddenNEQ ¶
IsHiddenNEQ applies the NEQ predicate on the "is_hidden" 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 NodeGroupIdsIsNil ¶
NodeGroupIdsIsNil applies the IsNil predicate on the "node_group_ids" field.
func NodeGroupIdsNotNil ¶
NodeGroupIdsNotNil applies the NotNil predicate on the "node_group_ids" field.
func NodeType ¶
NodeType applies equality check predicate on the "node_type" field. It's identical to NodeTypeEQ.
func NodeTypeContains ¶
NodeTypeContains applies the Contains predicate on the "node_type" field.
func NodeTypeContainsFold ¶
NodeTypeContainsFold applies the ContainsFold predicate on the "node_type" field.
func NodeTypeEQ ¶
NodeTypeEQ applies the EQ predicate on the "node_type" field.
func NodeTypeEqualFold ¶
NodeTypeEqualFold applies the EqualFold predicate on the "node_type" field.
func NodeTypeGT ¶
NodeTypeGT applies the GT predicate on the "node_type" field.
func NodeTypeGTE ¶
NodeTypeGTE applies the GTE predicate on the "node_type" field.
func NodeTypeHasPrefix ¶
NodeTypeHasPrefix applies the HasPrefix predicate on the "node_type" field.
func NodeTypeHasSuffix ¶
NodeTypeHasSuffix applies the HasSuffix predicate on the "node_type" field.
func NodeTypeIn ¶
NodeTypeIn applies the In predicate on the "node_type" field.
func NodeTypeLT ¶
NodeTypeLT applies the LT predicate on the "node_type" field.
func NodeTypeLTE ¶
NodeTypeLTE applies the LTE predicate on the "node_type" field.
func NodeTypeNEQ ¶
NodeTypeNEQ applies the NEQ predicate on the "node_type" field.
func NodeTypeNotIn ¶
NodeTypeNotIn applies the NotIn predicate on the "node_type" field.
func Protocol ¶
Protocol applies equality check predicate on the "protocol" field. It's identical to ProtocolEQ.
func ProtocolContains ¶
ProtocolContains applies the Contains predicate on the "protocol" field.
func ProtocolContainsFold ¶
ProtocolContainsFold applies the ContainsFold predicate on the "protocol" field.
func ProtocolEQ ¶
ProtocolEQ applies the EQ predicate on the "protocol" field.
func ProtocolEqualFold ¶
ProtocolEqualFold applies the EqualFold predicate on the "protocol" field.
func ProtocolGT ¶
ProtocolGT applies the GT predicate on the "protocol" field.
func ProtocolGTE ¶
ProtocolGTE applies the GTE predicate on the "protocol" field.
func ProtocolHasPrefix ¶
ProtocolHasPrefix applies the HasPrefix predicate on the "protocol" field.
func ProtocolHasSuffix ¶
ProtocolHasSuffix applies the HasSuffix predicate on the "protocol" field.
func ProtocolIn ¶
ProtocolIn applies the In predicate on the "protocol" field.
func ProtocolLT ¶
ProtocolLT applies the LT predicate on the "protocol" field.
func ProtocolLTE ¶
ProtocolLTE applies the LTE predicate on the "protocol" field.
func ProtocolNEQ ¶
ProtocolNEQ applies the NEQ predicate on the "protocol" field.
func ProtocolNotIn ¶
ProtocolNotIn applies the NotIn predicate on the "protocol" field.
func ServerID ¶
ServerID applies equality check predicate on the "server_id" field. It's identical to ServerIDEQ.
func ServerIDEQ ¶
ServerIDEQ applies the EQ predicate on the "server_id" field.
func ServerIDGT ¶
ServerIDGT applies the GT predicate on the "server_id" field.
func ServerIDGTE ¶
ServerIDGTE applies the GTE predicate on the "server_id" field.
func ServerIDIn ¶
ServerIDIn applies the In predicate on the "server_id" field.
func ServerIDLT ¶
ServerIDLT applies the LT predicate on the "server_id" field.
func ServerIDLTE ¶
ServerIDLTE applies the LTE predicate on the "server_id" field.
func ServerIDNEQ ¶
ServerIDNEQ applies the NEQ predicate on the "server_id" field.
func ServerIDNotIn ¶
ServerIDNotIn applies the NotIn predicate on the "server_id" field.
func TagsContains ¶
TagsContains applies the Contains predicate on the "tags" field.
func TagsContainsFold ¶
TagsContainsFold applies the ContainsFold predicate on the "tags" field.
func TagsEqualFold ¶
TagsEqualFold applies the EqualFold predicate on the "tags" field.
func TagsHasPrefix ¶
TagsHasPrefix applies the HasPrefix predicate on the "tags" field.
func TagsHasSuffix ¶
TagsHasSuffix applies the HasSuffix predicate on the "tags" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProxyNode queries.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at 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 ByIsHidden ¶
func ByIsHidden(opts ...sql.OrderTermOption) OrderOption
ByIsHidden orders the results by the is_hidden field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNodeType ¶
func ByNodeType(opts ...sql.OrderTermOption) OrderOption
ByNodeType orders the results by the node_type field.
func ByPort ¶
func ByPort(opts ...sql.OrderTermOption) OrderOption
ByPort orders the results by the port field.
func ByProtocol ¶
func ByProtocol(opts ...sql.OrderTermOption) OrderOption
ByProtocol orders the results by the protocol field.
func ByServerID ¶
func ByServerID(opts ...sql.OrderTermOption) OrderOption
ByServerID orders the results by the server_id field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByTags ¶
func ByTags(opts ...sql.OrderTermOption) OrderOption
ByTags orders the results by the tags field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.