networkixlan

package
v1.18.14 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the networkixlan type in the database.
	Label = "network_ix_lan"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIxSideID holds the string denoting the ix_side_id field in the database.
	FieldIxSideID = "ix_side_id"
	// FieldIxlanID holds the string denoting the ixlan_id field in the database.
	FieldIxlanID = "ixlan_id"
	// FieldNetID holds the string denoting the net_id field in the database.
	FieldNetID = "net_id"
	// FieldNetSideID holds the string denoting the net_side_id field in the database.
	FieldNetSideID = "net_side_id"
	// FieldAsn holds the string denoting the asn field in the database.
	FieldAsn = "asn"
	// FieldBfdSupport holds the string denoting the bfd_support field in the database.
	FieldBfdSupport = "bfd_support"
	// FieldIpaddr4 holds the string denoting the ipaddr4 field in the database.
	FieldIpaddr4 = "ipaddr4"
	// FieldIpaddr6 holds the string denoting the ipaddr6 field in the database.
	FieldIpaddr6 = "ipaddr6"
	// FieldIsRsPeer holds the string denoting the is_rs_peer field in the database.
	FieldIsRsPeer = "is_rs_peer"
	// FieldNotes holds the string denoting the notes field in the database.
	FieldNotes = "notes"
	// FieldOperational holds the string denoting the operational field in the database.
	FieldOperational = "operational"
	// FieldSpeed holds the string denoting the speed field in the database.
	FieldSpeed = "speed"
	// FieldIxID holds the string denoting the ix_id field in the database.
	FieldIxID = "ix_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCreated holds the string denoting the created field in the database.
	FieldCreated = "created"
	// FieldUpdated holds the string denoting the updated field in the database.
	FieldUpdated = "updated"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeIxLan holds the string denoting the ix_lan edge name in mutations.
	EdgeIxLan = "ix_lan"
	// EdgeNetwork holds the string denoting the network edge name in mutations.
	EdgeNetwork = "network"
	// Table holds the table name of the networkixlan in the database.
	Table = "network_ix_lans"
	// IxLanTable is the table that holds the ix_lan relation/edge.
	IxLanTable = "network_ix_lans"
	// IxLanInverseTable is the table name for the IxLan entity.
	// It exists in this package in order to avoid circular dependency with the "ixlan" package.
	IxLanInverseTable = "ix_lans"
	// IxLanColumn is the table column denoting the ix_lan relation/edge.
	IxLanColumn = "ixlan_id"
	// NetworkTable is the table that holds the network relation/edge.
	NetworkTable = "network_ix_lans"
	// NetworkInverseTable is the table name for the Network entity.
	// It exists in this package in order to avoid circular dependency with the "network" package.
	NetworkInverseTable = "networks"
	// NetworkColumn is the table column denoting the network relation/edge.
	NetworkColumn = "net_id"
)

Variables

View Source
var (
	// AsnValidator is a validator for the "asn" field. It is called by the builders before save.
	AsnValidator func(int) error
	// DefaultBfdSupport holds the default value on creation for the "bfd_support" field.
	DefaultBfdSupport bool
	// DefaultIsRsPeer holds the default value on creation for the "is_rs_peer" field.
	DefaultIsRsPeer bool
	// DefaultNotes holds the default value on creation for the "notes" field.
	DefaultNotes string
	// DefaultOperational holds the default value on creation for the "operational" field.
	DefaultOperational bool
	// DefaultName holds the default value on creation for the "name" field.
	DefaultName string
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int) error
)

Columns holds all SQL columns for networkixlan fields.

Functions

func And

func And(predicates ...predicate.NetworkIxLan) predicate.NetworkIxLan

And groups predicates with the AND operator between them.

func Asn

func Asn(v int) predicate.NetworkIxLan

Asn applies equality check predicate on the "asn" field. It's identical to AsnEQ.

func AsnEQ

func AsnEQ(v int) predicate.NetworkIxLan

