ipstaticroutingtable

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for ipstaticroutingtable fields.

View Source
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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

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

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

NextHopGT applies the GT predicate on the "next_hop" field.

func NextHopGTE

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

NextHopLT applies the LT predicate on the "next_hop" field.

func NextHopLTE

NextHopLTE applies the LTE predicate on the "next_hop" field.

func NextHopNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func SubnetMask

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL