Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
- func HasLayers() predicate.NetInterfaceLayer
- func HasLayersWith(preds ...predicate.NetInterface) predicate.NetInterfaceLayer
- func HasPoLayers() predicate.NetInterfaceLayer
- func HasPoLayersWith(preds ...predicate.PortChannelInterface) predicate.NetInterfaceLayer
- func ID(id int) predicate.NetInterfaceLayer
- func IDEQ(id int) predicate.NetInterfaceLayer
- func IDGT(id int) predicate.NetInterfaceLayer
- func IDGTE(id int) predicate.NetInterfaceLayer
- func IDIn(ids ...int) predicate.NetInterfaceLayer
- func IDLT(id int) predicate.NetInterfaceLayer
- func IDLTE(id int) predicate.NetInterfaceLayer
- func IDNEQ(id int) predicate.NetInterfaceLayer
- func IDNotIn(ids ...int) predicate.NetInterfaceLayer
- func InterfaceLayer(v int) predicate.NetInterfaceLayer
- func InterfaceLayerEQ(v int) predicate.NetInterfaceLayer
- func InterfaceLayerGT(v int) predicate.NetInterfaceLayer
- func InterfaceLayerGTE(v int) predicate.NetInterfaceLayer
- func InterfaceLayerIn(vs ...int) predicate.NetInterfaceLayer
- func InterfaceLayerLT(v int) predicate.NetInterfaceLayer
- func InterfaceLayerLTE(v int) predicate.NetInterfaceLayer
- func InterfaceLayerNEQ(v int) predicate.NetInterfaceLayer
- func InterfaceLayerNotIn(vs ...int) predicate.NetInterfaceLayer
- func Not(p predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
- func Or(predicates ...predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the netinterfacelayer type in the database. Label = "net_interface_layer" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInterfaceLayer holds the string denoting the interface_layer field in the database. FieldInterfaceLayer = "interface_layer" // EdgeLayers holds the string denoting the layers edge name in mutations. EdgeLayers = "layers" // EdgePoLayers holds the string denoting the po_layers edge name in mutations. EdgePoLayers = "po_layers" // Table holds the table name of the netinterfacelayer in the database. Table = "net_interface_layers" // LayersTable is the table the holds the layers relation/edge. LayersTable = "net_interfaces" // LayersInverseTable is the table name for the NetInterface entity. // It exists in this package in order to avoid circular dependency with the "netinterface" package. LayersInverseTable = "net_interfaces" // LayersColumn is the table column denoting the layers relation/edge. LayersColumn = "net_interface_layer_layers" // PoLayersTable is the table the holds the po_layers relation/edge. PoLayersTable = "port_channel_interfaces" // PoLayersInverseTable is the table name for the PortChannelInterface entity. // It exists in this package in order to avoid circular dependency with the "portchannelinterface" package. PoLayersInverseTable = "port_channel_interfaces" // PoLayersColumn is the table column denoting the po_layers relation/edge. PoLayersColumn = "net_interface_layer_po_layers" )
Variables ¶
var Columns = []string{ FieldID, FieldInterfaceLayer, }
Columns holds all SQL columns for netinterfacelayer fields.
var ( // InterfaceLayerValidator is a validator for the "interface_layer" field. It is called by the builders before save. InterfaceLayerValidator func(int) error )
Functions ¶
func And ¶
func And(predicates ...predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
And groups predicates with the AND operator between them.
func HasLayers ¶
func HasLayers() predicate.NetInterfaceLayer
HasLayers applies the HasEdge predicate on the "layers" edge.
func HasLayersWith ¶
func HasLayersWith(preds ...predicate.NetInterface) predicate.NetInterfaceLayer
HasLayersWith applies the HasEdge predicate on the "layers" edge with a given conditions (other predicates).
func HasPoLayers ¶
func HasPoLayers() predicate.NetInterfaceLayer
HasPoLayers applies the HasEdge predicate on the "po_layers" edge.
func HasPoLayersWith ¶
func HasPoLayersWith(preds ...predicate.PortChannelInterface) predicate.NetInterfaceLayer
HasPoLayersWith applies the HasEdge predicate on the "po_layers" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NetInterfaceLayer
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NetInterfaceLayer
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NetInterfaceLayer
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NetInterfaceLayer
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NetInterfaceLayer
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NetInterfaceLayer
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NetInterfaceLayer
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NetInterfaceLayer
IDNotIn applies the NotIn predicate on the ID field.
func InterfaceLayer ¶
func InterfaceLayer(v int) predicate.NetInterfaceLayer
InterfaceLayer applies equality check predicate on the "interface_layer" field. It's identical to InterfaceLayerEQ.
func InterfaceLayerEQ ¶
func InterfaceLayerEQ(v int) predicate.NetInterfaceLayer
InterfaceLayerEQ applies the EQ predicate on the "interface_layer" field.
func InterfaceLayerGT ¶
func InterfaceLayerGT(v int) predicate.NetInterfaceLayer
InterfaceLayerGT applies the GT predicate on the "interface_layer" field.
func InterfaceLayerGTE ¶
func InterfaceLayerGTE(v int) predicate.NetInterfaceLayer
InterfaceLayerGTE applies the GTE predicate on the "interface_layer" field.
func InterfaceLayerIn ¶
func InterfaceLayerIn(vs ...int) predicate.NetInterfaceLayer
InterfaceLayerIn applies the In predicate on the "interface_layer" field.
func InterfaceLayerLT ¶
func InterfaceLayerLT(v int) predicate.NetInterfaceLayer
InterfaceLayerLT applies the LT predicate on the "interface_layer" field.
func InterfaceLayerLTE ¶
func InterfaceLayerLTE(v int) predicate.NetInterfaceLayer
InterfaceLayerLTE applies the LTE predicate on the "interface_layer" field.
func InterfaceLayerNEQ ¶
func InterfaceLayerNEQ(v int) predicate.NetInterfaceLayer
InterfaceLayerNEQ applies the NEQ predicate on the "interface_layer" field.
func InterfaceLayerNotIn ¶
func InterfaceLayerNotIn(vs ...int) predicate.NetInterfaceLayer
InterfaceLayerNotIn applies the NotIn predicate on the "interface_layer" field.
func Not ¶
func Not(p predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NetInterfaceLayer) predicate.NetInterfaceLayer
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.