AsnEQ applies the EQ predicate on the "asn" field.

func AsnGT

func AsnGT(v int) predicate.NetworkIxLan

AsnGT applies the GT predicate on the "asn" field.

func AsnGTE

func AsnGTE(v int) predicate.NetworkIxLan

AsnGTE applies the GTE predicate on the "asn" field.

func AsnIn

func AsnIn(vs ...int) predicate.NetworkIxLan

AsnIn applies the In predicate on the "asn" field.

func AsnLT

func AsnLT(v int) predicate.NetworkIxLan

AsnLT applies the LT predicate on the "asn" field.

func AsnLTE

func AsnLTE(v int) predicate.NetworkIxLan

AsnLTE applies the LTE predicate on the "asn" field.

func AsnNEQ

func AsnNEQ(v int) predicate.NetworkIxLan

AsnNEQ applies the NEQ predicate on the "asn" field.

func AsnNotIn

func AsnNotIn(vs ...int) predicate.NetworkIxLan

AsnNotIn applies the NotIn predicate on the "asn" field.

func BfdSupport

func BfdSupport(v bool) predicate.NetworkIxLan

BfdSupport applies equality check predicate on the "bfd_support" field. It's identical to BfdSupportEQ.

func BfdSupportEQ

func BfdSupportEQ(v bool) predicate.NetworkIxLan

BfdSupportEQ applies the EQ predicate on the "bfd_support" field.

func BfdSupportNEQ

func BfdSupportNEQ(v bool) predicate.NetworkIxLan

BfdSupportNEQ applies the NEQ predicate on the "bfd_support" field.

func Created

func Created(v time.Time) predicate.NetworkIxLan

Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.

func CreatedEQ

func CreatedEQ(v time.Time) predicate.NetworkIxLan

CreatedEQ applies the EQ predicate on the "created" field.

func CreatedGT

func CreatedGT(v time.Time) predicate.NetworkIxLan

CreatedGT applies the GT predicate on the "created" field.

func CreatedGTE

func CreatedGTE(v time.Time) predicate.NetworkIxLan

CreatedGTE applies the GTE predicate on the "created" field.

func CreatedIn

func CreatedIn(vs ...time.Time) predicate.NetworkIxLan

CreatedIn applies the In predicate on the "created" field.

func CreatedLT

func CreatedLT(v time.Time) predicate.NetworkIxLan

CreatedLT applies the LT predicate on the "created" field.

func CreatedLTE

func CreatedLTE(v time.Time) predicate.NetworkIxLan

CreatedLTE applies the LTE predicate on the "created" field.

func CreatedNEQ

func CreatedNEQ(v time.Time) predicate.NetworkIxLan

CreatedNEQ applies the NEQ predicate on the "created" field.

func CreatedNotIn

func CreatedNotIn(vs ...time.Time) predicate.NetworkIxLan

CreatedNotIn applies the NotIn predicate on the "created" field.

func HasIxLan

func HasIxLan() predicate.NetworkIxLan

HasIxLan applies the HasEdge predicate on the "ix_lan" edge.

func HasIxLanWith

func HasIxLanWith(preds ...predicate.IxLan) predicate.NetworkIxLan

HasIxLanWith applies the HasEdge predicate on the "ix_lan" edge with a given conditions (other predicates).

func HasNetwork

func HasNetwork() predicate.NetworkIxLan

HasNetwork applies the HasEdge predicate on the "network" edge.

func HasNetworkWith

func HasNetworkWith(preds ...predicate.Network) predicate.NetworkIxLan

HasNetworkWith applies the HasEdge predicate on the "network" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.NetworkIxLan

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NetworkIxLan

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NetworkIxLan

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NetworkIxLan

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.NetworkIxLan

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NetworkIxLan

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NetworkIxLan

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NetworkIxLan

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.NetworkIxLan

IDNotIn applies the NotIn predicate on the ID field.

func Ipaddr4

func Ipaddr4(v string) predicate.NetworkIxLan

