domainbinding

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 domainbinding type in the database.
	Label = "domain_binding"
	// 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 domainbinding in the database.
	Table = "domain_bindings"
)

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

Functions

func And

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.DomainBinding

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.DomainBinding

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.DomainBinding

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.DomainBinding

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.DomainBinding

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.DomainBinding

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.DomainBinding

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.DomainBinding

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.DomainBinding

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Domain

func Domain(v string) predicate.DomainBinding

Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.

func DomainContains

func DomainContains(v string) predicate.DomainBinding

DomainContains applies the Contains predicate on the "domain" field.

func DomainContainsFold

func DomainContainsFold(v string) predicate.DomainBinding

DomainContainsFold applies the ContainsFold predicate on the "domain" field.

func DomainEQ

func DomainEQ(v string) predicate.DomainBinding

DomainEQ applies the EQ predicate on the "domain" field.

func DomainEqualFold

func DomainEqualFold(v string) predicate.DomainBinding

DomainEqualFold applies the EqualFold predicate on the "domain" field.

func DomainGT

func DomainGT(v string) predicate.DomainBinding

DomainGT applies the GT predicate on the "domain" field.

func DomainGTE

func DomainGTE(v string) predicate.DomainBinding

DomainGTE applies the GTE predicate on the "domain" field.

func DomainHasPrefix

func DomainHasPrefix(v string) predicate.DomainBinding

DomainHasPrefix applies the HasPrefix predicate on the "domain" field.

func DomainHasSuffix

func DomainHasSuffix(v string) predicate.DomainBinding

DomainHasSuffix applies the HasSuffix predicate on the "domain" field.

func DomainIn

func DomainIn(vs ...string) predicate.DomainBinding

DomainIn applies the In predicate on the "domain" field.

func DomainLT

func DomainLT(v string) predicate.DomainBinding

DomainLT applies the LT predicate on the "domain" field.

func DomainLTE

func DomainLTE(v string) predicate.DomainBinding

DomainLTE applies the LTE predicate on the "domain" field.

func DomainNEQ

func DomainNEQ(v string) predicate.DomainBinding

DomainNEQ applies the NEQ predicate on the "domain" field.

func DomainNotIn

func DomainNotIn(vs ...string) predicate.DomainBinding

DomainNotIn applies the NotIn predicate on the "domain" field.

func FkComputeInstanceID

func FkComputeInstanceID(v uuid.UUID) predicate.DomainBinding

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

FkComputeInstanceIDEQ applies the EQ predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDGT

func FkComputeInstanceIDGT(v uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDGT applies the GT predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDGTE

func FkComputeInstanceIDGTE(v uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDGTE applies the GTE predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDIn

func FkComputeInstanceIDIn(vs ...uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDIn applies the In predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDLT

func FkComputeInstanceIDLT(v uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDLT applies the LT predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDLTE

func FkComputeInstanceIDLTE(v uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDLTE applies the LTE predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDNEQ

func FkComputeInstanceIDNEQ(v uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDNEQ applies the NEQ predicate on the "fk_compute_instance_id" field.

func FkComputeInstanceIDNotIn

func FkComputeInstanceIDNotIn(vs ...uuid.UUID) predicate.DomainBinding

FkComputeInstanceIDNotIn applies the NotIn predicate on the "fk_compute_instance_id" field.

func FkNetworkMappingID

func FkNetworkMappingID(v uuid.UUID) predicate.DomainBinding

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

FkNetworkMappingIDEQ applies the EQ predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDGT

func FkNetworkMappingIDGT(v uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDGT applies the GT predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDGTE

func FkNetworkMappingIDGTE(v uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDGTE applies the GTE predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDIn

func FkNetworkMappingIDIn(vs ...uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDIn applies the In predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDLT

func FkNetworkMappingIDLT(v uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDLT applies the LT predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDLTE

func FkNetworkMappingIDLTE(v uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDLTE applies the LTE predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDNEQ

func FkNetworkMappingIDNEQ(v uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDNEQ applies the NEQ predicate on the "fk_network_mapping_id" field.

func FkNetworkMappingIDNotIn

func FkNetworkMappingIDNotIn(vs ...uuid.UUID) predicate.DomainBinding

FkNetworkMappingIDNotIn applies the NotIn predicate on the "fk_network_mapping_id" field.

func GatewayPort

func GatewayPort(v int32) predicate.DomainBinding

GatewayPort applies equality check predicate on the "gateway_port" field. It's identical to GatewayPortEQ.

func GatewayPortEQ

func GatewayPortEQ(v int32) predicate.DomainBinding

GatewayPortEQ applies the EQ predicate on the "gateway_port" field.

func GatewayPortGT

func GatewayPortGT(v int32) predicate.DomainBinding

GatewayPortGT applies the GT predicate on the "gateway_port" field.

func GatewayPortGTE

func GatewayPortGTE(v int32) predicate.DomainBinding

GatewayPortGTE applies the GTE predicate on the "gateway_port" field.

func GatewayPortIn

func GatewayPortIn(vs ...int32) predicate.DomainBinding

GatewayPortIn applies the In predicate on the "gateway_port" field.

func GatewayPortLT

func GatewayPortLT(v int32) predicate.DomainBinding

GatewayPortLT applies the LT predicate on the "gateway_port" field.

func GatewayPortLTE

func GatewayPortLTE(v int32) predicate.DomainBinding

GatewayPortLTE applies the LTE predicate on the "gateway_port" field.

func GatewayPortNEQ

func GatewayPortNEQ(v int32) predicate.DomainBinding

GatewayPortNEQ applies the NEQ predicate on the "gateway_port" field.

func GatewayPortNotIn

func GatewayPortNotIn(vs ...int32) predicate.DomainBinding

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

func IDGTE(id uuid.UUID) predicate.DomainBinding

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.DomainBinding

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.DomainBinding

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.DomainBinding

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.DomainBinding

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

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

func NameContainsFold

func NameContainsFold(v string) predicate.DomainBinding

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

func NameEQ

func NameEQ(v string) predicate.DomainBinding

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

func NameEqualFold

func NameEqualFold(v string) predicate.DomainBinding

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

func NameGT

func NameGT(v string) predicate.DomainBinding

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

func NameGTE

func NameGTE(v string) predicate.DomainBinding

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.DomainBinding

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.DomainBinding

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.DomainBinding

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

func NameLTE

func NameLTE(v string) predicate.DomainBinding

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

func NameNEQ

func NameNEQ(v string) predicate.DomainBinding

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

func NameNotIn

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

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

func UserID(v uuid.UUID) predicate.DomainBinding

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.DomainBinding

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v uuid.UUID) predicate.DomainBinding

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v uuid.UUID) predicate.DomainBinding

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.DomainBinding

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v uuid.UUID) predicate.DomainBinding

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v uuid.UUID) predicate.DomainBinding

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.DomainBinding

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.DomainBinding

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