Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DomainBindding) predicate.DomainBindding
- func CreateTime(v time.Time) predicate.DomainBindding
- func CreateTimeEQ(v time.Time) predicate.DomainBindding
- func CreateTimeGT(v time.Time) predicate.DomainBindding
- func CreateTimeGTE(v time.Time) predicate.DomainBindding
- func CreateTimeIn(vs ...time.Time) predicate.DomainBindding
- func CreateTimeLT(v time.Time) predicate.DomainBindding
- func CreateTimeLTE(v time.Time) predicate.DomainBindding
- func CreateTimeNEQ(v time.Time) predicate.DomainBindding
- func CreateTimeNotIn(vs ...time.Time) predicate.DomainBindding
- func Domain(v string) predicate.DomainBindding
- func DomainContains(v string) predicate.DomainBindding
- func DomainContainsFold(v string) predicate.DomainBindding
- func DomainEQ(v string) predicate.DomainBindding
- func DomainEqualFold(v string) predicate.DomainBindding
- func DomainGT(v string) predicate.DomainBindding
- func DomainGTE(v string) predicate.DomainBindding
- func DomainHasPrefix(v string) predicate.DomainBindding
- func DomainHasSuffix(v string) predicate.DomainBindding
- func DomainIn(vs ...string) predicate.DomainBindding
- func DomainLT(v string) predicate.DomainBindding
- func DomainLTE(v string) predicate.DomainBindding
- func DomainNEQ(v string) predicate.DomainBindding
- func DomainNotIn(vs ...string) predicate.DomainBindding
- func FkComputeInstanceID(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDEQ(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDGT(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDGTE(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDIn(vs ...uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDLT(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDLTE(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDNEQ(v uuid.UUID) predicate.DomainBindding
- func FkComputeInstanceIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingID(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDEQ(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDGT(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDGTE(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDIn(vs ...uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDLT(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDLTE(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDNEQ(v uuid.UUID) predicate.DomainBindding
- func FkNetworkMappingIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
- func GatewayPort(v int) predicate.DomainBindding
- func GatewayPortEQ(v int) predicate.DomainBindding
- func GatewayPortGT(v int) predicate.DomainBindding
- func GatewayPortGTE(v int) predicate.DomainBindding
- func GatewayPortIn(vs ...int) predicate.DomainBindding
- func GatewayPortLT(v int) predicate.DomainBindding
- func GatewayPortLTE(v int) predicate.DomainBindding
- func GatewayPortNEQ(v int) predicate.DomainBindding
- func GatewayPortNotIn(vs ...int) predicate.DomainBindding
- func ID(id uuid.UUID) predicate.DomainBindding
- func IDEQ(id uuid.UUID) predicate.DomainBindding
- func IDGT(id uuid.UUID) predicate.DomainBindding
- func IDGTE(id uuid.UUID) predicate.DomainBindding
- func IDIn(ids ...uuid.UUID) predicate.DomainBindding
- func IDLT(id uuid.UUID) predicate.DomainBindding
- func IDLTE(id uuid.UUID) predicate.DomainBindding
- func IDNEQ(id uuid.UUID) predicate.DomainBindding
- func IDNotIn(ids ...uuid.UUID) predicate.DomainBindding
- func Name(v string) predicate.DomainBindding
- func NameContains(v string) predicate.DomainBindding
- func NameContainsFold(v string) predicate.DomainBindding
- func NameEQ(v string) predicate.DomainBindding
- func NameEqualFold(v string) predicate.DomainBindding
- func NameGT(v string) predicate.DomainBindding
- func NameGTE(v string) predicate.DomainBindding
- func NameHasPrefix(v string) predicate.DomainBindding
- func NameHasSuffix(v string) predicate.DomainBindding
- func NameIn(vs ...string) predicate.DomainBindding
- func NameLT(v string) predicate.DomainBindding
- func NameLTE(v string) predicate.DomainBindding
- func NameNEQ(v string) predicate.DomainBindding
- func NameNotIn(vs ...string) predicate.DomainBindding
- func Not(p predicate.DomainBindding) predicate.DomainBindding
- func Or(predicates ...predicate.DomainBindding) predicate.DomainBindding
- func UserID(v uuid.UUID) predicate.DomainBindding
- func UserIDEQ(v uuid.UUID) predicate.DomainBindding
- func UserIDGT(v uuid.UUID) predicate.DomainBindding
- func UserIDGTE(v uuid.UUID) predicate.DomainBindding
- func UserIDIn(vs ...uuid.UUID) predicate.DomainBindding
- func UserIDLT(v uuid.UUID) predicate.DomainBindding
- func UserIDLTE(v uuid.UUID) predicate.DomainBindding
- func UserIDNEQ(v uuid.UUID) predicate.DomainBindding
- func UserIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDomain(opts ...sql.OrderTermOption) OrderOption
- func ByFkComputeInstanceID(opts ...sql.OrderTermOption) OrderOption
- func ByFkNetworkMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByGatewayPort(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the domainbindding type in the database. Label = "domain_bindding" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldFkComputeInstanceID holds the string denoting the fk_compute_instance_id field in the database. FieldFkComputeInstanceID = "fk_compute_instance_id" // FieldFkNetworkMappingID holds the string denoting the fk_network_mapping_id field in the database. FieldFkNetworkMappingID = "fk_network_mapping_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDomain holds the string denoting the domain field in the database. FieldDomain = "domain" // FieldGatewayPort holds the string denoting the gateway_port field in the database. FieldGatewayPort = "gateway_port" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // Table holds the table name of the domainbindding in the database. Table = "domain_binddings" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DomainValidator is a validator for the "domain" field. It is called by the builders before save. DomainValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldUserID, FieldFkComputeInstanceID, FieldFkNetworkMappingID, FieldName, FieldDomain, FieldGatewayPort, FieldCreateTime, }
Columns holds all SQL columns for domainbindding fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DomainBindding) predicate.DomainBindding
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.DomainBindding
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.DomainBindding
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.DomainBindding
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.DomainBindding
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.DomainBindding
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.DomainBindding
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.DomainBindding
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.DomainBindding
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.DomainBindding
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Domain ¶
func Domain(v string) predicate.DomainBindding
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
func DomainContains(v string) predicate.DomainBindding
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
func DomainContainsFold(v string) predicate.DomainBindding
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEQ ¶
func DomainEQ(v string) predicate.DomainBindding
DomainEQ applies the EQ predicate on the "domain" field.
func DomainEqualFold ¶
func DomainEqualFold(v string) predicate.DomainBindding
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainGT ¶
func DomainGT(v string) predicate.DomainBindding
DomainGT applies the GT predicate on the "domain" field.
func DomainGTE ¶
func DomainGTE(v string) predicate.DomainBindding
DomainGTE applies the GTE predicate on the "domain" field.
func DomainHasPrefix ¶
func DomainHasPrefix(v string) predicate.DomainBindding
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
func DomainHasSuffix(v string) predicate.DomainBindding
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainIn ¶
func DomainIn(vs ...string) predicate.DomainBindding
DomainIn applies the In predicate on the "domain" field.
func DomainLT ¶
func DomainLT(v string) predicate.DomainBindding
DomainLT applies the LT predicate on the "domain" field.
func DomainLTE ¶
func DomainLTE(v string) predicate.DomainBindding
DomainLTE applies the LTE predicate on the "domain" field.
func DomainNEQ ¶
func DomainNEQ(v string) predicate.DomainBindding
DomainNEQ applies the NEQ predicate on the "domain" field.
func DomainNotIn ¶
func DomainNotIn(vs ...string) predicate.DomainBindding
DomainNotIn applies the NotIn predicate on the "domain" field.
func FkComputeInstanceID ¶
func FkComputeInstanceID(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceID applies equality check predicate on the "fk_compute_instance_id" field. It's identical to FkComputeInstanceIDEQ.
func FkComputeInstanceIDEQ ¶
func FkComputeInstanceIDEQ(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDEQ applies the EQ predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDGT ¶
func FkComputeInstanceIDGT(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDGT applies the GT predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDGTE ¶
func FkComputeInstanceIDGTE(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDGTE applies the GTE predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDIn ¶
func FkComputeInstanceIDIn(vs ...uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDIn applies the In predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDLT ¶
func FkComputeInstanceIDLT(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDLT applies the LT predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDLTE ¶
func FkComputeInstanceIDLTE(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDLTE applies the LTE predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDNEQ ¶
func FkComputeInstanceIDNEQ(v uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDNEQ applies the NEQ predicate on the "fk_compute_instance_id" field.
func FkComputeInstanceIDNotIn ¶
func FkComputeInstanceIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
FkComputeInstanceIDNotIn applies the NotIn predicate on the "fk_compute_instance_id" field.
func FkNetworkMappingID ¶
func FkNetworkMappingID(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingID applies equality check predicate on the "fk_network_mapping_id" field. It's identical to FkNetworkMappingIDEQ.
func FkNetworkMappingIDEQ ¶
func FkNetworkMappingIDEQ(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDEQ applies the EQ predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDGT ¶
func FkNetworkMappingIDGT(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDGT applies the GT predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDGTE ¶
func FkNetworkMappingIDGTE(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDGTE applies the GTE predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDIn ¶
func FkNetworkMappingIDIn(vs ...uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDIn applies the In predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDLT ¶
func FkNetworkMappingIDLT(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDLT applies the LT predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDLTE ¶
func FkNetworkMappingIDLTE(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDLTE applies the LTE predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDNEQ ¶
func FkNetworkMappingIDNEQ(v uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDNEQ applies the NEQ predicate on the "fk_network_mapping_id" field.
func FkNetworkMappingIDNotIn ¶
func FkNetworkMappingIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
FkNetworkMappingIDNotIn applies the NotIn predicate on the "fk_network_mapping_id" field.
func GatewayPort ¶
func GatewayPort(v int) predicate.DomainBindding
GatewayPort applies equality check predicate on the "gateway_port" field. It's identical to GatewayPortEQ.
func GatewayPortEQ ¶
func GatewayPortEQ(v int) predicate.DomainBindding
GatewayPortEQ applies the EQ predicate on the "gateway_port" field.
func GatewayPortGT ¶
func GatewayPortGT(v int) predicate.DomainBindding
GatewayPortGT applies the GT predicate on the "gateway_port" field.
func GatewayPortGTE ¶
func GatewayPortGTE(v int) predicate.DomainBindding
GatewayPortGTE applies the GTE predicate on the "gateway_port" field.
func GatewayPortIn ¶
func GatewayPortIn(vs ...int) predicate.DomainBindding
GatewayPortIn applies the In predicate on the "gateway_port" field.
func GatewayPortLT ¶
func GatewayPortLT(v int) predicate.DomainBindding
GatewayPortLT applies the LT predicate on the "gateway_port" field.
func GatewayPortLTE ¶
func GatewayPortLTE(v int) predicate.DomainBindding
GatewayPortLTE applies the LTE predicate on the "gateway_port" field.
func GatewayPortNEQ ¶
func GatewayPortNEQ(v int) predicate.DomainBindding
GatewayPortNEQ applies the NEQ predicate on the "gateway_port" field.
func GatewayPortNotIn ¶
func GatewayPortNotIn(vs ...int) predicate.DomainBindding
GatewayPortNotIn applies the NotIn predicate on the "gateway_port" field.
func ID ¶
func ID(id uuid.UUID) predicate.DomainBindding
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.DomainBindding
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.DomainBindding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.DomainBindding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.DomainBindding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.DomainBindding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.DomainBindding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.DomainBindding
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.DomainBindding
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.DomainBindding
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.DomainBindding
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.DomainBindding
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.DomainBindding
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.DomainBindding
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.DomainBindding
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.DomainBindding
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.DomainBindding
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.DomainBindding
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.DomainBindding
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.DomainBindding
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.DomainBindding
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.DomainBindding
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.DomainBindding
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.DomainBindding) predicate.DomainBindding
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DomainBindding) predicate.DomainBindding
Or groups predicates with the OR operator between them.
func UserID ¶
func UserID(v uuid.UUID) predicate.DomainBindding
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.DomainBindding
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v uuid.UUID) predicate.DomainBindding
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v uuid.UUID) predicate.DomainBindding
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.DomainBindding
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v uuid.UUID) predicate.DomainBindding
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v uuid.UUID) predicate.DomainBindding
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.DomainBindding
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.DomainBindding
UserIDNotIn applies the NotIn predicate on the "user_id" 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 DomainBindding queries.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDomain ¶
func ByDomain(opts ...sql.OrderTermOption) OrderOption
ByDomain orders the results by the domain field.
func ByFkComputeInstanceID ¶
func ByFkComputeInstanceID(opts ...sql.OrderTermOption) OrderOption
ByFkComputeInstanceID orders the results by the fk_compute_instance_id field.
func ByFkNetworkMappingID ¶
func ByFkNetworkMappingID(opts ...sql.OrderTermOption) OrderOption
ByFkNetworkMappingID orders the results by the fk_network_mapping_id field.
func ByGatewayPort ¶
func ByGatewayPort(opts ...sql.OrderTermOption) OrderOption
ByGatewayPort orders the results by the gateway_port field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.