Ipaddr4 applies equality check predicate on the "ipaddr4" field. It's identical to Ipaddr4EQ.

func Ipaddr4Contains

func Ipaddr4Contains(v string) predicate.NetworkIxLan

Ipaddr4Contains applies the Contains predicate on the "ipaddr4" field.

func Ipaddr4ContainsFold

func Ipaddr4ContainsFold(v string) predicate.NetworkIxLan

Ipaddr4ContainsFold applies the ContainsFold predicate on the "ipaddr4" field.

func Ipaddr4EQ

func Ipaddr4EQ(v string) predicate.NetworkIxLan

Ipaddr4EQ applies the EQ predicate on the "ipaddr4" field.

func Ipaddr4EqualFold

func Ipaddr4EqualFold(v string) predicate.NetworkIxLan

Ipaddr4EqualFold applies the EqualFold predicate on the "ipaddr4" field.

func Ipaddr4GT

func Ipaddr4GT(v string) predicate.NetworkIxLan

Ipaddr4GT applies the GT predicate on the "ipaddr4" field.

func Ipaddr4GTE

func Ipaddr4GTE(v string) predicate.NetworkIxLan

Ipaddr4GTE applies the GTE predicate on the "ipaddr4" field.

func Ipaddr4HasPrefix

func Ipaddr4HasPrefix(v string) predicate.NetworkIxLan

Ipaddr4HasPrefix applies the HasPrefix predicate on the "ipaddr4" field.

func Ipaddr4HasSuffix

func Ipaddr4HasSuffix(v string) predicate.NetworkIxLan

Ipaddr4HasSuffix applies the HasSuffix predicate on the "ipaddr4" field.

func Ipaddr4In

func Ipaddr4In(vs ...string) predicate.NetworkIxLan

Ipaddr4In applies the In predicate on the "ipaddr4" field.

func Ipaddr4IsNil

func Ipaddr4IsNil() predicate.NetworkIxLan

Ipaddr4IsNil applies the IsNil predicate on the "ipaddr4" field.

func Ipaddr4LT

func Ipaddr4LT(v string) predicate.NetworkIxLan

Ipaddr4LT applies the LT predicate on the "ipaddr4" field.

func Ipaddr4LTE

func Ipaddr4LTE(v string) predicate.NetworkIxLan

Ipaddr4LTE applies the LTE predicate on the "ipaddr4" field.

func Ipaddr4NEQ

func Ipaddr4NEQ(v string) predicate.NetworkIxLan

Ipaddr4NEQ applies the NEQ predicate on the "ipaddr4" field.

func Ipaddr4NotIn

func Ipaddr4NotIn(vs ...string) predicate.NetworkIxLan

Ipaddr4NotIn applies the NotIn predicate on the "ipaddr4" field.

func Ipaddr4NotNil

func Ipaddr4NotNil() predicate.NetworkIxLan

Ipaddr4NotNil applies the NotNil predicate on the "ipaddr4" field.

func Ipaddr6

func Ipaddr6(v string) predicate.NetworkIxLan

Ipaddr6 applies equality check predicate on the "ipaddr6" field. It's identical to Ipaddr6EQ.

func Ipaddr6Contains

func Ipaddr6Contains(v string) predicate.NetworkIxLan

Ipaddr6Contains applies the Contains predicate on the "ipaddr6" field.

func Ipaddr6ContainsFold

func Ipaddr6ContainsFold(v string) predicate.NetworkIxLan

Ipaddr6ContainsFold applies the ContainsFold predicate on the "ipaddr6" field.

func Ipaddr6EQ

func Ipaddr6EQ(v string) predicate.NetworkIxLan

Ipaddr6EQ applies the EQ predicate on the "ipaddr6" field.

func Ipaddr6EqualFold

func Ipaddr6EqualFold(v string) predicate.NetworkIxLan

Ipaddr6EqualFold applies the EqualFold predicate on the "ipaddr6" field.

func Ipaddr6GT

