Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Device) predicate.Device
- func DeviceCommitConfig(v bool) predicate.Device
- func DeviceCommitConfigEQ(v bool) predicate.Device
- func DeviceCommitConfigNEQ(v bool) predicate.Device
- func DeviceHostname(v string) predicate.Device
- func DeviceHostnameContains(v string) predicate.Device
- func DeviceHostnameContainsFold(v string) predicate.Device
- func DeviceHostnameEQ(v string) predicate.Device
- func DeviceHostnameEqualFold(v string) predicate.Device
- func DeviceHostnameGT(v string) predicate.Device
- func DeviceHostnameGTE(v string) predicate.Device
- func DeviceHostnameHasPrefix(v string) predicate.Device
- func DeviceHostnameHasSuffix(v string) predicate.Device
- func DeviceHostnameIn(vs ...string) predicate.Device
- func DeviceHostnameLT(v string) predicate.Device
- func DeviceHostnameLTE(v string) predicate.Device
- func DeviceHostnameNEQ(v string) predicate.Device
- func DeviceHostnameNotIn(vs ...string) predicate.Device
- func DeviceName(v string) predicate.Device
- func DeviceNameContains(v string) predicate.Device
- func DeviceNameContainsFold(v string) predicate.Device
- func DeviceNameEQ(v string) predicate.Device
- func DeviceNameEqualFold(v string) predicate.Device
- func DeviceNameGT(v string) predicate.Device
- func DeviceNameGTE(v string) predicate.Device
- func DeviceNameHasPrefix(v string) predicate.Device
- func DeviceNameHasSuffix(v string) predicate.Device
- func DeviceNameIn(vs ...string) predicate.Device
- func DeviceNameLT(v string) predicate.Device
- func DeviceNameLTE(v string) predicate.Device
- func DeviceNameNEQ(v string) predicate.Device
- func DeviceNameNotIn(vs ...string) predicate.Device
- func DevicePassword(v string) predicate.Device
- func DevicePasswordContains(v string) predicate.Device
- func DevicePasswordContainsFold(v string) predicate.Device
- func DevicePasswordEQ(v string) predicate.Device
- func DevicePasswordEqualFold(v string) predicate.Device
- func DevicePasswordGT(v string) predicate.Device
- func DevicePasswordGTE(v string) predicate.Device
- func DevicePasswordHasPrefix(v string) predicate.Device
- func DevicePasswordHasSuffix(v string) predicate.Device
- func DevicePasswordIn(vs ...string) predicate.Device
- func DevicePasswordIsNil() predicate.Device
- func DevicePasswordLT(v string) predicate.Device
- func DevicePasswordLTE(v string) predicate.Device
- func DevicePasswordNEQ(v string) predicate.Device
- func DevicePasswordNotIn(vs ...string) predicate.Device
- func DevicePasswordNotNil() predicate.Device
- func DeviceSSHPort(v int) predicate.Device
- func DeviceSSHPortEQ(v int) predicate.Device
- func DeviceSSHPortGT(v int) predicate.Device
- func DeviceSSHPortGTE(v int) predicate.Device
- func DeviceSSHPortIn(vs ...int) predicate.Device
- func DeviceSSHPortLT(v int) predicate.Device
- func DeviceSSHPortLTE(v int) predicate.Device
- func DeviceSSHPortNEQ(v int) predicate.Device
- func DeviceSSHPortNotIn(vs ...int) predicate.Device
- func DeviceSecret(v string) predicate.Device
- func DeviceSecretContains(v string) predicate.Device
- func DeviceSecretContainsFold(v string) predicate.Device
- func DeviceSecretEQ(v string) predicate.Device
- func DeviceSecretEqualFold(v string) predicate.Device
- func DeviceSecretGT(v string) predicate.Device
- func DeviceSecretGTE(v string) predicate.Device
- func DeviceSecretHasPrefix(v string) predicate.Device
- func DeviceSecretHasSuffix(v string) predicate.Device
- func DeviceSecretIn(vs ...string) predicate.Device
- func DeviceSecretIsNil() predicate.Device
- func DeviceSecretLT(v string) predicate.Device
- func DeviceSecretLTE(v string) predicate.Device
- func DeviceSecretNEQ(v string) predicate.Device
- func DeviceSecretNotIn(vs ...string) predicate.Device
- func DeviceSecretNotNil() predicate.Device
- func DeviceUsername(v string) predicate.Device
- func DeviceUsernameContains(v string) predicate.Device
- func DeviceUsernameContainsFold(v string) predicate.Device
- func DeviceUsernameEQ(v string) predicate.Device
- func DeviceUsernameEqualFold(v string) predicate.Device
- func DeviceUsernameGT(v string) predicate.Device
- func DeviceUsernameGTE(v string) predicate.Device
- func DeviceUsernameHasPrefix(v string) predicate.Device
- func DeviceUsernameHasSuffix(v string) predicate.Device
- func DeviceUsernameIn(vs ...string) predicate.Device
- func DeviceUsernameIsNil() predicate.Device
- func DeviceUsernameLT(v string) predicate.Device
- func DeviceUsernameLTE(v string) predicate.Device
- func DeviceUsernameNEQ(v string) predicate.Device
- func DeviceUsernameNotIn(vs ...string) predicate.Device
- func DeviceUsernameNotNil() predicate.Device
- func HasDeletedVlans() predicate.Device
- func HasDeletedVlansWith(preds ...predicate.DeletedVlanLog) predicate.Device
- func HasHaveIPAddresses() predicate.Device
- func HasHaveIPAddressesWith(preds ...predicate.IPAddress) predicate.Device
- func HasIPStaticRouting() predicate.Device
- func HasIPStaticRoutingWith(preds ...predicate.IPStaticRoutingTable) predicate.Device
- func HasInPlatform() predicate.Device
- func HasInPlatformWith(preds ...predicate.DevicePlatform) predicate.Device
- func HasInTopology() predicate.Device
- func HasInTopologyWith(preds ...predicate.NetTopologyDeviceMap) predicate.Device
- func HasInType() predicate.Device
- func HasInTypeWith(preds ...predicate.DeviceType) predicate.Device
- func HasInterfaces() predicate.Device
- func HasInterfacesWith(preds ...predicate.NetInterface) predicate.Device
- func HasPoInterfaces() predicate.Device
- func HasPoInterfacesWith(preds ...predicate.PortChannelInterface) predicate.Device
- func HasStoreVlans() predicate.Device
- func HasStoreVlansWith(preds ...predicate.Vlan) predicate.Device
- func ID(id int) predicate.Device
- func IDEQ(id int) predicate.Device
- func IDGT(id int) predicate.Device
- func IDGTE(id int) predicate.Device
- func IDIn(ids ...int) predicate.Device
- func IDLT(id int) predicate.Device
- func IDLTE(id int) predicate.Device
- func IDNEQ(id int) predicate.Device
- func IDNotIn(ids ...int) predicate.Device
- func Not(p predicate.Device) predicate.Device
- func Or(predicates ...predicate.Device) predicate.Device
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the device type in the database. Label = "device" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeviceName holds the string denoting the device_name field in the database. FieldDeviceName = "device_name" // FieldDeviceHostname holds the string denoting the device_hostname field in the database. FieldDeviceHostname = "device_hostname" // FieldDeviceUsername holds the string denoting the device_username field in the database. FieldDeviceUsername = "device_username" // FieldDevicePassword holds the string denoting the device_password field in the database. FieldDevicePassword = "device_password" // FieldDeviceSecret holds the string denoting the device_secret field in the database. FieldDeviceSecret = "device_secret" // FieldDeviceSSHPort holds the string denoting the device_ssh_port field in the database. FieldDeviceSSHPort = "device_ssh_port" // FieldDeviceCommitConfig holds the string denoting the device_commit_config field in the database. FieldDeviceCommitConfig = "device_commit_config" // EdgeInType holds the string denoting the in_type edge name in mutations. EdgeInType = "in_type" // EdgeInPlatform holds the string denoting the in_platform edge name in mutations. EdgeInPlatform = "in_platform" // EdgeInterfaces holds the string denoting the interfaces edge name in mutations. EdgeInterfaces = "interfaces" // EdgeIPStaticRouting holds the string denoting the ip_static_routing edge name in mutations. EdgeIPStaticRouting = "ip_static_routing" // EdgePoInterfaces holds the string denoting the po_interfaces edge name in mutations. EdgePoInterfaces = "po_interfaces" // EdgeHaveIPAddresses holds the string denoting the have_ip_addresses edge name in mutations. EdgeHaveIPAddresses = "have_ip_addresses" // EdgeInTopology holds the string denoting the in_topology edge name in mutations. EdgeInTopology = "in_topology" // EdgeStoreVlans holds the string denoting the store_vlans edge name in mutations. EdgeStoreVlans = "store_vlans" // EdgeDeletedVlans holds the string denoting the deleted_vlans edge name in mutations. EdgeDeletedVlans = "deleted_vlans" // Table holds the table name of the device in the database. Table = "devices" // InTypeTable is the table the holds the in_type relation/edge. InTypeTable = "devices" // InTypeInverseTable is the table name for the DeviceType entity. // It exists in this package in order to avoid circular dependency with the "devicetype" package. InTypeInverseTable = "device_types" // InTypeColumn is the table column denoting the in_type relation/edge. InTypeColumn = "device_type_types" // InPlatformTable is the table the holds the in_platform relation/edge. InPlatformTable = "devices" // InPlatformInverseTable is the table name for the DevicePlatform entity. // It exists in this package in order to avoid circular dependency with the "deviceplatform" package. InPlatformInverseTable = "device_platforms" // InPlatformColumn is the table column denoting the in_platform relation/edge. InPlatformColumn = "device_platform_platforms" // InterfacesTable is the table the holds the interfaces relation/edge. InterfacesTable = "net_interfaces" // InterfacesInverseTable is the table name for the NetInterface entity. // It exists in this package in order to avoid circular dependency with the "netinterface" package. InterfacesInverseTable = "net_interfaces" // InterfacesColumn is the table column denoting the interfaces relation/edge. InterfacesColumn = "device_interfaces" // IPStaticRoutingTable is the table the holds the ip_static_routing relation/edge. IPStaticRoutingTable = "ip_static_routing_tables" // IPStaticRoutingInverseTable is the table name for the IPStaticRoutingTable entity. // It exists in this package in order to avoid circular dependency with the "ipstaticroutingtable" package. IPStaticRoutingInverseTable = "ip_static_routing_tables" // IPStaticRoutingColumn is the table column denoting the ip_static_routing relation/edge. IPStaticRoutingColumn = "device_ip_static_routing" // PoInterfacesTable is the table the holds the po_interfaces relation/edge. PoInterfacesTable = "port_channel_interfaces" // PoInterfacesInverseTable is the table name for the PortChannelInterface entity. // It exists in this package in order to avoid circular dependency with the "portchannelinterface" package. PoInterfacesInverseTable = "port_channel_interfaces" // PoInterfacesColumn is the table column denoting the po_interfaces relation/edge. PoInterfacesColumn = "device_po_interfaces" // HaveIPAddressesTable is the table the holds the have_ip_addresses relation/edge. HaveIPAddressesTable = "ip_addresses" // HaveIPAddressesInverseTable is the table name for the IPAddress entity. // It exists in this package in order to avoid circular dependency with the "ipaddress" package. HaveIPAddressesInverseTable = "ip_addresses" // HaveIPAddressesColumn is the table column denoting the have_ip_addresses relation/edge. HaveIPAddressesColumn = "device_have_ip_addresses" // InTopologyTable is the table the holds the in_topology relation/edge. InTopologyTable = "net_topology_device_maps" // InTopologyInverseTable is the table name for the NetTopologyDeviceMap entity. // It exists in this package in order to avoid circular dependency with the "nettopologydevicemap" package. InTopologyInverseTable = "net_topology_device_maps" // InTopologyColumn is the table column denoting the in_topology relation/edge. InTopologyColumn = "device_in_topology" // StoreVlansTable is the table the holds the store_vlans relation/edge. The primary key declared below. StoreVlansTable = "device_store_vlans" // StoreVlansInverseTable is the table name for the Vlan entity. // It exists in this package in order to avoid circular dependency with the "vlan" package. StoreVlansInverseTable = "vlans" // DeletedVlansTable is the table the holds the deleted_vlans relation/edge. DeletedVlansTable = "deleted_vlan_logs" // DeletedVlansInverseTable is the table name for the DeletedVlanLog entity. // It exists in this package in order to avoid circular dependency with the "deletedvlanlog" package. DeletedVlansInverseTable = "deleted_vlan_logs" // DeletedVlansColumn is the table column denoting the deleted_vlans relation/edge. DeletedVlansColumn = "device_deleted_vlans" )
Variables ¶
var ( // DeviceNameValidator is a validator for the "device_name" field. It is called by the builders before save. DeviceNameValidator func(string) error // DeviceHostnameValidator is a validator for the "device_hostname" field. It is called by the builders before save. DeviceHostnameValidator func(string) error // DefaultDeviceSecret holds the default value on creation for the "device_secret" field. DefaultDeviceSecret string // DefaultDeviceSSHPort holds the default value on creation for the "device_ssh_port" field. DefaultDeviceSSHPort int // DeviceSSHPortValidator is a validator for the "device_ssh_port" field. It is called by the builders before save. DeviceSSHPortValidator func(int) error // DefaultDeviceCommitConfig holds the default value on creation for the "device_commit_config" field. DefaultDeviceCommitConfig bool )
var Columns = []string{ FieldID, FieldDeviceName, FieldDeviceHostname, FieldDeviceUsername, FieldDevicePassword, FieldDeviceSecret, FieldDeviceSSHPort, FieldDeviceCommitConfig, }
Columns holds all SQL columns for device fields.
var ForeignKeys = []string{
"device_platform_platforms",
"device_type_types",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "devices" table and are not defined as standalone fields in the schema.
var ( // StoreVlansPrimaryKey and StoreVlansColumn2 are the table columns denoting the // primary key for the store_vlans relation (M2M). StoreVlansPrimaryKey = []string{"device_id", "vlan_id"} )
Functions ¶
func DeviceCommitConfig ¶
DeviceCommitConfig applies equality check predicate on the "device_commit_config" field. It's identical to DeviceCommitConfigEQ.
func DeviceCommitConfigEQ ¶
DeviceCommitConfigEQ applies the EQ predicate on the "device_commit_config" field.
func DeviceCommitConfigNEQ ¶
DeviceCommitConfigNEQ applies the NEQ predicate on the "device_commit_config" field.
func DeviceHostname ¶
DeviceHostname applies equality check predicate on the "device_hostname" field. It's identical to DeviceHostnameEQ.
func DeviceHostnameContains ¶
DeviceHostnameContains applies the Contains predicate on the "device_hostname" field.
func DeviceHostnameContainsFold ¶
DeviceHostnameContainsFold applies the ContainsFold predicate on the "device_hostname" field.
func DeviceHostnameEQ ¶
DeviceHostnameEQ applies the EQ predicate on the "device_hostname" field.
func DeviceHostnameEqualFold ¶
DeviceHostnameEqualFold applies the EqualFold predicate on the "device_hostname" field.
func DeviceHostnameGT ¶
DeviceHostnameGT applies the GT predicate on the "device_hostname" field.
func DeviceHostnameGTE ¶
DeviceHostnameGTE applies the GTE predicate on the "device_hostname" field.
func DeviceHostnameHasPrefix ¶
DeviceHostnameHasPrefix applies the HasPrefix predicate on the "device_hostname" field.
func DeviceHostnameHasSuffix ¶
DeviceHostnameHasSuffix applies the HasSuffix predicate on the "device_hostname" field.
func DeviceHostnameIn ¶
DeviceHostnameIn applies the In predicate on the "device_hostname" field.
func DeviceHostnameLT ¶
DeviceHostnameLT applies the LT predicate on the "device_hostname" field.
func DeviceHostnameLTE ¶
DeviceHostnameLTE applies the LTE predicate on the "device_hostname" field.
func DeviceHostnameNEQ ¶
DeviceHostnameNEQ applies the NEQ predicate on the "device_hostname" field.
func DeviceHostnameNotIn ¶
DeviceHostnameNotIn applies the NotIn predicate on the "device_hostname" field.
func DeviceName ¶
DeviceName applies equality check predicate on the "device_name" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
DeviceNameContains applies the Contains predicate on the "device_name" field.
func DeviceNameContainsFold ¶
DeviceNameContainsFold applies the ContainsFold predicate on the "device_name" field.
func DeviceNameEQ ¶
DeviceNameEQ applies the EQ predicate on the "device_name" field.
func DeviceNameEqualFold ¶
DeviceNameEqualFold applies the EqualFold predicate on the "device_name" field.
func DeviceNameGT ¶
DeviceNameGT applies the GT predicate on the "device_name" field.
func DeviceNameGTE ¶
DeviceNameGTE applies the GTE predicate on the "device_name" field.
func DeviceNameHasPrefix ¶
DeviceNameHasPrefix applies the HasPrefix predicate on the "device_name" field.
func DeviceNameHasSuffix ¶
DeviceNameHasSuffix applies the HasSuffix predicate on the "device_name" field.
func DeviceNameIn ¶
DeviceNameIn applies the In predicate on the "device_name" field.
func DeviceNameLT ¶
DeviceNameLT applies the LT predicate on the "device_name" field.
func DeviceNameLTE ¶
DeviceNameLTE applies the LTE predicate on the "device_name" field.
func DeviceNameNEQ ¶
DeviceNameNEQ applies the NEQ predicate on the "device_name" field.
func DeviceNameNotIn ¶
DeviceNameNotIn applies the NotIn predicate on the "device_name" field.
func DevicePassword ¶
DevicePassword applies equality check predicate on the "device_password" field. It's identical to DevicePasswordEQ.
func DevicePasswordContains ¶
DevicePasswordContains applies the Contains predicate on the "device_password" field.
func DevicePasswordContainsFold ¶
DevicePasswordContainsFold applies the ContainsFold predicate on the "device_password" field.
func DevicePasswordEQ ¶
DevicePasswordEQ applies the EQ predicate on the "device_password" field.
func DevicePasswordEqualFold ¶
DevicePasswordEqualFold applies the EqualFold predicate on the "device_password" field.
func DevicePasswordGT ¶
DevicePasswordGT applies the GT predicate on the "device_password" field.
func DevicePasswordGTE ¶
DevicePasswordGTE applies the GTE predicate on the "device_password" field.
func DevicePasswordHasPrefix ¶
DevicePasswordHasPrefix applies the HasPrefix predicate on the "device_password" field.
func DevicePasswordHasSuffix ¶
DevicePasswordHasSuffix applies the HasSuffix predicate on the "device_password" field.
func DevicePasswordIn ¶
DevicePasswordIn applies the In predicate on the "device_password" field.
func DevicePasswordIsNil ¶
DevicePasswordIsNil applies the IsNil predicate on the "device_password" field.
func DevicePasswordLT ¶
DevicePasswordLT applies the LT predicate on the "device_password" field.
func DevicePasswordLTE ¶
DevicePasswordLTE applies the LTE predicate on the "device_password" field.
func DevicePasswordNEQ ¶
DevicePasswordNEQ applies the NEQ predicate on the "device_password" field.
func DevicePasswordNotIn ¶
DevicePasswordNotIn applies the NotIn predicate on the "device_password" field.
func DevicePasswordNotNil ¶
DevicePasswordNotNil applies the NotNil predicate on the "device_password" field.
func DeviceSSHPort ¶
DeviceSSHPort applies equality check predicate on the "device_ssh_port" field. It's identical to DeviceSSHPortEQ.
func DeviceSSHPortEQ ¶
DeviceSSHPortEQ applies the EQ predicate on the "device_ssh_port" field.
func DeviceSSHPortGT ¶
DeviceSSHPortGT applies the GT predicate on the "device_ssh_port" field.
func DeviceSSHPortGTE ¶
DeviceSSHPortGTE applies the GTE predicate on the "device_ssh_port" field.
func DeviceSSHPortIn ¶
DeviceSSHPortIn applies the In predicate on the "device_ssh_port" field.
func DeviceSSHPortLT ¶
DeviceSSHPortLT applies the LT predicate on the "device_ssh_port" field.
func DeviceSSHPortLTE ¶
DeviceSSHPortLTE applies the LTE predicate on the "device_ssh_port" field.
func DeviceSSHPortNEQ ¶
DeviceSSHPortNEQ applies the NEQ predicate on the "device_ssh_port" field.
func DeviceSSHPortNotIn ¶
DeviceSSHPortNotIn applies the NotIn predicate on the "device_ssh_port" field.
func DeviceSecret ¶
DeviceSecret applies equality check predicate on the "device_secret" field. It's identical to DeviceSecretEQ.
func DeviceSecretContains ¶
DeviceSecretContains applies the Contains predicate on the "device_secret" field.
func DeviceSecretContainsFold ¶
DeviceSecretContainsFold applies the ContainsFold predicate on the "device_secret" field.
func DeviceSecretEQ ¶
DeviceSecretEQ applies the EQ predicate on the "device_secret" field.
func DeviceSecretEqualFold ¶
DeviceSecretEqualFold applies the EqualFold predicate on the "device_secret" field.
func DeviceSecretGT ¶
DeviceSecretGT applies the GT predicate on the "device_secret" field.
func DeviceSecretGTE ¶
DeviceSecretGTE applies the GTE predicate on the "device_secret" field.
func DeviceSecretHasPrefix ¶
DeviceSecretHasPrefix applies the HasPrefix predicate on the "device_secret" field.
func DeviceSecretHasSuffix ¶
DeviceSecretHasSuffix applies the HasSuffix predicate on the "device_secret" field.
func DeviceSecretIn ¶
DeviceSecretIn applies the In predicate on the "device_secret" field.
func DeviceSecretIsNil ¶
DeviceSecretIsNil applies the IsNil predicate on the "device_secret" field.
func DeviceSecretLT ¶
DeviceSecretLT applies the LT predicate on the "device_secret" field.
func DeviceSecretLTE ¶
DeviceSecretLTE applies the LTE predicate on the "device_secret" field.
func DeviceSecretNEQ ¶
DeviceSecretNEQ applies the NEQ predicate on the "device_secret" field.
func DeviceSecretNotIn ¶
DeviceSecretNotIn applies the NotIn predicate on the "device_secret" field.
func DeviceSecretNotNil ¶
DeviceSecretNotNil applies the NotNil predicate on the "device_secret" field.
func DeviceUsername ¶
DeviceUsername applies equality check predicate on the "device_username" field. It's identical to DeviceUsernameEQ.
func DeviceUsernameContains ¶
DeviceUsernameContains applies the Contains predicate on the "device_username" field.
func DeviceUsernameContainsFold ¶
DeviceUsernameContainsFold applies the ContainsFold predicate on the "device_username" field.
func DeviceUsernameEQ ¶
DeviceUsernameEQ applies the EQ predicate on the "device_username" field.
func DeviceUsernameEqualFold ¶
DeviceUsernameEqualFold applies the EqualFold predicate on the "device_username" field.
func DeviceUsernameGT ¶
DeviceUsernameGT applies the GT predicate on the "device_username" field.
func DeviceUsernameGTE ¶
DeviceUsernameGTE applies the GTE predicate on the "device_username" field.
func DeviceUsernameHasPrefix ¶
DeviceUsernameHasPrefix applies the HasPrefix predicate on the "device_username" field.
func DeviceUsernameHasSuffix ¶
DeviceUsernameHasSuffix applies the HasSuffix predicate on the "device_username" field.
func DeviceUsernameIn ¶
DeviceUsernameIn applies the In predicate on the "device_username" field.
func DeviceUsernameIsNil ¶
DeviceUsernameIsNil applies the IsNil predicate on the "device_username" field.
func DeviceUsernameLT ¶
DeviceUsernameLT applies the LT predicate on the "device_username" field.
func DeviceUsernameLTE ¶
DeviceUsernameLTE applies the LTE predicate on the "device_username" field.
func DeviceUsernameNEQ ¶
DeviceUsernameNEQ applies the NEQ predicate on the "device_username" field.
func DeviceUsernameNotIn ¶
DeviceUsernameNotIn applies the NotIn predicate on the "device_username" field.
func DeviceUsernameNotNil ¶
DeviceUsernameNotNil applies the NotNil predicate on the "device_username" field.
func HasDeletedVlans ¶
HasDeletedVlans applies the HasEdge predicate on the "deleted_vlans" edge.
func HasDeletedVlansWith ¶
func HasDeletedVlansWith(preds ...predicate.DeletedVlanLog) predicate.Device
HasDeletedVlansWith applies the HasEdge predicate on the "deleted_vlans" edge with a given conditions (other predicates).
func HasHaveIPAddresses ¶ added in v0.2.0
HasHaveIPAddresses applies the HasEdge predicate on the "have_ip_addresses" edge.
func HasHaveIPAddressesWith ¶ added in v0.2.0
HasHaveIPAddressesWith applies the HasEdge predicate on the "have_ip_addresses" edge with a given conditions (other predicates).
func HasIPStaticRouting ¶ added in v0.2.0
HasIPStaticRouting applies the HasEdge predicate on the "ip_static_routing" edge.
func HasIPStaticRoutingWith ¶ added in v0.2.0
func HasIPStaticRoutingWith(preds ...predicate.IPStaticRoutingTable) predicate.Device
HasIPStaticRoutingWith applies the HasEdge predicate on the "ip_static_routing" edge with a given conditions (other predicates).
func HasInPlatform ¶
HasInPlatform applies the HasEdge predicate on the "in_platform" edge.
func HasInPlatformWith ¶
func HasInPlatformWith(preds ...predicate.DevicePlatform) predicate.Device
HasInPlatformWith applies the HasEdge predicate on the "in_platform" edge with a given conditions (other predicates).
func HasInTopology ¶
HasInTopology applies the HasEdge predicate on the "in_topology" edge.
func HasInTopologyWith ¶
func HasInTopologyWith(preds ...predicate.NetTopologyDeviceMap) predicate.Device
HasInTopologyWith applies the HasEdge predicate on the "in_topology" edge with a given conditions (other predicates).
func HasInTypeWith ¶
func HasInTypeWith(preds ...predicate.DeviceType) predicate.Device
HasInTypeWith applies the HasEdge predicate on the "in_type" edge with a given conditions (other predicates).
func HasInterfaces ¶
HasInterfaces applies the HasEdge predicate on the "interfaces" edge.
func HasInterfacesWith ¶
func HasInterfacesWith(preds ...predicate.NetInterface) predicate.Device
HasInterfacesWith applies the HasEdge predicate on the "interfaces" edge with a given conditions (other predicates).
func HasPoInterfaces ¶ added in v0.2.0
HasPoInterfaces applies the HasEdge predicate on the "po_interfaces" edge.
func HasPoInterfacesWith ¶ added in v0.2.0
func HasPoInterfacesWith(preds ...predicate.PortChannelInterface) predicate.Device
HasPoInterfacesWith applies the HasEdge predicate on the "po_interfaces" edge with a given conditions (other predicates).
func HasStoreVlans ¶
HasStoreVlans applies the HasEdge predicate on the "store_vlans" edge.
func HasStoreVlansWith ¶
HasStoreVlansWith applies the HasEdge predicate on the "store_vlans" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.