domainbindding

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

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

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

Columns holds all SQL columns for domainbindding fields.

Functions

func And

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

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

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 ...uuid.UUID) predicate.DomainBindding

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 ...uuid.UUID) predicate.DomainBindding

IDNotIn applies the NotIn predicate on the 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.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

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

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

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UserID

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

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

Jump to

Keyboard shortcuts

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