Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NetworkMapping) predicate.NetworkMapping
- func ComputerPort(v int32) predicate.NetworkMapping
- func ComputerPortEQ(v int32) predicate.NetworkMapping
- func ComputerPortGT(v int32) predicate.NetworkMapping
- func ComputerPortGTE(v int32) predicate.NetworkMapping
- func ComputerPortIn(vs ...int32) predicate.NetworkMapping
- func ComputerPortLT(v int32) predicate.NetworkMapping
- func ComputerPortLTE(v int32) predicate.NetworkMapping
- func ComputerPortNEQ(v int32) predicate.NetworkMapping
- func ComputerPortNotIn(vs ...int32) predicate.NetworkMapping
- func CreateTime(v time.Time) predicate.NetworkMapping
- func CreateTimeEQ(v time.Time) predicate.NetworkMapping
- func CreateTimeGT(v time.Time) predicate.NetworkMapping
- func CreateTimeGTE(v time.Time) predicate.NetworkMapping
- func CreateTimeIn(vs ...time.Time) predicate.NetworkMapping
- func CreateTimeLT(v time.Time) predicate.NetworkMapping
- func CreateTimeLTE(v time.Time) predicate.NetworkMapping
- func CreateTimeNEQ(v time.Time) predicate.NetworkMapping
- func CreateTimeNotIn(vs ...time.Time) predicate.NetworkMapping
- func DeleteState(v bool) predicate.NetworkMapping
- func DeleteStateEQ(v bool) predicate.NetworkMapping
- func DeleteStateNEQ(v bool) predicate.NetworkMapping
- func FkComputerID(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDEQ(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDGT(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDGTE(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDIn(vs ...uuid.UUID) predicate.NetworkMapping
- func FkComputerIDLT(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDLTE(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDNEQ(v uuid.UUID) predicate.NetworkMapping
- func FkComputerIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
- func FkGatewayID(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDEQ(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDGT(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDGTE(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDIn(vs ...uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDLT(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDLTE(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDNEQ(v uuid.UUID) predicate.NetworkMapping
- func FkGatewayIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
- func FkUserID(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDEQ(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDGT(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDGTE(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDIn(vs ...uuid.UUID) predicate.NetworkMapping
- func FkUserIDLT(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDLTE(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDNEQ(v uuid.UUID) predicate.NetworkMapping
- func FkUserIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
- func GatewayIP(v string) predicate.NetworkMapping
- func GatewayIPContains(v string) predicate.NetworkMapping
- func GatewayIPContainsFold(v string) predicate.NetworkMapping
- func GatewayIPEQ(v string) predicate.NetworkMapping
- func GatewayIPEqualFold(v string) predicate.NetworkMapping
- func GatewayIPGT(v string) predicate.NetworkMapping
- func GatewayIPGTE(v string) predicate.NetworkMapping
- func GatewayIPHasPrefix(v string) predicate.NetworkMapping
- func GatewayIPHasSuffix(v string) predicate.NetworkMapping
- func GatewayIPIn(vs ...string) predicate.NetworkMapping
- func GatewayIPLT(v string) predicate.NetworkMapping
- func GatewayIPLTE(v string) predicate.NetworkMapping
- func GatewayIPNEQ(v string) predicate.NetworkMapping
- func GatewayIPNotIn(vs ...string) predicate.NetworkMapping
- func GatewayPort(v int32) predicate.NetworkMapping
- func GatewayPortEQ(v int32) predicate.NetworkMapping
- func GatewayPortGT(v int32) predicate.NetworkMapping
- func GatewayPortGTE(v int32) predicate.NetworkMapping
- func GatewayPortIn(vs ...int32) predicate.NetworkMapping
- func GatewayPortLT(v int32) predicate.NetworkMapping
- func GatewayPortLTE(v int32) predicate.NetworkMapping
- func GatewayPortNEQ(v int32) predicate.NetworkMapping
- func GatewayPortNotIn(vs ...int32) predicate.NetworkMapping
- func ID(id uuid.UUID) predicate.NetworkMapping
- func IDEQ(id uuid.UUID) predicate.NetworkMapping
- func IDGT(id uuid.UUID) predicate.NetworkMapping
- func IDGTE(id uuid.UUID) predicate.NetworkMapping
- func IDIn(ids ...uuid.UUID) predicate.NetworkMapping
- func IDLT(id uuid.UUID) predicate.NetworkMapping
- func IDLTE(id uuid.UUID) predicate.NetworkMapping
- func IDNEQ(id uuid.UUID) predicate.NetworkMapping
- func IDNotIn(ids ...uuid.UUID) predicate.NetworkMapping
- func Name(v string) predicate.NetworkMapping
- func NameContains(v string) predicate.NetworkMapping
- func NameContainsFold(v string) predicate.NetworkMapping
- func NameEQ(v string) predicate.NetworkMapping
- func NameEqualFold(v string) predicate.NetworkMapping
- func NameGT(v string) predicate.NetworkMapping
- func NameGTE(v string) predicate.NetworkMapping
- func NameHasPrefix(v string) predicate.NetworkMapping
- func NameHasSuffix(v string) predicate.NetworkMapping
- func NameIn(vs ...string) predicate.NetworkMapping
- func NameLT(v string) predicate.NetworkMapping
- func NameLTE(v string) predicate.NetworkMapping
- func NameNEQ(v string) predicate.NetworkMapping
- func NameNotIn(vs ...string) predicate.NetworkMapping
- func Not(p predicate.NetworkMapping) predicate.NetworkMapping
- func Or(predicates ...predicate.NetworkMapping) predicate.NetworkMapping
- func Protocol(v string) predicate.NetworkMapping
- func ProtocolContains(v string) predicate.NetworkMapping
- func ProtocolContainsFold(v string) predicate.NetworkMapping
- func ProtocolEQ(v string) predicate.NetworkMapping
- func ProtocolEqualFold(v string) predicate.NetworkMapping
- func ProtocolGT(v string) predicate.NetworkMapping
- func ProtocolGTE(v string) predicate.NetworkMapping
- func ProtocolHasPrefix(v string) predicate.NetworkMapping
- func ProtocolHasSuffix(v string) predicate.NetworkMapping
- func ProtocolIn(vs ...string) predicate.NetworkMapping
- func ProtocolLT(v string) predicate.NetworkMapping
- func ProtocolLTE(v string) predicate.NetworkMapping
- func ProtocolNEQ(v string) predicate.NetworkMapping
- func ProtocolNotIn(vs ...string) predicate.NetworkMapping
- func Status(v int) predicate.NetworkMapping
- func StatusEQ(v int) predicate.NetworkMapping
- func StatusGT(v int) predicate.NetworkMapping
- func StatusGTE(v int) predicate.NetworkMapping
- func StatusIn(vs ...int) predicate.NetworkMapping
- func StatusLT(v int) predicate.NetworkMapping
- func StatusLTE(v int) predicate.NetworkMapping
- func StatusNEQ(v int) predicate.NetworkMapping
- func StatusNotIn(vs ...int) predicate.NetworkMapping
- func ValidColumn(column string) bool
- type OrderOption
- func ByComputerPort(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDeleteState(opts ...sql.OrderTermOption) OrderOption
- func ByFkComputerID(opts ...sql.OrderTermOption) OrderOption
- func ByFkGatewayID(opts ...sql.OrderTermOption) OrderOption
- func ByFkUserID(opts ...sql.OrderTermOption) OrderOption
- func ByGatewayIP(opts ...sql.OrderTermOption) OrderOption
- func ByGatewayPort(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByProtocol(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the networkmapping type in the database. Label = "network_mapping" // 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" // FieldProtocol holds the string denoting the protocol field in the database. FieldProtocol = "protocol" // FieldFkGatewayID holds the string denoting the fk_gateway_id field in the database. FieldFkGatewayID = "fk_gateway_id" // FieldGatewayPort holds the string denoting the gateway_port field in the database. FieldGatewayPort = "gateway_port" // FieldGatewayIP holds the string denoting the gateway_ip field in the database. FieldGatewayIP = "gateway_ip" // FieldComputerPort holds the string denoting the computer_port field in the database. FieldComputerPort = "computer_port" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldFkComputerID holds the string denoting the fk_computer_id field in the database. FieldFkComputerID = "fk_computer_id" // FieldFkUserID holds the string denoting the fk_user_id field in the database. FieldFkUserID = "fk_user_id" // FieldDeleteState holds the string denoting the delete_state field in the database. FieldDeleteState = "delete_state" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // Table holds the table name of the networkmapping in the database. Table = "network_mappings" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // 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 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int // DefaultDeleteState holds the default value on creation for the "delete_state" field. DefaultDeleteState bool // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldProtocol, FieldFkGatewayID, FieldGatewayPort, FieldGatewayIP, FieldComputerPort, FieldStatus, FieldFkComputerID, FieldFkUserID, FieldDeleteState, FieldCreateTime, }
Columns holds all SQL columns for networkmapping fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NetworkMapping) predicate.NetworkMapping
And groups predicates with the AND operator between them.
func ComputerPort ¶
func ComputerPort(v int32) predicate.NetworkMapping
ComputerPort applies equality check predicate on the "computer_port" field. It's identical to ComputerPortEQ.
func ComputerPortEQ ¶
func ComputerPortEQ(v int32) predicate.NetworkMapping
ComputerPortEQ applies the EQ predicate on the "computer_port" field.
func ComputerPortGT ¶
func ComputerPortGT(v int32) predicate.NetworkMapping
ComputerPortGT applies the GT predicate on the "computer_port" field.
func ComputerPortGTE ¶
func ComputerPortGTE(v int32) predicate.NetworkMapping
ComputerPortGTE applies the GTE predicate on the "computer_port" field.
func ComputerPortIn ¶
func ComputerPortIn(vs ...int32) predicate.NetworkMapping
ComputerPortIn applies the In predicate on the "computer_port" field.
func ComputerPortLT ¶
func ComputerPortLT(v int32) predicate.NetworkMapping
ComputerPortLT applies the LT predicate on the "computer_port" field.
func ComputerPortLTE ¶
func ComputerPortLTE(v int32) predicate.NetworkMapping
ComputerPortLTE applies the LTE predicate on the "computer_port" field.
func ComputerPortNEQ ¶
func ComputerPortNEQ(v int32) predicate.NetworkMapping
ComputerPortNEQ applies the NEQ predicate on the "computer_port" field.
func ComputerPortNotIn ¶
func ComputerPortNotIn(vs ...int32) predicate.NetworkMapping
ComputerPortNotIn applies the NotIn predicate on the "computer_port" field.
func CreateTime ¶
func CreateTime(v time.Time) predicate.NetworkMapping
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.NetworkMapping
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.NetworkMapping
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.NetworkMapping
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.NetworkMapping
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.NetworkMapping
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.NetworkMapping
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.NetworkMapping
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.NetworkMapping
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeleteState ¶
func DeleteState(v bool) predicate.NetworkMapping
DeleteState applies equality check predicate on the "delete_state" field. It's identical to DeleteStateEQ.
func DeleteStateEQ ¶
func DeleteStateEQ(v bool) predicate.NetworkMapping
DeleteStateEQ applies the EQ predicate on the "delete_state" field.
func DeleteStateNEQ ¶
func DeleteStateNEQ(v bool) predicate.NetworkMapping
DeleteStateNEQ applies the NEQ predicate on the "delete_state" field.
func FkComputerID ¶
func FkComputerID(v uuid.UUID) predicate.NetworkMapping
FkComputerID applies equality check predicate on the "fk_computer_id" field. It's identical to FkComputerIDEQ.
func FkComputerIDEQ ¶
func FkComputerIDEQ(v uuid.UUID) predicate.NetworkMapping
FkComputerIDEQ applies the EQ predicate on the "fk_computer_id" field.
func FkComputerIDGT ¶
func FkComputerIDGT(v uuid.UUID) predicate.NetworkMapping
FkComputerIDGT applies the GT predicate on the "fk_computer_id" field.
func FkComputerIDGTE ¶
func FkComputerIDGTE(v uuid.UUID) predicate.NetworkMapping
FkComputerIDGTE applies the GTE predicate on the "fk_computer_id" field.
func FkComputerIDIn ¶
func FkComputerIDIn(vs ...uuid.UUID) predicate.NetworkMapping
FkComputerIDIn applies the In predicate on the "fk_computer_id" field.
func FkComputerIDLT ¶
func FkComputerIDLT(v uuid.UUID) predicate.NetworkMapping
FkComputerIDLT applies the LT predicate on the "fk_computer_id" field.
func FkComputerIDLTE ¶
func FkComputerIDLTE(v uuid.UUID) predicate.NetworkMapping
FkComputerIDLTE applies the LTE predicate on the "fk_computer_id" field.
func FkComputerIDNEQ ¶
func FkComputerIDNEQ(v uuid.UUID) predicate.NetworkMapping
FkComputerIDNEQ applies the NEQ predicate on the "fk_computer_id" field.
func FkComputerIDNotIn ¶
func FkComputerIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
FkComputerIDNotIn applies the NotIn predicate on the "fk_computer_id" field.
func FkGatewayID ¶
func FkGatewayID(v uuid.UUID) predicate.NetworkMapping
FkGatewayID applies equality check predicate on the "fk_gateway_id" field. It's identical to FkGatewayIDEQ.
func FkGatewayIDEQ ¶
func FkGatewayIDEQ(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDEQ applies the EQ predicate on the "fk_gateway_id" field.
func FkGatewayIDGT ¶
func FkGatewayIDGT(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDGT applies the GT predicate on the "fk_gateway_id" field.
func FkGatewayIDGTE ¶
func FkGatewayIDGTE(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDGTE applies the GTE predicate on the "fk_gateway_id" field.
func FkGatewayIDIn ¶
func FkGatewayIDIn(vs ...uuid.UUID) predicate.NetworkMapping
FkGatewayIDIn applies the In predicate on the "fk_gateway_id" field.
func FkGatewayIDLT ¶
func FkGatewayIDLT(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDLT applies the LT predicate on the "fk_gateway_id" field.
func FkGatewayIDLTE ¶
func FkGatewayIDLTE(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDLTE applies the LTE predicate on the "fk_gateway_id" field.
func FkGatewayIDNEQ ¶
func FkGatewayIDNEQ(v uuid.UUID) predicate.NetworkMapping
FkGatewayIDNEQ applies the NEQ predicate on the "fk_gateway_id" field.
func FkGatewayIDNotIn ¶
func FkGatewayIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
FkGatewayIDNotIn applies the NotIn predicate on the "fk_gateway_id" field.
func FkUserID ¶
func FkUserID(v uuid.UUID) predicate.NetworkMapping
FkUserID applies equality check predicate on the "fk_user_id" field. It's identical to FkUserIDEQ.
func FkUserIDEQ ¶
func FkUserIDEQ(v uuid.UUID) predicate.NetworkMapping
FkUserIDEQ applies the EQ predicate on the "fk_user_id" field.
func FkUserIDGT ¶
func FkUserIDGT(v uuid.UUID) predicate.NetworkMapping
FkUserIDGT applies the GT predicate on the "fk_user_id" field.
func FkUserIDGTE ¶
func FkUserIDGTE(v uuid.UUID) predicate.NetworkMapping
FkUserIDGTE applies the GTE predicate on the "fk_user_id" field.
func FkUserIDIn ¶
func FkUserIDIn(vs ...uuid.UUID) predicate.NetworkMapping
FkUserIDIn applies the In predicate on the "fk_user_id" field.
func FkUserIDLT ¶
func FkUserIDLT(v uuid.UUID) predicate.NetworkMapping
FkUserIDLT applies the LT predicate on the "fk_user_id" field.
func FkUserIDLTE ¶
func FkUserIDLTE(v uuid.UUID) predicate.NetworkMapping
FkUserIDLTE applies the LTE predicate on the "fk_user_id" field.
func FkUserIDNEQ ¶
func FkUserIDNEQ(v uuid.UUID) predicate.NetworkMapping
FkUserIDNEQ applies the NEQ predicate on the "fk_user_id" field.
func FkUserIDNotIn ¶
func FkUserIDNotIn(vs ...uuid.UUID) predicate.NetworkMapping
FkUserIDNotIn applies the NotIn predicate on the "fk_user_id" field.
func GatewayIP ¶
func GatewayIP(v string) predicate.NetworkMapping
GatewayIP applies equality check predicate on the "gateway_ip" field. It's identical to GatewayIPEQ.
func GatewayIPContains ¶
func GatewayIPContains(v string) predicate.NetworkMapping
GatewayIPContains applies the Contains predicate on the "gateway_ip" field.
func GatewayIPContainsFold ¶
func GatewayIPContainsFold(v string) predicate.NetworkMapping
GatewayIPContainsFold applies the ContainsFold predicate on the "gateway_ip" field.
func GatewayIPEQ ¶
func GatewayIPEQ(v string) predicate.NetworkMapping
GatewayIPEQ applies the EQ predicate on the "gateway_ip" field.
func GatewayIPEqualFold ¶
func GatewayIPEqualFold(v string) predicate.NetworkMapping
GatewayIPEqualFold applies the EqualFold predicate on the "gateway_ip" field.
func GatewayIPGT ¶
func GatewayIPGT(v string) predicate.NetworkMapping
GatewayIPGT applies the GT predicate on the "gateway_ip" field.
func GatewayIPGTE ¶
func GatewayIPGTE(v string) predicate.NetworkMapping
GatewayIPGTE applies the GTE predicate on the "gateway_ip" field.
func GatewayIPHasPrefix ¶
func GatewayIPHasPrefix(v string) predicate.NetworkMapping
GatewayIPHasPrefix applies the HasPrefix predicate on the "gateway_ip" field.
func GatewayIPHasSuffix ¶
func GatewayIPHasSuffix(v string) predicate.NetworkMapping
GatewayIPHasSuffix applies the HasSuffix predicate on the "gateway_ip" field.
func GatewayIPIn ¶
func GatewayIPIn(vs ...string) predicate.NetworkMapping
GatewayIPIn applies the In predicate on the "gateway_ip" field.
func GatewayIPLT ¶
func GatewayIPLT(v string) predicate.NetworkMapping
GatewayIPLT applies the LT predicate on the "gateway_ip" field.
func GatewayIPLTE ¶
func GatewayIPLTE(v string) predicate.NetworkMapping
GatewayIPLTE applies the LTE predicate on the "gateway_ip" field.
func GatewayIPNEQ ¶
func GatewayIPNEQ(v string) predicate.NetworkMapping
GatewayIPNEQ applies the NEQ predicate on the "gateway_ip" field.
func GatewayIPNotIn ¶
func GatewayIPNotIn(vs ...string) predicate.NetworkMapping
GatewayIPNotIn applies the NotIn predicate on the "gateway_ip" field.
func GatewayPort ¶
func GatewayPort(v int32) predicate.NetworkMapping
GatewayPort applies equality check predicate on the "gateway_port" field. It's identical to GatewayPortEQ.
func GatewayPortEQ ¶
func GatewayPortEQ(v int32) predicate.NetworkMapping
GatewayPortEQ applies the EQ predicate on the "gateway_port" field.
func GatewayPortGT ¶
func GatewayPortGT(v int32) predicate.NetworkMapping
GatewayPortGT applies the GT predicate on the "gateway_port" field.
func GatewayPortGTE ¶
func GatewayPortGTE(v int32) predicate.NetworkMapping
GatewayPortGTE applies the GTE predicate on the "gateway_port" field.
func GatewayPortIn ¶
func GatewayPortIn(vs ...int32) predicate.NetworkMapping
GatewayPortIn applies the In predicate on the "gateway_port" field.
func GatewayPortLT ¶
func GatewayPortLT(v int32) predicate.NetworkMapping
GatewayPortLT applies the LT predicate on the "gateway_port" field.
func GatewayPortLTE ¶
func GatewayPortLTE(v int32) predicate.NetworkMapping
GatewayPortLTE applies the LTE predicate on the "gateway_port" field.
func GatewayPortNEQ ¶
func GatewayPortNEQ(v int32) predicate.NetworkMapping
GatewayPortNEQ applies the NEQ predicate on the "gateway_port" field.
func GatewayPortNotIn ¶
func GatewayPortNotIn(vs ...int32) predicate.NetworkMapping
GatewayPortNotIn applies the NotIn predicate on the "gateway_port" field.
func ID ¶
func ID(id uuid.UUID) predicate.NetworkMapping
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.NetworkMapping
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.NetworkMapping
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.NetworkMapping
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.NetworkMapping
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.NetworkMapping
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.NetworkMapping
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.NetworkMapping
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.NetworkMapping
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.NetworkMapping
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.NetworkMapping
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.NetworkMapping
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.NetworkMapping
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.NetworkMapping
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.NetworkMapping
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.NetworkMapping
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.NetworkMapping
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.NetworkMapping
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.NetworkMapping
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.NetworkMapping
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.NetworkMapping
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.NetworkMapping
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.NetworkMapping
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.NetworkMapping) predicate.NetworkMapping
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NetworkMapping) predicate.NetworkMapping
Or groups predicates with the OR operator between them.
func Protocol ¶
func Protocol(v string) predicate.NetworkMapping
Protocol applies equality check predicate on the "protocol" field. It's identical to ProtocolEQ.
func ProtocolContains ¶
func ProtocolContains(v string) predicate.NetworkMapping
ProtocolContains applies the Contains predicate on the "protocol" field.
func ProtocolContainsFold ¶
func ProtocolContainsFold(v string) predicate.NetworkMapping
ProtocolContainsFold applies the ContainsFold predicate on the "protocol" field.
func ProtocolEQ ¶
func ProtocolEQ(v string) predicate.NetworkMapping
ProtocolEQ applies the EQ predicate on the "protocol" field.
func ProtocolEqualFold ¶
func ProtocolEqualFold(v string) predicate.NetworkMapping
ProtocolEqualFold applies the EqualFold predicate on the "protocol" field.
func ProtocolGT ¶
func ProtocolGT(v string) predicate.NetworkMapping
ProtocolGT applies the GT predicate on the "protocol" field.
func ProtocolGTE ¶
func ProtocolGTE(v string) predicate.NetworkMapping
ProtocolGTE applies the GTE predicate on the "protocol" field.
func ProtocolHasPrefix ¶
func ProtocolHasPrefix(v string) predicate.NetworkMapping
ProtocolHasPrefix applies the HasPrefix predicate on the "protocol" field.
func ProtocolHasSuffix ¶
func ProtocolHasSuffix(v string) predicate.NetworkMapping
ProtocolHasSuffix applies the HasSuffix predicate on the "protocol" field.
func ProtocolIn ¶
func ProtocolIn(vs ...string) predicate.NetworkMapping
ProtocolIn applies the In predicate on the "protocol" field.
func ProtocolLT ¶
func ProtocolLT(v string) predicate.NetworkMapping
ProtocolLT applies the LT predicate on the "protocol" field.
func ProtocolLTE ¶
func ProtocolLTE(v string) predicate.NetworkMapping
ProtocolLTE applies the LTE predicate on the "protocol" field.
func ProtocolNEQ ¶
func ProtocolNEQ(v string) predicate.NetworkMapping
ProtocolNEQ applies the NEQ predicate on the "protocol" field.
func ProtocolNotIn ¶
func ProtocolNotIn(vs ...string) predicate.NetworkMapping
ProtocolNotIn applies the NotIn predicate on the "protocol" field.
func Status ¶
func Status(v int) predicate.NetworkMapping
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v int) predicate.NetworkMapping
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v int) predicate.NetworkMapping
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v int) predicate.NetworkMapping
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...int) predicate.NetworkMapping
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v int) predicate.NetworkMapping
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v int) predicate.NetworkMapping
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v int) predicate.NetworkMapping
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...int) predicate.NetworkMapping
StatusNotIn applies the NotIn predicate on the "status" 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 NetworkMapping queries.
func ByComputerPort ¶
func ByComputerPort(opts ...sql.OrderTermOption) OrderOption
ByComputerPort orders the results by the computer_port field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDeleteState ¶
func ByDeleteState(opts ...sql.OrderTermOption) OrderOption
ByDeleteState orders the results by the delete_state field.
func ByFkComputerID ¶
func ByFkComputerID(opts ...sql.OrderTermOption) OrderOption
ByFkComputerID orders the results by the fk_computer_id field.
func ByFkGatewayID ¶
func ByFkGatewayID(opts ...sql.OrderTermOption) OrderOption
ByFkGatewayID orders the results by the fk_gateway_id field.
func ByFkUserID ¶
func ByFkUserID(opts ...sql.OrderTermOption) OrderOption
ByFkUserID orders the results by the fk_user_id field.
func ByGatewayIP ¶
func ByGatewayIP(opts ...sql.OrderTermOption) OrderOption
ByGatewayIP orders the results by the gateway_ip field.
func ByGatewayPort ¶
func ByGatewayPort(opts ...sql.OrderTermOption) OrderOption
ByGatewayPort orders the results by the gateway_port field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByProtocol ¶
func ByProtocol(opts ...sql.OrderTermOption) OrderOption
ByProtocol orders the results by the protocol field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.