func Ipaddr6GT(v string) predicate.NetworkIxLan

Ipaddr6GT applies the GT predicate on the "ipaddr6" field.

func Ipaddr6GTE

func Ipaddr6GTE(v string) predicate.NetworkIxLan

Ipaddr6GTE applies the GTE predicate on the "ipaddr6" field.

func Ipaddr6HasPrefix

func Ipaddr6HasPrefix(v string) predicate.NetworkIxLan

Ipaddr6HasPrefix applies the HasPrefix predicate on the "ipaddr6" field.

func Ipaddr6HasSuffix

func Ipaddr6HasSuffix(v string) predicate.NetworkIxLan

Ipaddr6HasSuffix applies the HasSuffix predicate on the "ipaddr6" field.

func Ipaddr6In

func Ipaddr6In(vs ...string) predicate.NetworkIxLan

Ipaddr6In applies the In predicate on the "ipaddr6" field.

func Ipaddr6IsNil

func Ipaddr6IsNil() predicate.NetworkIxLan

Ipaddr6IsNil applies the IsNil predicate on the "ipaddr6" field.

func Ipaddr6LT

func Ipaddr6LT(v string) predicate.NetworkIxLan

Ipaddr6LT applies the LT predicate on the "ipaddr6" field.

func Ipaddr6LTE

func Ipaddr6LTE(v string) predicate.NetworkIxLan

Ipaddr6LTE applies the LTE predicate on the "ipaddr6" field.

func Ipaddr6NEQ

func Ipaddr6NEQ(v string) predicate.NetworkIxLan

Ipaddr6NEQ applies the NEQ predicate on the "ipaddr6" field.

func Ipaddr6NotIn

func Ipaddr6NotIn(vs ...string) predicate.NetworkIxLan

Ipaddr6NotIn applies the NotIn predicate on the "ipaddr6" field.

func Ipaddr6NotNil

func Ipaddr6NotNil() predicate.NetworkIxLan

Ipaddr6NotNil applies the NotNil predicate on the "ipaddr6" field.

func IsRsPeer

func IsRsPeer(v bool) predicate.NetworkIxLan

IsRsPeer applies equality check predicate on the "is_rs_peer" field. It's identical to IsRsPeerEQ.

func IsRsPeerEQ

func IsRsPeerEQ(v bool) predicate.NetworkIxLan

IsRsPeerEQ applies the EQ predicate on the "is_rs_peer" field.

func IsRsPeerNEQ

func IsRsPeerNEQ(v bool) predicate.NetworkIxLan

IsRsPeerNEQ applies the NEQ predicate on the "is_rs_peer" field.

func IxID

func IxID(v int) predicate.NetworkIxLan

IxID applies equality check predicate on the "ix_id" field. It's identical to IxIDEQ.

func IxIDEQ

func IxIDEQ(v int) predicate.NetworkIxLan

IxIDEQ applies the EQ predicate on the "ix_id" field.

func IxIDGT

func IxIDGT(v int) predicate.NetworkIxLan

IxIDGT applies the GT predicate on the "ix_id" field.

func IxIDGTE

func IxIDGTE(v int) predicate.NetworkIxLan

IxIDGTE applies the GTE predicate on the "ix_id" field.

func IxIDIn

func IxIDIn(vs ...int) predicate.NetworkIxLan

IxIDIn applies the In predicate on the "ix_id" field.

func IxIDIsNil

func IxIDIsNil() predicate.NetworkIxLan

IxIDIsNil applies the IsNil predicate on the "ix_id" field.

func IxIDLT

func IxIDLT(v int) predicate.NetworkIxLan

IxIDLT applies the LT predicate on the "ix_id" field.

func IxIDLTE

func IxIDLTE(v int) predicate.NetworkIxLan

IxIDLTE applies the LTE predicate on the "ix_id" field.

func IxIDNEQ

func IxIDNEQ(v int) predicate.NetworkIxLan

