Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IxPrefix) predicate.IxPrefix
- func Created(v time.Time) predicate.IxPrefix
- func CreatedEQ(v time.Time) predicate.IxPrefix
- func CreatedGT(v time.Time) predicate.IxPrefix
- func CreatedGTE(v time.Time) predicate.IxPrefix
- func CreatedIn(vs ...time.Time) predicate.IxPrefix
- func CreatedLT(v time.Time) predicate.IxPrefix
- func CreatedLTE(v time.Time) predicate.IxPrefix
- func CreatedNEQ(v time.Time) predicate.IxPrefix
- func CreatedNotIn(vs ...time.Time) predicate.IxPrefix
- func HasIxLan() predicate.IxPrefix
- func HasIxLanWith(preds ...predicate.IxLan) predicate.IxPrefix
- func ID(id int) predicate.IxPrefix
- func IDEQ(id int) predicate.IxPrefix
- func IDGT(id int) predicate.IxPrefix
- func IDGTE(id int) predicate.IxPrefix
- func IDIn(ids ...int) predicate.IxPrefix
- func IDLT(id int) predicate.IxPrefix
- func IDLTE(id int) predicate.IxPrefix
- func IDNEQ(id int) predicate.IxPrefix
- func IDNotIn(ids ...int) predicate.IxPrefix
- func InDfz(v bool) predicate.IxPrefix
- func InDfzEQ(v bool) predicate.IxPrefix
- func InDfzNEQ(v bool) predicate.IxPrefix
- func IxlanID(v int) predicate.IxPrefix
- func IxlanIDEQ(v int) predicate.IxPrefix
- func IxlanIDIn(vs ...int) predicate.IxPrefix
- func IxlanIDIsNil() predicate.IxPrefix
- func IxlanIDNEQ(v int) predicate.IxPrefix
- func IxlanIDNotIn(vs ...int) predicate.IxPrefix
- func IxlanIDNotNil() predicate.IxPrefix
- func Not(p predicate.IxPrefix) predicate.IxPrefix
- func Or(predicates ...predicate.IxPrefix) predicate.IxPrefix
- func Prefix(v string) predicate.IxPrefix
- func PrefixContains(v string) predicate.IxPrefix
- func PrefixContainsFold(v string) predicate.IxPrefix
- func PrefixEQ(v string) predicate.IxPrefix
- func PrefixEqualFold(v string) predicate.IxPrefix
- func PrefixGT(v string) predicate.IxPrefix
- func PrefixGTE(v string) predicate.IxPrefix
- func PrefixHasPrefix(v string) predicate.IxPrefix
- func PrefixHasSuffix(v string) predicate.IxPrefix
- func PrefixIn(vs ...string) predicate.IxPrefix
- func PrefixLT(v string) predicate.IxPrefix
- func PrefixLTE(v string) predicate.IxPrefix
- func PrefixNEQ(v string) predicate.IxPrefix
- func PrefixNotIn(vs ...string) predicate.IxPrefix
- func Protocol(v string) predicate.IxPrefix
- func ProtocolContains(v string) predicate.IxPrefix
- func ProtocolContainsFold(v string) predicate.IxPrefix
- func ProtocolEQ(v string) predicate.IxPrefix
- func ProtocolEqualFold(v string) predicate.IxPrefix
- func ProtocolGT(v string) predicate.IxPrefix
- func ProtocolGTE(v string) predicate.IxPrefix
- func ProtocolHasPrefix(v string) predicate.IxPrefix
- func ProtocolHasSuffix(v string) predicate.IxPrefix
- func ProtocolIn(vs ...string) predicate.IxPrefix
- func ProtocolIsNil() predicate.IxPrefix
- func ProtocolLT(v string) predicate.IxPrefix
- func ProtocolLTE(v string) predicate.IxPrefix
- func ProtocolNEQ(v string) predicate.IxPrefix
- func ProtocolNotIn(vs ...string) predicate.IxPrefix
- func ProtocolNotNil() predicate.IxPrefix
- func Status(v string) predicate.IxPrefix
- func StatusContains(v string) predicate.IxPrefix
- func StatusContainsFold(v string) predicate.IxPrefix
- func StatusEQ(v string) predicate.IxPrefix
- func StatusEqualFold(v string) predicate.IxPrefix
- func StatusGT(v string) predicate.IxPrefix
- func StatusGTE(v string) predicate.IxPrefix
- func StatusHasPrefix(v string) predicate.IxPrefix
- func StatusHasSuffix(v string) predicate.IxPrefix
- func StatusIn(vs ...string) predicate.IxPrefix
- func StatusLT(v string) predicate.IxPrefix
- func StatusLTE(v string) predicate.IxPrefix
- func StatusNEQ(v string) predicate.IxPrefix
- func StatusNotIn(vs ...string) predicate.IxPrefix
- func Updated(v time.Time) predicate.IxPrefix
- func UpdatedEQ(v time.Time) predicate.IxPrefix
- func UpdatedGT(v time.Time) predicate.IxPrefix
- func UpdatedGTE(v time.Time) predicate.IxPrefix
- func UpdatedIn(vs ...time.Time) predicate.IxPrefix
- func UpdatedLT(v time.Time) predicate.IxPrefix
- func UpdatedLTE(v time.Time) predicate.IxPrefix
- func UpdatedNEQ(v time.Time) predicate.IxPrefix
- func UpdatedNotIn(vs ...time.Time) predicate.IxPrefix
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreated(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInDfz(opts ...sql.OrderTermOption) OrderOption
- func ByIxLanField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByIxlanID(opts ...sql.OrderTermOption) OrderOption
- func ByPrefix(opts ...sql.OrderTermOption) OrderOption
- func ByProtocol(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdated(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the ixprefix type in the database. Label = "ix_prefix" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIxlanID holds the string denoting the ixlan_id field in the database. FieldIxlanID = "ixlan_id" // FieldInDfz holds the string denoting the in_dfz field in the database. FieldInDfz = "in_dfz" // FieldPrefix holds the string denoting the prefix field in the database. FieldPrefix = "prefix" // FieldProtocol holds the string denoting the protocol field in the database. FieldProtocol = "protocol" // 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" // Table holds the table name of the ixprefix in the database. Table = "ix_prefixes" // IxLanTable is the table that holds the ix_lan relation/edge. IxLanTable = "ix_prefixes" // 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" )
Variables ¶
var ( // DefaultInDfz holds the default value on creation for the "in_dfz" field. DefaultInDfz bool // PrefixValidator is a validator for the "prefix" field. It is called by the builders before save. PrefixValidator func(string) error // DefaultProtocol holds the default value on creation for the "protocol" field. DefaultProtocol 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 )
var Columns = []string{ FieldID, FieldIxlanID, FieldInDfz, FieldPrefix, FieldProtocol, FieldCreated, FieldUpdated, FieldStatus, }
Columns holds all SQL columns for ixprefix fields.
Functions ¶
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func HasIxLanWith ¶
HasIxLanWith applies the HasEdge predicate on the "ix_lan" edge with a given conditions (other predicates).
func InDfz ¶
InDfz applies equality check predicate on the "in_dfz" field. It's identical to InDfzEQ.
func IxlanID ¶
IxlanID applies equality check predicate on the "ixlan_id" field. It's identical to IxlanIDEQ.
func IxlanIDIsNil ¶
IxlanIDIsNil applies the IsNil predicate on the "ixlan_id" field.
func IxlanIDNEQ ¶
IxlanIDNEQ applies the NEQ predicate on the "ixlan_id" field.
func IxlanIDNotIn ¶
IxlanIDNotIn applies the NotIn predicate on the "ixlan_id" field.
func IxlanIDNotNil ¶
IxlanIDNotNil applies the NotNil predicate on the "ixlan_id" field.
func Prefix ¶
Prefix applies equality check predicate on the "prefix" field. It's identical to PrefixEQ.
func PrefixContains ¶
PrefixContains applies the Contains predicate on the "prefix" field.
func PrefixContainsFold ¶
PrefixContainsFold applies the ContainsFold predicate on the "prefix" field.
func PrefixEqualFold ¶
PrefixEqualFold applies the EqualFold predicate on the "prefix" field.
func PrefixHasPrefix ¶
PrefixHasPrefix applies the HasPrefix predicate on the "prefix" field.
func PrefixHasSuffix ¶
PrefixHasSuffix applies the HasSuffix predicate on the "prefix" field.
func PrefixNotIn ¶
PrefixNotIn applies the NotIn predicate on the "prefix" field.
func Protocol ¶
Protocol applies equality check predicate on the "protocol" field. It's identical to ProtocolEQ.
func ProtocolContains ¶
ProtocolContains applies the Contains predicate on the "protocol" field.
func ProtocolContainsFold ¶
ProtocolContainsFold applies the ContainsFold predicate on the "protocol" field.
func ProtocolEQ ¶
ProtocolEQ applies the EQ predicate on the "protocol" field.
func ProtocolEqualFold ¶
ProtocolEqualFold applies the EqualFold predicate on the "protocol" field.
func ProtocolGT ¶
ProtocolGT applies the GT predicate on the "protocol" field.
func ProtocolGTE ¶
ProtocolGTE applies the GTE predicate on the "protocol" field.
func ProtocolHasPrefix ¶
ProtocolHasPrefix applies the HasPrefix predicate on the "protocol" field.
func ProtocolHasSuffix ¶
ProtocolHasSuffix applies the HasSuffix predicate on the "protocol" field.
func ProtocolIn ¶
ProtocolIn applies the In predicate on the "protocol" field.
func ProtocolIsNil ¶ added in v1.4.0
ProtocolIsNil applies the IsNil predicate on the "protocol" field.
func ProtocolLT ¶
ProtocolLT applies the LT predicate on the "protocol" field.
func ProtocolLTE ¶
ProtocolLTE applies the LTE predicate on the "protocol" field.
func ProtocolNEQ ¶
ProtocolNEQ applies the NEQ predicate on the "protocol" field.
func ProtocolNotIn ¶
ProtocolNotIn applies the NotIn predicate on the "protocol" field.
func ProtocolNotNil ¶ added in v1.4.0
ProtocolNotNil applies the NotNil predicate on the "protocol" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func Updated ¶
Updated applies equality check predicate on the "updated" field. It's identical to UpdatedEQ.
func UpdatedGTE ¶
UpdatedGTE applies the GTE predicate on the "updated" field.
func UpdatedLTE ¶
UpdatedLTE applies the LTE predicate on the "updated" field.
func UpdatedNEQ ¶
UpdatedNEQ applies the NEQ predicate on the "updated" field.
func UpdatedNotIn ¶
UpdatedNotIn applies the NotIn predicate on the "updated" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the IxPrefix queries.
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 ByInDfz ¶
func ByInDfz(opts ...sql.OrderTermOption) OrderOption
ByInDfz orders the results by the in_dfz field.
func ByIxLanField ¶
func ByIxLanField(field string, opts ...sql.OrderTermOption) OrderOption
ByIxLanField orders the results by ix_lan field.
func ByIxlanID ¶
func ByIxlanID(opts ...sql.OrderTermOption) OrderOption
ByIxlanID orders the results by the ixlan_id field.
func ByPrefix ¶
func ByPrefix(opts ...sql.OrderTermOption) OrderOption
ByPrefix orders the results by the prefix field.
func ByProtocol ¶
func ByProtocol(opts ...sql.OrderTermOption) OrderOption
ByProtocol orders the results by the protocol 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.