netinterfacelayer

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

Columns holds all SQL columns for netinterfacelayer fields.

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

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

HasPoLayersWith applies the HasEdge predicate on the "po_layers" 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.NetInterfaceLayer

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.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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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