variablereference

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the variablereference type in the database.
	Label = "variable_reference"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTargetServiceID holds the string denoting the target_service_id field in the database.
	FieldTargetServiceID = "target_service_id"
	// FieldTargetName holds the string denoting the target_name field in the database.
	FieldTargetName = "target_name"
	// FieldSources holds the string denoting the sources field in the database.
	FieldSources = "sources"
	// FieldValueTemplate holds the string denoting the value_template field in the database.
	FieldValueTemplate = "value_template"
	// FieldError holds the string denoting the error field in the database.
	FieldError = "error"
	// EdgeService holds the string denoting the service edge name in mutations.
	EdgeService = "service"
	// Table holds the table name of the variablereference in the database.
	Table = "variable_references"
	// ServiceTable is the table that holds the service relation/edge.
	ServiceTable = "variable_references"
	// ServiceInverseTable is the table name for the Service entity.
	// It exists in this package in order to avoid circular dependency with the "service" package.
	ServiceInverseTable = "services"
	// ServiceColumn is the table column denoting the service relation/edge.
	ServiceColumn = "target_service_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for variablereference fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.VariableReference

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.VariableReference

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.VariableReference

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.VariableReference

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.VariableReference

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.VariableReference

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.VariableReference

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.VariableReference

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.VariableReference

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Error

Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.

func ErrorContains

func ErrorContains(v string) predicate.VariableReference

ErrorContains applies the Contains predicate on the "error" field.

func ErrorContainsFold

func ErrorContainsFold(v string) predicate.VariableReference

ErrorContainsFold applies the ContainsFold predicate on the "error" field.

func ErrorEQ

ErrorEQ applies the EQ predicate on the "error" field.

func ErrorEqualFold

func ErrorEqualFold(v string) predicate.VariableReference

ErrorEqualFold applies the EqualFold predicate on the "error" field.

func ErrorGT

ErrorGT applies the GT predicate on the "error" field.

func ErrorGTE

ErrorGTE applies the GTE predicate on the "error" field.

func ErrorHasPrefix

func ErrorHasPrefix(v string) predicate.VariableReference

ErrorHasPrefix applies the HasPrefix predicate on the "error" field.

func ErrorHasSuffix

func ErrorHasSuffix(v string) predicate.VariableReference

ErrorHasSuffix applies the HasSuffix predicate on the "error" field.

func ErrorIn

func ErrorIn(vs ...string) predicate.VariableReference

ErrorIn applies the In predicate on the "error" field.

func ErrorIsNil

func ErrorIsNil() predicate.VariableReference

ErrorIsNil applies the IsNil predicate on the "error" field.

func ErrorLT

ErrorLT applies the LT predicate on the "error" field.

func ErrorLTE

ErrorLTE applies the LTE predicate on the "error" field.

func ErrorNEQ

ErrorNEQ applies the NEQ predicate on the "error" field.

func ErrorNotIn

func ErrorNotIn(vs ...string) predicate.VariableReference

ErrorNotIn applies the NotIn predicate on the "error" field.

func ErrorNotNil

func ErrorNotNil() predicate.VariableReference

ErrorNotNil applies the NotNil predicate on the "error" field.

func HasService

func HasService() predicate.VariableReference

HasService applies the HasEdge predicate on the "service" edge.

func HasServiceWith

func HasServiceWith(preds ...predicate.Service) predicate.VariableReference

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func TargetName

func TargetName(v string) predicate.VariableReference

TargetName applies equality check predicate on the "target_name" field. It's identical to TargetNameEQ.

func TargetNameContains

func TargetNameContains(v string) predicate.VariableReference

TargetNameContains applies the Contains predicate on the "target_name" field.

func TargetNameContainsFold

func TargetNameContainsFold(v string) predicate.VariableReference

TargetNameContainsFold applies the ContainsFold predicate on the "target_name" field.

func TargetNameEQ

func TargetNameEQ(v string) predicate.VariableReference

TargetNameEQ applies the EQ predicate on the "target_name" field.

func TargetNameEqualFold

func TargetNameEqualFold(v string) predicate.VariableReference

TargetNameEqualFold applies the EqualFold predicate on the "target_name" field.

func TargetNameGT

func TargetNameGT(v string) predicate.VariableReference

TargetNameGT applies the GT predicate on the "target_name" field.

func TargetNameGTE

func TargetNameGTE(v string) predicate.VariableReference

TargetNameGTE applies the GTE predicate on the "target_name" field.

func TargetNameHasPrefix

func TargetNameHasPrefix(v string) predicate.VariableReference

TargetNameHasPrefix applies the HasPrefix predicate on the "target_name" field.

func TargetNameHasSuffix

func TargetNameHasSuffix(v string) predicate.VariableReference

TargetNameHasSuffix applies the HasSuffix predicate on the "target_name" field.

