Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NetInterfaceMode) predicate.NetInterfaceMode
- func HasModes() predicate.NetInterfaceMode
- func HasModesWith(preds ...predicate.NetInterface) predicate.NetInterfaceMode
- func HasPoModes() predicate.NetInterfaceMode
- func HasPoModesWith(preds ...predicate.PortChannelInterface) predicate.NetInterfaceMode
- func ID(id int) predicate.NetInterfaceMode
- func IDEQ(id int) predicate.NetInterfaceMode
- func IDGT(id int) predicate.NetInterfaceMode
- func IDGTE(id int) predicate.NetInterfaceMode
- func IDIn(ids ...int) predicate.NetInterfaceMode
- func IDLT(id int) predicate.NetInterfaceMode
- func IDLTE(id int) predicate.NetInterfaceMode
- func IDNEQ(id int) predicate.NetInterfaceMode
- func IDNotIn(ids ...int) predicate.NetInterfaceMode
- func InterfaceMode(v string) predicate.NetInterfaceMode
- func InterfaceModeContains(v string) predicate.NetInterfaceMode
- func InterfaceModeContainsFold(v string) predicate.NetInterfaceMode
- func InterfaceModeEQ(v string) predicate.NetInterfaceMode
- func InterfaceModeEqualFold(v string) predicate.NetInterfaceMode
- func InterfaceModeGT(v string) predicate.NetInterfaceMode
- func InterfaceModeGTE(v string) predicate.NetInterfaceMode
- func InterfaceModeHasPrefix(v string) predicate.NetInterfaceMode
- func InterfaceModeHasSuffix(v string) predicate.NetInterfaceMode
- func InterfaceModeIn(vs ...string) predicate.NetInterfaceMode
- func InterfaceModeLT(v string) predicate.NetInterfaceMode
- func InterfaceModeLTE(v string) predicate.NetInterfaceMode
- func InterfaceModeNEQ(v string) predicate.NetInterfaceMode
- func InterfaceModeNotIn(vs ...string) predicate.NetInterfaceMode
- func Not(p predicate.NetInterfaceMode) predicate.NetInterfaceMode
- func Or(predicates ...predicate.NetInterfaceMode) predicate.NetInterfaceMode
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the netinterfacemode type in the database. Label = "net_interface_mode" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInterfaceMode holds the string denoting the interface_mode field in the database. FieldInterfaceMode = "interface_mode" // EdgeModes holds the string denoting the modes edge name in mutations. EdgeModes = "modes" // EdgePoModes holds the string denoting the po_modes edge name in mutations. EdgePoModes = "po_modes" // Table holds the table name of the netinterfacemode in the database. Table = "net_interface_modes" // ModesTable is the table the holds the modes relation/edge. ModesTable = "net_interfaces" // ModesInverseTable is the table name for the NetInterface entity. // It exists in this package in order to avoid circular dependency with the "netinterface" package. ModesInverseTable = "net_interfaces" // ModesColumn is the table column denoting the modes relation/edge. ModesColumn = "net_interface_mode_modes" // PoModesTable is the table the holds the po_modes relation/edge. PoModesTable = "port_channel_interfaces" // PoModesInverseTable is the table name for the PortChannelInterface entity. // It exists in this package in order to avoid circular dependency with the "portchannelinterface" package. PoModesInverseTable = "port_channel_interfaces" // PoModesColumn is the table column denoting the po_modes relation/edge. PoModesColumn = "net_interface_mode_po_modes" )
Variables ¶
var Columns = []string{ FieldID, FieldInterfaceMode, }
Columns holds all SQL columns for netinterfacemode fields.
var ( // InterfaceModeValidator is a validator for the "interface_mode" field. It is called by the builders before save. InterfaceModeValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.NetInterfaceMode) predicate.NetInterfaceMode
And groups predicates with the AND operator between them.
func HasModes ¶
func HasModes() predicate.NetInterfaceMode
HasModes applies the HasEdge predicate on the "modes" edge.
func HasModesWith ¶
func HasModesWith(preds ...predicate.NetInterface) predicate.NetInterfaceMode
HasModesWith applies the HasEdge predicate on the "modes" edge with a given conditions (other predicates).
func HasPoModes ¶ added in v0.2.0
func HasPoModes() predicate.NetInterfaceMode
HasPoModes applies the HasEdge predicate on the "po_modes" edge.
func HasPoModesWith ¶ added in v0.2.0
func HasPoModesWith(preds ...predicate.PortChannelInterface) predicate.NetInterfaceMode
HasPoModesWith applies the HasEdge predicate on the "po_modes" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NetInterfaceMode
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NetInterfaceMode
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NetInterfaceMode
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NetInterfaceMode
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NetInterfaceMode
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NetInterfaceMode
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NetInterfaceMode
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NetInterfaceMode
IDNotIn applies the NotIn predicate on the ID field.
func InterfaceMode ¶
func InterfaceMode(v string) predicate.NetInterfaceMode
InterfaceMode applies equality check predicate on the "interface_mode" field. It's identical to InterfaceModeEQ.
func InterfaceModeContains ¶
func InterfaceModeContains(v string) predicate.NetInterfaceMode
InterfaceModeContains applies the Contains predicate on the "interface_mode" field.
func InterfaceModeContainsFold ¶
func InterfaceModeContainsFold(v string) predicate.NetInterfaceMode
InterfaceModeContainsFold applies the ContainsFold predicate on the "interface_mode" field.
func InterfaceModeEQ ¶
func InterfaceModeEQ(v string) predicate.NetInterfaceMode
InterfaceModeEQ applies the EQ predicate on the "interface_mode" field.
func InterfaceModeEqualFold ¶
func InterfaceModeEqualFold(v string) predicate.NetInterfaceMode
InterfaceModeEqualFold applies the EqualFold predicate on the "interface_mode" field.
func InterfaceModeGT ¶
func InterfaceModeGT(v string) predicate.NetInterfaceMode
InterfaceModeGT applies the GT predicate on the "interface_mode" field.
func InterfaceModeGTE ¶
func InterfaceModeGTE(v string) predicate.NetInterfaceMode
InterfaceModeGTE applies the GTE predicate on the "interface_mode" field.
func InterfaceModeHasPrefix ¶
func InterfaceModeHasPrefix(v string) predicate.NetInterfaceMode
InterfaceModeHasPrefix applies the HasPrefix predicate on the "interface_mode" field.
func InterfaceModeHasSuffix ¶
func InterfaceModeHasSuffix(v string) predicate.NetInterfaceMode
InterfaceModeHasSuffix applies the HasSuffix predicate on the "interface_mode" field.
func InterfaceModeIn ¶
func InterfaceModeIn(vs ...string) predicate.NetInterfaceMode
InterfaceModeIn applies the In predicate on the "interface_mode" field.
func InterfaceModeLT ¶
func InterfaceModeLT(v string) predicate.NetInterfaceMode
InterfaceModeLT applies the LT predicate on the "interface_mode" field.
func InterfaceModeLTE ¶
func InterfaceModeLTE(v string) predicate.NetInterfaceMode
InterfaceModeLTE applies the LTE predicate on the "interface_mode" field.
func InterfaceModeNEQ ¶
func InterfaceModeNEQ(v string) predicate.NetInterfaceMode
InterfaceModeNEQ applies the NEQ predicate on the "interface_mode" field.
func InterfaceModeNotIn ¶
func InterfaceModeNotIn(vs ...string) predicate.NetInterfaceMode
InterfaceModeNotIn applies the NotIn predicate on the "interface_mode" field.
func Not ¶
func Not(p predicate.NetInterfaceMode) predicate.NetInterfaceMode
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NetInterfaceMode) predicate.NetInterfaceMode
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.