langruntime

package
v0.0.0-...-166cf9e Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the langruntime type in the database.
	Label = "lang_runtime"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldLanguage holds the string denoting the language field in the database.
	FieldLanguage = "language"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldEnvironment holds the string denoting the environment field in the database.
	FieldEnvironment = "environment"
	// FieldIsCustom holds the string denoting the is_custom field in the database.
	FieldIsCustom = "is_custom"
	// 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"
	// EdgeFunctions holds the string denoting the functions edge name in mutations.
	EdgeFunctions = "functions"
	// Table holds the table name of the langruntime in the database.
	Table = "lang_runtimes"
	// FunctionsTable is the table that holds the functions relation/edge.
	FunctionsTable = "functions"
	// FunctionsInverseTable is the table name for the Function entity.
	// It exists in this package in order to avoid circular dependency with the "function" package.
	FunctionsInverseTable = "functions"
	// FunctionsColumn is the table column denoting the functions relation/edge.
	FunctionsColumn = "runtime_id"
)

Variables

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// LanguageValidator is a validator for the "language" field. It is called by the builders before save.
	LanguageValidator func(string) error
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(string) error
	// ImageValidator is a validator for the "image" field. It is called by the builders before save.
	ImageValidator func(string) error
	// DefaultIsCustom holds the default value on creation for the "is_custom" field.
	DefaultIsCustom bool
	// 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 langruntime fields.

Functions

func And

func And(predicates ...predicate.LangRuntime) predicate.LangRuntime

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.LangRuntime

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.LangRuntime

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.LangRuntime

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.LangRuntime

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.LangRuntime

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.LangRuntime

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.LangRuntime

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

func CreatedAtNotIn

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

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

func EnvironmentIsNil

func EnvironmentIsNil() predicate.LangRuntime

EnvironmentIsNil applies the IsNil predicate on the "environment" field.

func EnvironmentNotNil

func EnvironmentNotNil() predicate.LangRuntime

EnvironmentNotNil applies the NotNil predicate on the "environment" field.

func HasFunctions

func HasFunctions() predicate.LangRuntime

HasFunctions applies the HasEdge predicate on the "functions" edge.

func HasFunctionsWith

func HasFunctionsWith(preds ...predicate.Function) predicate.LangRuntime

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.LangRuntime

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.LangRuntime

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.LangRuntime

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.LangRuntime

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.LangRuntime

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.LangRuntime

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Image

func Image(v string) predicate.LangRuntime

Image applies equality check predicate on the "image" field. It's identical to ImageEQ.

func ImageContains

func ImageContains(v string) predicate.LangRuntime

ImageContains applies the Contains predicate on the "image" field.

func ImageContainsFold

func ImageContainsFold(v string) predicate.LangRuntime

ImageContainsFold applies the ContainsFold predicate on the "image" field.

func ImageEQ

func ImageEQ(v string) predicate.LangRuntime

ImageEQ applies the EQ predicate on the "image" field.

func ImageEqualFold

func ImageEqualFold(v string) predicate.LangRuntime

ImageEqualFold applies the EqualFold predicate on the "image" field.

func ImageGT

func ImageGT(v string) predicate.LangRuntime

ImageGT applies the GT predicate on the "image" field.

func ImageGTE

func ImageGTE(v string) predicate.LangRuntime

ImageGTE applies the GTE predicate on the "image" field.

func ImageHasPrefix

func ImageHasPrefix(v string) predicate.LangRuntime

ImageHasPrefix applies the HasPrefix predicate on the "image" field.

func ImageHasSuffix

func ImageHasSuffix(v string) predicate.LangRuntime

ImageHasSuffix applies the HasSuffix predicate on the "image" field.

func ImageIn

func ImageIn(vs ...string) predicate.LangRuntime

ImageIn applies the In predicate on the "image" field.

func ImageLT

func ImageLT(v string) predicate.LangRuntime

ImageLT applies the LT predicate on the "image" field.

func ImageLTE

func ImageLTE(v string) predicate.LangRuntime

ImageLTE applies the LTE predicate on the "image" field.

func ImageNEQ

func ImageNEQ(v string) predicate.LangRuntime

ImageNEQ applies the NEQ predicate on the "image" field.

func ImageNotIn

func ImageNotIn(vs ...string) predicate.LangRuntime