func TargetNameIn

func TargetNameIn(vs ...string) predicate.VariableReference

TargetNameIn applies the In predicate on the "target_name" field.

func TargetNameLT

func TargetNameLT(v string) predicate.VariableReference

TargetNameLT applies the LT predicate on the "target_name" field.

func TargetNameLTE

func TargetNameLTE(v string) predicate.VariableReference

TargetNameLTE applies the LTE predicate on the "target_name" field.

func TargetNameNEQ

func TargetNameNEQ(v string) predicate.VariableReference

TargetNameNEQ applies the NEQ predicate on the "target_name" field.

func TargetNameNotIn

func TargetNameNotIn(vs ...string) predicate.VariableReference

TargetNameNotIn applies the NotIn predicate on the "target_name" field.

func TargetServiceID

func TargetServiceID(v uuid.UUID) predicate.VariableReference

TargetServiceID applies equality check predicate on the "target_service_id" field. It's identical to TargetServiceIDEQ.

func TargetServiceIDEQ

func TargetServiceIDEQ(v uuid.UUID) predicate.VariableReference

TargetServiceIDEQ applies the EQ predicate on the "target_service_id" field.

func TargetServiceIDIn

func TargetServiceIDIn(vs ...uuid.UUID) predicate.VariableReference

TargetServiceIDIn applies the In predicate on the "target_service_id" field.

func TargetServiceIDNEQ

func TargetServiceIDNEQ(v uuid.UUID) predicate.VariableReference

TargetServiceIDNEQ applies the NEQ predicate on the "target_service_id" field.

func TargetServiceIDNotIn

func TargetServiceIDNotIn(vs ...uuid.UUID) predicate.VariableReference

TargetServiceIDNotIn applies the NotIn predicate on the "target_service_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.VariableReference

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.VariableReference

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.VariableReference

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.VariableReference

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.VariableReference

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.VariableReference

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.VariableReference

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.VariableReference

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.VariableReference

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func ValueTemplate

func ValueTemplate(v string) predicate.VariableReference

ValueTemplate applies equality check predicate on the "value_template" field. It's identical to ValueTemplateEQ.

func ValueTemplateContains

func ValueTemplateContains(v string) predicate.VariableReference

ValueTemplateContains applies the Contains predicate on the "value_template" field.

func ValueTemplateContainsFold

func ValueTemplateContainsFold(v string) predicate.VariableReference

ValueTemplateContainsFold applies the ContainsFold predicate on the "value_template" field.

func ValueTemplateEQ

func ValueTemplateEQ(v string) predicate.VariableReference

ValueTemplateEQ applies the EQ predicate on the "value_template" field.

func ValueTemplateEqualFold

func ValueTemplateEqualFold(v string) predicate.VariableReference

ValueTemplateEqualFold applies the EqualFold predicate on the "value_template" field.

func ValueTemplateGT

func ValueTemplateGT(v string) predicate.VariableReference

ValueTemplateGT applies the GT predicate on the "value_template" field.

func ValueTemplateGTE

func ValueTemplateGTE(v string) predicate.VariableReference

ValueTemplateGTE applies the GTE predicate on the "value_template" field.

func ValueTemplateHasPrefix

func ValueTemplateHasPrefix(v string) predicate.VariableReference

ValueTemplateHasPrefix applies the HasPrefix predicate on the "value_template" field.

func ValueTemplateHasSuffix

func ValueTemplateHasSuffix(v string) predicate.VariableReference

ValueTemplateHasSuffix applies the HasSuffix predicate on the "value_template" field.

func ValueTemplateIn

func ValueTemplateIn(vs ...string) predicate.VariableReference

ValueTemplateIn applies the In predicate on the "value_template" field.

func ValueTemplateLT

func ValueTemplateLT(v string) predicate.VariableReference

ValueTemplateLT applies the LT predicate on the "value_template" field.

func ValueTemplateLTE

func ValueTemplateLTE(v string) predicate.VariableReference

ValueTemplateLTE applies the LTE predicate on the "value_template" field.

func ValueTemplateNEQ

func ValueTemplateNEQ(v string) predicate.VariableReference

ValueTemplateNEQ applies the NEQ predicate on the "value_template" field.

func ValueTemplateNotIn

func ValueTemplateNotIn(vs ...string) predicate.VariableReference

ValueTemplateNotIn applies the NotIn predicate on the "value_template" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the VariableReference queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByError

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

ByError orders the results by the error field.

func ByID

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

ByID orders the results by the id field.

func ByServiceField

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

ByServiceField orders the results by service field.

func ByTargetName

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

ByTargetName orders the results by the target_name field.

func ByTargetServiceID

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

ByTargetServiceID orders the results by the target_service_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByValueTemplate

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

ByValueTemplate orders the results by the value_template field.

Jump to

Keyboard shortcuts

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