Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
- func BrdInterface(v bool) predicate.IPStaticRoutingTable
- func BrdInterfaceEQ(v bool) predicate.IPStaticRoutingTable
- func BrdInterfaceNEQ(v bool) predicate.IPStaticRoutingTable
- func HasOnDevice() predicate.IPStaticRoutingTable
- func HasOnDeviceWith(preds ...predicate.Device) predicate.IPStaticRoutingTable
- func HasOnInterface() predicate.IPStaticRoutingTable
- func HasOnInterfaceWith(preds ...predicate.NetInterface) predicate.IPStaticRoutingTable
- func ID(id int) predicate.IPStaticRoutingTable
- func IDEQ(id int) predicate.IPStaticRoutingTable
- func IDGT(id int) predicate.IPStaticRoutingTable
- func IDGTE(id int) predicate.IPStaticRoutingTable
- func IDIn(ids ...int) predicate.IPStaticRoutingTable
- func IDLT(id int) predicate.IPStaticRoutingTable
- func IDLTE(id int) predicate.IPStaticRoutingTable
- func IDNEQ(id int) predicate.IPStaticRoutingTable
- func IDNotIn(ids ...int) predicate.IPStaticRoutingTable
- func NetworkAddress(v string) predicate.IPStaticRoutingTable
- func NetworkAddressContains(v string) predicate.IPStaticRoutingTable
- func NetworkAddressContainsFold(v string) predicate.IPStaticRoutingTable
- func NetworkAddressEQ(v string) predicate.IPStaticRoutingTable
- func NetworkAddressEqualFold(v string) predicate.IPStaticRoutingTable
- func NetworkAddressGT(v string) predicate.IPStaticRoutingTable
- func NetworkAddressGTE(v string) predicate.IPStaticRoutingTable
- func NetworkAddressHasPrefix(v string) predicate.IPStaticRoutingTable
- func NetworkAddressHasSuffix(v string) predicate.IPStaticRoutingTable
- func NetworkAddressIn(vs ...string) predicate.IPStaticRoutingTable
- func NetworkAddressLT(v string) predicate.IPStaticRoutingTable
- func NetworkAddressLTE(v string) predicate.IPStaticRoutingTable
- func NetworkAddressNEQ(v string) predicate.IPStaticRoutingTable
- func NetworkAddressNotIn(vs ...string) predicate.IPStaticRoutingTable
- func NextHop(v string) predicate.IPStaticRoutingTable
- func NextHopContains(v string) predicate.IPStaticRoutingTable
- func NextHopContainsFold(v string) predicate.IPStaticRoutingTable
- func NextHopEQ(v string) predicate.IPStaticRoutingTable
- func NextHopEqualFold(v string) predicate.IPStaticRoutingTable
- func NextHopGT(v string) predicate.IPStaticRoutingTable
- func NextHopGTE(v string) predicate.IPStaticRoutingTable
- func NextHopHasPrefix(v string) predicate.IPStaticRoutingTable
- func NextHopHasSuffix(v string) predicate.IPStaticRoutingTable
- func NextHopIn(vs ...string) predicate.IPStaticRoutingTable
- func NextHopLT(v string) predicate.IPStaticRoutingTable
- func NextHopLTE(v string) predicate.IPStaticRoutingTable
- func NextHopNEQ(v string) predicate.IPStaticRoutingTable
- func NextHopNotIn(vs ...string) predicate.IPStaticRoutingTable
- func Not(p predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
- func Or(predicates ...predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
- func SubnetMask(v string) predicate.IPStaticRoutingTable
- func SubnetMaskContains(v string) predicate.IPStaticRoutingTable
- func SubnetMaskContainsFold(v string) predicate.IPStaticRoutingTable
- func SubnetMaskEQ(v string) predicate.IPStaticRoutingTable
- func SubnetMaskEqualFold(v string) predicate.IPStaticRoutingTable
- func SubnetMaskGT(v string) predicate.IPStaticRoutingTable
- func SubnetMaskGTE(v string) predicate.IPStaticRoutingTable
- func SubnetMaskHasPrefix(v string) predicate.IPStaticRoutingTable
- func SubnetMaskHasSuffix(v string) predicate.IPStaticRoutingTable
- func SubnetMaskIn(vs ...string) predicate.IPStaticRoutingTable
- func SubnetMaskLT(v string) predicate.IPStaticRoutingTable
- func SubnetMaskLTE(v string) predicate.IPStaticRoutingTable
- func SubnetMaskNEQ(v string) predicate.IPStaticRoutingTable
- func SubnetMaskNotIn(vs ...string) predicate.IPStaticRoutingTable
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the ipstaticroutingtable type in the database. Label = "ip_static_routing_table" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNetworkAddress holds the string denoting the network_address field in the database. FieldNetworkAddress = "network_address" // FieldSubnetMask holds the string denoting the subnet_mask field in the database. FieldSubnetMask = "subnet_mask" // FieldNextHop holds the string denoting the next_hop field in the database. FieldNextHop = "next_hop" // FieldBrdInterface holds the string denoting the brd_interface field in the database. FieldBrdInterface = "brd_interface" // EdgeOnDevice holds the string denoting the on_device edge name in mutations. EdgeOnDevice = "on_device" // EdgeOnInterface holds the string denoting the on_interface edge name in mutations. EdgeOnInterface = "on_interface" // Table holds the table name of the ipstaticroutingtable in the database. Table = "ip_static_routing_tables" // OnDeviceTable is the table the holds the on_device relation/edge. OnDeviceTable = "ip_static_routing_tables" // OnDeviceInverseTable is the table name for the Device entity. // It exists in this package in order to avoid circular dependency with the "device" package. OnDeviceInverseTable = "devices" // OnDeviceColumn is the table column denoting the on_device relation/edge. OnDeviceColumn = "device_ip_static_routing" // OnInterfaceTable is the table the holds the on_interface relation/edge. OnInterfaceTable = "ip_static_routing_tables" // OnInterfaceInverseTable is the table name for the NetInterface entity. // It exists in this package in order to avoid circular dependency with the "netinterface" package. OnInterfaceInverseTable = "net_interfaces" // OnInterfaceColumn is the table column denoting the on_interface relation/edge. OnInterfaceColumn = "net_interface_ip_static_routing" )
Variables ¶
var ( // NetworkAddressValidator is a validator for the "network_address" field. It is called by the builders before save. NetworkAddressValidator func(string) error // SubnetMaskValidator is a validator for the "subnet_mask" field. It is called by the builders before save. SubnetMaskValidator func(string) error // NextHopValidator is a validator for the "next_hop" field. It is called by the builders before save. NextHopValidator func(string) error // DefaultBrdInterface holds the default value on creation for the "brd_interface" field. DefaultBrdInterface bool )
var Columns = []string{ FieldID, FieldNetworkAddress, FieldSubnetMask, FieldNextHop, FieldBrdInterface, }
Columns holds all SQL columns for ipstaticroutingtable fields.
var ForeignKeys = []string{
"device_ip_static_routing",
"net_interface_ip_static_routing",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "ip_static_routing_tables" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
And groups predicates with the AND operator between them.
func BrdInterface ¶
func BrdInterface(v bool) predicate.IPStaticRoutingTable
BrdInterface applies equality check predicate on the "brd_interface" field. It's identical to BrdInterfaceEQ.
func BrdInterfaceEQ ¶
func BrdInterfaceEQ(v bool) predicate.IPStaticRoutingTable
BrdInterfaceEQ applies the EQ predicate on the "brd_interface" field.
func BrdInterfaceNEQ ¶
func BrdInterfaceNEQ(v bool) predicate.IPStaticRoutingTable
BrdInterfaceNEQ applies the NEQ predicate on the "brd_interface" field.
func HasOnDevice ¶
func HasOnDevice() predicate.IPStaticRoutingTable
HasOnDevice applies the HasEdge predicate on the "on_device" edge.
func HasOnDeviceWith ¶
func HasOnDeviceWith(preds ...predicate.Device) predicate.IPStaticRoutingTable
HasOnDeviceWith applies the HasEdge predicate on the "on_device" edge with a given conditions (other predicates).
func HasOnInterface ¶
func HasOnInterface() predicate.IPStaticRoutingTable
HasOnInterface applies the HasEdge predicate on the "on_interface" edge.
func HasOnInterfaceWith ¶
func HasOnInterfaceWith(preds ...predicate.NetInterface) predicate.IPStaticRoutingTable
HasOnInterfaceWith applies the HasEdge predicate on the "on_interface" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.IPStaticRoutingTable
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.IPStaticRoutingTable
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.IPStaticRoutingTable
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.IPStaticRoutingTable
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.IPStaticRoutingTable
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.IPStaticRoutingTable
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.IPStaticRoutingTable
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.IPStaticRoutingTable
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.IPStaticRoutingTable
IDNotIn applies the NotIn predicate on the ID field.
func NetworkAddress ¶
func NetworkAddress(v string) predicate.IPStaticRoutingTable
NetworkAddress applies equality check predicate on the "network_address" field. It's identical to NetworkAddressEQ.
func NetworkAddressContains ¶
func NetworkAddressContains(v string) predicate.IPStaticRoutingTable
NetworkAddressContains applies the Contains predicate on the "network_address" field.
func NetworkAddressContainsFold ¶
func NetworkAddressContainsFold(v string) predicate.IPStaticRoutingTable
NetworkAddressContainsFold applies the ContainsFold predicate on the "network_address" field.
func NetworkAddressEQ ¶
func NetworkAddressEQ(v string) predicate.IPStaticRoutingTable
NetworkAddressEQ applies the EQ predicate on the "network_address" field.
func NetworkAddressEqualFold ¶
func NetworkAddressEqualFold(v string) predicate.IPStaticRoutingTable
NetworkAddressEqualFold applies the EqualFold predicate on the "network_address" field.
func NetworkAddressGT ¶
func NetworkAddressGT(v string) predicate.IPStaticRoutingTable
NetworkAddressGT applies the GT predicate on the "network_address" field.
func NetworkAddressGTE ¶
func NetworkAddressGTE(v string) predicate.IPStaticRoutingTable
NetworkAddressGTE applies the GTE predicate on the "network_address" field.
func NetworkAddressHasPrefix ¶
func NetworkAddressHasPrefix(v string) predicate.IPStaticRoutingTable
NetworkAddressHasPrefix applies the HasPrefix predicate on the "network_address" field.
func NetworkAddressHasSuffix ¶
func NetworkAddressHasSuffix(v string) predicate.IPStaticRoutingTable
NetworkAddressHasSuffix applies the HasSuffix predicate on the "network_address" field.
func NetworkAddressIn ¶
func NetworkAddressIn(vs ...string) predicate.IPStaticRoutingTable
NetworkAddressIn applies the In predicate on the "network_address" field.
func NetworkAddressLT ¶
func NetworkAddressLT(v string) predicate.IPStaticRoutingTable
NetworkAddressLT applies the LT predicate on the "network_address" field.
func NetworkAddressLTE ¶
func NetworkAddressLTE(v string) predicate.IPStaticRoutingTable
NetworkAddressLTE applies the LTE predicate on the "network_address" field.
func NetworkAddressNEQ ¶
func NetworkAddressNEQ(v string) predicate.IPStaticRoutingTable
NetworkAddressNEQ applies the NEQ predicate on the "network_address" field.
func NetworkAddressNotIn ¶
func NetworkAddressNotIn(vs ...string) predicate.IPStaticRoutingTable
NetworkAddressNotIn applies the NotIn predicate on the "network_address" field.
func NextHop ¶
func NextHop(v string) predicate.IPStaticRoutingTable
NextHop applies equality check predicate on the "next_hop" field. It's identical to NextHopEQ.
func NextHopContains ¶
func NextHopContains(v string) predicate.IPStaticRoutingTable
NextHopContains applies the Contains predicate on the "next_hop" field.
func NextHopContainsFold ¶
func NextHopContainsFold(v string) predicate.IPStaticRoutingTable
NextHopContainsFold applies the ContainsFold predicate on the "next_hop" field.
func NextHopEQ ¶
func NextHopEQ(v string) predicate.IPStaticRoutingTable
NextHopEQ applies the EQ predicate on the "next_hop" field.
func NextHopEqualFold ¶
func NextHopEqualFold(v string) predicate.IPStaticRoutingTable
NextHopEqualFold applies the EqualFold predicate on the "next_hop" field.
func NextHopGT ¶
func NextHopGT(v string) predicate.IPStaticRoutingTable
NextHopGT applies the GT predicate on the "next_hop" field.
func NextHopGTE ¶
func NextHopGTE(v string) predicate.IPStaticRoutingTable
NextHopGTE applies the GTE predicate on the "next_hop" field.
func NextHopHasPrefix ¶
func NextHopHasPrefix(v string) predicate.IPStaticRoutingTable
NextHopHasPrefix applies the HasPrefix predicate on the "next_hop" field.
func NextHopHasSuffix ¶
func NextHopHasSuffix(v string) predicate.IPStaticRoutingTable
NextHopHasSuffix applies the HasSuffix predicate on the "next_hop" field.
func NextHopIn ¶
func NextHopIn(vs ...string) predicate.IPStaticRoutingTable
NextHopIn applies the In predicate on the "next_hop" field.
func NextHopLT ¶
func NextHopLT(v string) predicate.IPStaticRoutingTable
NextHopLT applies the LT predicate on the "next_hop" field.
func NextHopLTE ¶
func NextHopLTE(v string) predicate.IPStaticRoutingTable
NextHopLTE applies the LTE predicate on the "next_hop" field.
func NextHopNEQ ¶
func NextHopNEQ(v string) predicate.IPStaticRoutingTable
NextHopNEQ applies the NEQ predicate on the "next_hop" field.
func NextHopNotIn ¶
func NextHopNotIn(vs ...string) predicate.IPStaticRoutingTable
NextHopNotIn applies the NotIn predicate on the "next_hop" field.
func Not ¶
func Not(p predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.IPStaticRoutingTable) predicate.IPStaticRoutingTable
Or groups predicates with the OR operator between them.
func SubnetMask ¶
func SubnetMask(v string) predicate.IPStaticRoutingTable
SubnetMask applies equality check predicate on the "subnet_mask" field. It's identical to SubnetMaskEQ.
func SubnetMaskContains ¶
func SubnetMaskContains(v string) predicate.IPStaticRoutingTable
SubnetMaskContains applies the Contains predicate on the "subnet_mask" field.
func SubnetMaskContainsFold ¶
func SubnetMaskContainsFold(v string) predicate.IPStaticRoutingTable
SubnetMaskContainsFold applies the ContainsFold predicate on the "subnet_mask" field.
func SubnetMaskEQ ¶
func SubnetMaskEQ(v string) predicate.IPStaticRoutingTable
SubnetMaskEQ applies the EQ predicate on the "subnet_mask" field.
func SubnetMaskEqualFold ¶
func SubnetMaskEqualFold(v string) predicate.IPStaticRoutingTable
SubnetMaskEqualFold applies the EqualFold predicate on the "subnet_mask" field.
func SubnetMaskGT ¶
func SubnetMaskGT(v string) predicate.IPStaticRoutingTable
SubnetMaskGT applies the GT predicate on the "subnet_mask" field.
func SubnetMaskGTE ¶
func SubnetMaskGTE(v string) predicate.IPStaticRoutingTable
SubnetMaskGTE applies the GTE predicate on the "subnet_mask" field.
func SubnetMaskHasPrefix ¶
func SubnetMaskHasPrefix(v string) predicate.IPStaticRoutingTable
SubnetMaskHasPrefix applies the HasPrefix predicate on the "subnet_mask" field.
func SubnetMaskHasSuffix ¶
func SubnetMaskHasSuffix(v string) predicate.IPStaticRoutingTable
SubnetMaskHasSuffix applies the HasSuffix predicate on the "subnet_mask" field.
func SubnetMaskIn ¶
func SubnetMaskIn(vs ...string) predicate.IPStaticRoutingTable
SubnetMaskIn applies the In predicate on the "subnet_mask" field.
func SubnetMaskLT ¶
func SubnetMaskLT(v string) predicate.IPStaticRoutingTable
SubnetMaskLT applies the LT predicate on the "subnet_mask" field.
func SubnetMaskLTE ¶
func SubnetMaskLTE(v string) predicate.IPStaticRoutingTable
SubnetMaskLTE applies the LTE predicate on the "subnet_mask" field.
func SubnetMaskNEQ ¶
func SubnetMaskNEQ(v string) predicate.IPStaticRoutingTable
SubnetMaskNEQ applies the NEQ predicate on the "subnet_mask" field.
func SubnetMaskNotIn ¶
func SubnetMaskNotIn(vs ...string) predicate.IPStaticRoutingTable
SubnetMaskNotIn applies the NotIn predicate on the "subnet_mask" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.