IxIDNEQ applies the NEQ predicate on the "ix_id" field.

func IxIDNotIn

func IxIDNotIn(vs ...int) predicate.NetworkIxLan

IxIDNotIn applies the NotIn predicate on the "ix_id" field.

func IxIDNotNil

func IxIDNotNil() predicate.NetworkIxLan

IxIDNotNil applies the NotNil predicate on the "ix_id" field.

func IxSideID

func IxSideID(v int) predicate.NetworkIxLan

IxSideID applies equality check predicate on the "ix_side_id" field. It's identical to IxSideIDEQ.

func IxSideIDEQ

func IxSideIDEQ(v int) predicate.NetworkIxLan

IxSideIDEQ applies the EQ predicate on the "ix_side_id" field.

func IxSideIDGT

func IxSideIDGT(v int) predicate.NetworkIxLan

IxSideIDGT applies the GT predicate on the "ix_side_id" field.

func IxSideIDGTE

func IxSideIDGTE(v int) predicate.NetworkIxLan

IxSideIDGTE applies the GTE predicate on the "ix_side_id" field.

func IxSideIDIn

func IxSideIDIn(vs ...int) predicate.NetworkIxLan

IxSideIDIn applies the In predicate on the "ix_side_id" field.

func IxSideIDIsNil

func IxSideIDIsNil() predicate.NetworkIxLan

IxSideIDIsNil applies the IsNil predicate on the "ix_side_id" field.

func IxSideIDLT

func IxSideIDLT(v int) predicate.NetworkIxLan

IxSideIDLT applies the LT predicate on the "ix_side_id" field.

func IxSideIDLTE

func IxSideIDLTE(v int) predicate.NetworkIxLan

IxSideIDLTE applies the LTE predicate on the "ix_side_id" field.

func IxSideIDNEQ

func IxSideIDNEQ(v int) predicate.NetworkIxLan

IxSideIDNEQ applies the NEQ predicate on the "ix_side_id" field.

func IxSideIDNotIn

func IxSideIDNotIn(vs ...int) predicate.NetworkIxLan

IxSideIDNotIn applies the NotIn predicate on the "ix_side_id" field.

func IxSideIDNotNil

func IxSideIDNotNil() predicate.NetworkIxLan

IxSideIDNotNil applies the NotNil predicate on the "ix_side_id" field.

func IxlanID

func IxlanID(v int) predicate.NetworkIxLan

IxlanID applies equality check predicate on the "ixlan_id" field. It's identical to IxlanIDEQ.

func IxlanIDEQ

func IxlanIDEQ(v int) predicate.NetworkIxLan

IxlanIDEQ applies the EQ predicate on the "ixlan_id" field.

func IxlanIDIn

func IxlanIDIn(vs ...int) predicate.NetworkIxLan

IxlanIDIn applies the In predicate on the "ixlan_id" field.

func IxlanIDIsNil

func IxlanIDIsNil() predicate.NetworkIxLan

IxlanIDIsNil applies the IsNil predicate on the "ixlan_id" field.

func IxlanIDNEQ

func IxlanIDNEQ(v int) predicate.NetworkIxLan

IxlanIDNEQ applies the NEQ predicate on the "ixlan_id" field.

func IxlanIDNotIn

func IxlanIDNotIn(vs ...int) predicate.NetworkIxLan

IxlanIDNotIn applies the NotIn predicate on the "ixlan_id" field.

func IxlanIDNotNil

func IxlanIDNotNil() predicate.NetworkIxLan

IxlanIDNotNil applies the NotNil predicate on the "ixlan_id" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.NetworkIxLan

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.NetworkIxLan

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.NetworkIxLan

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.NetworkIxLan

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.NetworkIxLan

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.NetworkIxLan

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.NetworkIxLan

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.NetworkIxLan

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.NetworkIxLan

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.NetworkIxLan

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.NetworkIxLan

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.NetworkIxLan

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.NetworkIxLan

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.NetworkIxLan

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.NetworkIxLan