ImageNotIn applies the NotIn predicate on the "image" field.

func IsCustom

func IsCustom(v bool) predicate.LangRuntime

IsCustom applies equality check predicate on the "is_custom" field. It's identical to IsCustomEQ.

func IsCustomEQ

func IsCustomEQ(v bool) predicate.LangRuntime

IsCustomEQ applies the EQ predicate on the "is_custom" field.

func IsCustomNEQ

func IsCustomNEQ(v bool) predicate.LangRuntime

IsCustomNEQ applies the NEQ predicate on the "is_custom" field.

func Language

func Language(v string) predicate.LangRuntime

Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.

func LanguageContains

func LanguageContains(v string) predicate.LangRuntime

LanguageContains applies the Contains predicate on the "language" field.

func LanguageContainsFold

func LanguageContainsFold(v string) predicate.LangRuntime

LanguageContainsFold applies the ContainsFold predicate on the "language" field.

func LanguageEQ

func LanguageEQ(v string) predicate.LangRuntime

LanguageEQ applies the EQ predicate on the "language" field.

func LanguageEqualFold

func LanguageEqualFold(v string) predicate.LangRuntime

LanguageEqualFold applies the EqualFold predicate on the "language" field.

func LanguageGT

func LanguageGT(v string) predicate.LangRuntime

LanguageGT applies the GT predicate on the "language" field.

func LanguageGTE

func LanguageGTE(v string) predicate.LangRuntime

LanguageGTE applies the GTE predicate on the "language" field.

func LanguageHasPrefix

func LanguageHasPrefix(v string) predicate.LangRuntime

LanguageHasPrefix applies the HasPrefix predicate on the "language" field.

func LanguageHasSuffix

func LanguageHasSuffix(v string) predicate.LangRuntime

LanguageHasSuffix applies the HasSuffix predicate on the "language" field.

func LanguageIn

func LanguageIn(vs ...string) predicate.LangRuntime

LanguageIn applies the In predicate on the "language" field.

func LanguageLT

func LanguageLT(v string) predicate.LangRuntime

LanguageLT applies the LT predicate on the "language" field.

func LanguageLTE

func LanguageLTE(v string) predicate.LangRuntime

LanguageLTE applies the LTE predicate on the "language" field.

func LanguageNEQ

func LanguageNEQ(v string) predicate.LangRuntime

LanguageNEQ applies the NEQ predicate on the "language" field.

func LanguageNotIn

func LanguageNotIn(vs ...string) predicate.LangRuntime

LanguageNotIn applies the NotIn predicate on the "language" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.LangRuntime

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

func NameContainsFold

func NameContainsFold(v string) predicate.LangRuntime

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

func NameEQ

func NameEQ(v string) predicate.LangRuntime

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

func NameEqualFold

func NameEqualFold(v string) predicate.LangRuntime

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

func NameGT

func NameGT(v string) predicate.LangRuntime

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

func NameGTE

func NameGTE(v string) predicate.LangRuntime

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.LangRuntime

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.LangRuntime

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.LangRuntime

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

func NameLTE

func NameLTE(v string) predicate.LangRuntime

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

func NameNEQ

func NameNEQ(v string) predicate.LangRuntime

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

func NameNotIn

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

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.LangRuntime) predicate.LangRuntime

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.LangRuntime

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.LangRuntime

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.LangRuntime

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.LangRuntime

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.LangRuntime

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.LangRuntime

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.LangRuntime

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

func UpdatedAtNotIn

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

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 Version

func Version(v string) predicate.LangRuntime

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.LangRuntime

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.LangRuntime

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.LangRuntime

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.LangRuntime

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.LangRuntime

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.LangRuntime

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.LangRuntime

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.LangRuntime

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.LangRuntime

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.LangRuntime

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.LangRuntime

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.LangRuntime

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.LangRuntime

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the LangRuntime queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFunctions

func ByFunctions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByFunctions orders the results by functions terms.

func ByFunctionsCount

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

ByFunctionsCount orders the results by functions count.

func ByID

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

ByID orders the results by the id field.

func ByImage

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

ByImage orders the results by the image field.

func ByIsCustom

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

ByIsCustom orders the results by the is_custom field.

func ByLanguage

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

ByLanguage orders the results by the language field.

func ByName

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

ByName orders the results by the name field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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