NameNotNil applies the NotNil predicate on the "name" field.

func NetID

func NetID(v int) predicate.NetworkIxLan

NetID applies equality check predicate on the "net_id" field. It's identical to NetIDEQ.

func NetIDEQ

func NetIDEQ(v int) predicate.NetworkIxLan

NetIDEQ applies the EQ predicate on the "net_id" field.

func NetIDIn

func NetIDIn(vs ...int) predicate.NetworkIxLan

NetIDIn applies the In predicate on the "net_id" field.

func NetIDIsNil

func NetIDIsNil() predicate.NetworkIxLan

NetIDIsNil applies the IsNil predicate on the "net_id" field.

func NetIDNEQ

func NetIDNEQ(v int) predicate.NetworkIxLan

NetIDNEQ applies the NEQ predicate on the "net_id" field.

func NetIDNotIn

func NetIDNotIn(vs ...int) predicate.NetworkIxLan

NetIDNotIn applies the NotIn predicate on the "net_id" field.

func NetIDNotNil

func NetIDNotNil() predicate.NetworkIxLan

NetIDNotNil applies the NotNil predicate on the "net_id" field.

func NetSideID

func NetSideID(v int) predicate.NetworkIxLan

NetSideID applies equality check predicate on the "net_side_id" field. It's identical to NetSideIDEQ.

func NetSideIDEQ

func NetSideIDEQ(v int) predicate.NetworkIxLan

NetSideIDEQ applies the EQ predicate on the "net_side_id" field.

func NetSideIDGT

func NetSideIDGT(v int) predicate.NetworkIxLan

NetSideIDGT applies the GT predicate on the "net_side_id" field.

func NetSideIDGTE

func NetSideIDGTE(v int) predicate.NetworkIxLan

NetSideIDGTE applies the GTE predicate on the "net_side_id" field.

func NetSideIDIn

func NetSideIDIn(vs ...int) predicate.NetworkIxLan

NetSideIDIn applies the In predicate on the "net_side_id" field.

func NetSideIDIsNil

func NetSideIDIsNil() predicate.NetworkIxLan

NetSideIDIsNil applies the IsNil predicate on the "net_side_id" field.

func NetSideIDLT

func NetSideIDLT(v int) predicate.NetworkIxLan

NetSideIDLT applies the LT predicate on the "net_side_id" field.

func NetSideIDLTE

func NetSideIDLTE(v int) predicate.NetworkIxLan

NetSideIDLTE applies the LTE predicate on the "net_side_id" field.

func NetSideIDNEQ

func NetSideIDNEQ(v int) predicate.NetworkIxLan

NetSideIDNEQ applies the NEQ predicate on the "net_side_id" field.

func NetSideIDNotIn

func NetSideIDNotIn(vs ...int) predicate.NetworkIxLan

NetSideIDNotIn applies the NotIn predicate on the "net_side_id" field.

func NetSideIDNotNil

func NetSideIDNotNil() predicate.NetworkIxLan

NetSideIDNotNil applies the NotNil predicate on the "net_side_id" field.

func Not

Not applies the not operator on the given predicate.

func Notes

func Notes(v string) predicate.NetworkIxLan

Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.

func NotesContains

func NotesContains(v string) predicate.NetworkIxLan

NotesContains applies the Contains predicate on the "notes" field.

func NotesContainsFold

func NotesContainsFold(v string) predicate.NetworkIxLan

NotesContainsFold applies the ContainsFold predicate on the "notes" field.

func NotesEQ

func NotesEQ(v string) predicate.NetworkIxLan

NotesEQ applies the EQ predicate on the "notes" field.

func NotesEqualFold

func NotesEqualFold(v string) predicate.NetworkIxLan

NotesEqualFold applies the EqualFold predicate on the "notes" field.

func NotesGT

func NotesGT(v string) predicate.NetworkIxLan

NotesGT applies the GT predicate on the "notes" field.

func NotesGTE

func NotesGTE(v string) predicate.NetworkIxLan

NotesGTE applies the GTE predicate on the "notes" field.

func NotesHasPrefix

func NotesHasPrefix(v string) predicate.NetworkIxLan

NotesHasPrefix applies the HasPrefix predicate on the "notes" field.

func NotesHasSuffix

func NotesHasSuffix(v string) predicate.NetworkIxLan

NotesHasSuffix applies the HasSuffix predicate on the "notes" field.

func NotesIn

func NotesIn(vs ...string) predicate.NetworkIxLan

NotesIn applies the In predicate on the "notes" field.

func NotesIsNil

func NotesIsNil() predicate.NetworkIxLan

NotesIsNil applies the IsNil predicate on the "notes" field.

func NotesLT

func NotesLT(v string) predicate.NetworkIxLan

NotesLT applies the LT predicate on the "notes" field.

func NotesLTE

func NotesLTE(v string) predicate.NetworkIxLan

NotesLTE applies the LTE predicate on the "notes" field.

func NotesNEQ

func NotesNEQ(v string) predicate.NetworkIxLan

NotesNEQ applies the NEQ predicate on the "notes" field.

func NotesNotIn

func NotesNotIn(vs ...string) predicate.NetworkIxLan

NotesNotIn applies the NotIn predicate on the "notes" field.

func NotesNotNil

func NotesNotNil() predicate.NetworkIxLan

NotesNotNil applies the NotNil predicate on the "notes" field.

func Operational

func Operational(v bool) predicate.NetworkIxLan

Operational applies equality check predicate on the "operational" field. It's identical to OperationalEQ.

func OperationalEQ

func OperationalEQ(v bool) predicate.NetworkIxLan

OperationalEQ applies the EQ predicate on the "operational" field.

func OperationalNEQ

func OperationalNEQ(v bool) predicate.NetworkIxLan

OperationalNEQ applies the NEQ predicate on the "operational" field.

func Or

func Or(predicates ...predicate.NetworkIxLan) predicate.NetworkIxLan

Or groups predicates with the OR operator between them.

func Speed

func Speed(v int) predicate.NetworkIxLan

Speed applies equality check predicate on the "speed" field. It's identical to SpeedEQ.

func SpeedEQ

func SpeedEQ(v int) predicate.NetworkIxLan

SpeedEQ applies the EQ predicate on the "speed" field.

func SpeedGT

func SpeedGT(v int) predicate.NetworkIxLan

SpeedGT applies the GT predicate on the "speed" field.

func SpeedGTE

func SpeedGTE(v int) predicate.NetworkIxLan

SpeedGTE applies the GTE predicate on the "speed" field.

func SpeedIn

func SpeedIn(vs ...int) predicate.NetworkIxLan

SpeedIn applies the In predicate on the "speed" field.

func SpeedLT

func SpeedLT(v int) predicate.NetworkIxLan

SpeedLT applies the LT predicate on the "speed" field.

func SpeedLTE

func SpeedLTE(v int) predicate.NetworkIxLan

SpeedLTE applies the LTE predicate on the "speed" field.

func SpeedNEQ

func SpeedNEQ(v int) predicate.NetworkIxLan

SpeedNEQ applies the NEQ predicate on the "speed" field.

func SpeedNotIn

func SpeedNotIn(vs ...int) predicate.NetworkIxLan

SpeedNotIn applies the NotIn predicate on the "speed" field.

func Status

func Status(v string) predicate.NetworkIxLan

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.NetworkIxLan

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.NetworkIxLan

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.NetworkIxLan

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.NetworkIxLan

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.NetworkIxLan

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.NetworkIxLan

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.NetworkIxLan

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.NetworkIxLan

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.NetworkIxLan

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.NetworkIxLan

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.NetworkIxLan

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.NetworkIxLan

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.NetworkIxLan

StatusNotIn applies the NotIn predicate on the "status" field.

func Updated

func Updated(v time.Time) predicate.NetworkIxLan

Updated applies equality check predicate on the "updated" field. It's identical to UpdatedEQ.

func UpdatedEQ

func UpdatedEQ(v time.Time) predicate.NetworkIxLan

UpdatedEQ applies the EQ predicate on the "updated" field.

func UpdatedGT

func UpdatedGT(v time.Time) predicate.NetworkIxLan

UpdatedGT applies the GT predicate on the "updated" field.

func UpdatedGTE

func UpdatedGTE(v time.Time) predicate.NetworkIxLan

UpdatedGTE applies the GTE predicate on the "updated" field.

func UpdatedIn

func UpdatedIn(vs ...time.Time) predicate.NetworkIxLan

UpdatedIn applies the In predicate on the "updated" field.

func UpdatedLT

func UpdatedLT(v time.Time) predicate.NetworkIxLan

UpdatedLT applies the LT predicate on the "updated" field.

func UpdatedLTE

func UpdatedLTE(v time.Time) predicate.NetworkIxLan

UpdatedLTE applies the LTE predicate on the "updated" field.

func UpdatedNEQ

func UpdatedNEQ(v time.Time) predicate.NetworkIxLan

UpdatedNEQ applies the NEQ predicate on the "updated" field.

func UpdatedNotIn

func UpdatedNotIn(vs ...time.Time) predicate.NetworkIxLan

UpdatedNotIn applies the NotIn predicate on the "updated" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NetworkIxLan queries.

func ByAsn

func ByAsn(opts ...sql.OrderTermOption) OrderOption

ByAsn orders the results by the asn field.

func ByBfdSupport

func ByBfdSupport(opts ...sql.OrderTermOption) OrderOption

ByBfdSupport orders the results by the bfd_support field.

func ByCreated

func ByCreated(opts ...sql.OrderTermOption) OrderOption

ByCreated orders the results by the created field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIpaddr4

func ByIpaddr4(opts ...sql.OrderTermOption) OrderOption

ByIpaddr4 orders the results by the ipaddr4 field.

func ByIpaddr6

func ByIpaddr6(opts ...sql.OrderTermOption) OrderOption

ByIpaddr6 orders the results by the ipaddr6 field.

func ByIsRsPeer

func ByIsRsPeer(opts ...sql.OrderTermOption) OrderOption

ByIsRsPeer orders the results by the is_rs_peer field.

func ByIxID

func ByIxID(opts ...sql.OrderTermOption) OrderOption

ByIxID orders the results by the ix_id field.

func ByIxLanField

func ByIxLanField(field string, opts ...sql.OrderTermOption) OrderOption

ByIxLanField orders the results by ix_lan field.

func ByIxSideID

func ByIxSideID(opts ...sql.OrderTermOption) OrderOption

ByIxSideID orders the results by the ix_side_id field.

func ByIxlanID

func ByIxlanID(opts ...sql.OrderTermOption) OrderOption

ByIxlanID orders the results by the ixlan_id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNetID

func ByNetID(opts ...sql.OrderTermOption) OrderOption

ByNetID orders the results by the net_id field.

func ByNetSideID

func ByNetSideID(opts ...sql.OrderTermOption) OrderOption

ByNetSideID orders the results by the net_side_id field.

func ByNetworkField

func ByNetworkField(field string, opts ...sql.OrderTermOption) OrderOption

ByNetworkField orders the results by network field.

func ByNotes

func ByNotes(opts ...sql.OrderTermOption) OrderOption

ByNotes orders the results by the notes field.

func ByOperational

func ByOperational(opts ...sql.OrderTermOption) OrderOption

ByOperational orders the results by the operational field.

func BySpeed

func BySpeed(opts ...sql.OrderTermOption) OrderOption

BySpeed orders the results by the speed field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByUpdated

func ByUpdated(opts ...sql.OrderTermOption) OrderOption

ByUpdated orders the results by the updated field.

Jump to

Keyboard shortcuts

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