functiondefinitionversion

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the functiondefinitionversion type in the database.
	Label = "function_definition_version"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFunctionName holds the string denoting the function_name field in the database.
	FieldFunctionName = "function_name"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldEntrypoint holds the string denoting the entrypoint field in the database.
	FieldEntrypoint = "entrypoint"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the functiondefinitionversion in the database.
	Table = "function_definition_versions"
)

Variables

View Source
var (
	// FunctionNameValidator is a validator for the "function_name" field. It is called by the builders before save.
	FunctionNameValidator func(string) error
	// MetadataValidator is a validator for the "metadata" field. It is called by the builders before save.
	MetadataValidator func(string) error
	// EntrypointValidator is a validator for the "entrypoint" field. It is called by the builders before save.
	EntrypointValidator func(string) error
	// SourceValidator is a validator for the "source" field. It is called by the builders before save.
	SourceValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Columns holds all SQL columns for functiondefinitionversion fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func Entrypoint

Entrypoint applies equality check predicate on the "entrypoint" field. It's identical to EntrypointEQ.

func EntrypointContains

func EntrypointContains(v string) predicate.FunctionDefinitionVersion

EntrypointContains applies the Contains predicate on the "entrypoint" field.

func EntrypointContainsFold

func EntrypointContainsFold(v string) predicate.FunctionDefinitionVersion

EntrypointContainsFold applies the ContainsFold predicate on the "entrypoint" field.

func EntrypointEQ

EntrypointEQ applies the EQ predicate on the "entrypoint" field.

func EntrypointEqualFold

func EntrypointEqualFold(v string) predicate.FunctionDefinitionVersion

EntrypointEqualFold applies the EqualFold predicate on the "entrypoint" field.

func EntrypointGT

EntrypointGT applies the GT predicate on the "entrypoint" field.

func EntrypointGTE

EntrypointGTE applies the GTE predicate on the "entrypoint" field.

func EntrypointHasPrefix

func EntrypointHasPrefix(v string) predicate.FunctionDefinitionVersion

EntrypointHasPrefix applies the HasPrefix predicate on the "entrypoint" field.

func EntrypointHasSuffix

func EntrypointHasSuffix(v string) predicate.FunctionDefinitionVersion

EntrypointHasSuffix applies the HasSuffix predicate on the "entrypoint" field.

func EntrypointIn

func EntrypointIn(vs ...string) predicate.FunctionDefinitionVersion

EntrypointIn applies the In predicate on the "entrypoint" field.

func EntrypointLT

EntrypointLT applies the LT predicate on the "entrypoint" field.

func EntrypointLTE

EntrypointLTE applies the LTE predicate on the "entrypoint" field.

func EntrypointNEQ

EntrypointNEQ applies the NEQ predicate on the "entrypoint" field.

func EntrypointNotIn

func EntrypointNotIn(vs ...string) predicate.FunctionDefinitionVersion

EntrypointNotIn applies the NotIn predicate on the "entrypoint" field.

func FunctionName

FunctionName applies equality check predicate on the "function_name" field. It's identical to FunctionNameEQ.

func FunctionNameContains

func FunctionNameContains(v string) predicate.FunctionDefinitionVersion

FunctionNameContains applies the Contains predicate on the "function_name" field.

func FunctionNameContainsFold

func FunctionNameContainsFold(v string) predicate.FunctionDefinitionVersion

FunctionNameContainsFold applies the ContainsFold predicate on the "function_name" field.

func FunctionNameEQ

func FunctionNameEQ(v string) predicate.FunctionDefinitionVersion

FunctionNameEQ applies the EQ predicate on the "function_name" field.

func FunctionNameEqualFold

func FunctionNameEqualFold(v string) predicate.FunctionDefinitionVersion

FunctionNameEqualFold applies the EqualFold predicate on the "function_name" field.

func FunctionNameGT

func FunctionNameGT(v string) predicate.FunctionDefinitionVersion

FunctionNameGT applies the GT predicate on the "function_name" field.

func FunctionNameGTE

func FunctionNameGTE(v string) predicate.FunctionDefinitionVersion

FunctionNameGTE applies the GTE predicate on the "function_name" field.

func FunctionNameHasPrefix

func FunctionNameHasPrefix(v string) predicate.FunctionDefinitionVersion

FunctionNameHasPrefix applies the HasPrefix predicate on the "function_name" field.

func FunctionNameHasSuffix

func FunctionNameHasSuffix(v string) predicate.FunctionDefinitionVersion

FunctionNameHasSuffix applies the HasSuffix predicate on the "function_name" field.

func FunctionNameIn

func FunctionNameIn(vs ...string) predicate.FunctionDefinitionVersion

FunctionNameIn applies the In predicate on the "function_name" field.

func FunctionNameLT

func FunctionNameLT(v string) predicate.FunctionDefinitionVersion

FunctionNameLT applies the LT predicate on the "function_name" field.

func FunctionNameLTE

func FunctionNameLTE(v string) predicate.FunctionDefinitionVersion

FunctionNameLTE applies the LTE predicate on the "function_name" field.

func FunctionNameNEQ

func FunctionNameNEQ(v string) predicate.FunctionDefinitionVersion

FunctionNameNEQ applies the NEQ predicate on the "function_name" field.

func FunctionNameNotIn

func FunctionNameNotIn(vs ...string) predicate.FunctionDefinitionVersion

FunctionNameNotIn applies the NotIn predicate on the "function_name" 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

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

IDNotIn applies the NotIn predicate on the ID field.

func Metadata

Metadata applies equality check predicate on the "metadata" field. It's identical to MetadataEQ.

func MetadataContains

func MetadataContains(v string) predicate.FunctionDefinitionVersion

MetadataContains applies the Contains predicate on the "metadata" field.

func MetadataContainsFold

func MetadataContainsFold(v string) predicate.FunctionDefinitionVersion

MetadataContainsFold applies the ContainsFold predicate on the "metadata" field.

func MetadataEQ

MetadataEQ applies the EQ predicate on the "metadata" field.

func MetadataEqualFold

func MetadataEqualFold(v string) predicate.FunctionDefinitionVersion

MetadataEqualFold applies the EqualFold predicate on the "metadata" field.

func MetadataGT

MetadataGT applies the GT predicate on the "metadata" field.

func MetadataGTE

MetadataGTE applies the GTE predicate on the "metadata" field.

func MetadataHasPrefix

func MetadataHasPrefix(v string) predicate.FunctionDefinitionVersion

MetadataHasPrefix applies the HasPrefix predicate on the "metadata" field.

func MetadataHasSuffix

func MetadataHasSuffix(v string) predicate.FunctionDefinitionVersion

MetadataHasSuffix applies the HasSuffix predicate on the "metadata" field.

func MetadataIn

func MetadataIn(vs ...string) predicate.FunctionDefinitionVersion

MetadataIn applies the In predicate on the "metadata" field.

func MetadataLT

MetadataLT applies the LT predicate on the "metadata" field.

func MetadataLTE

MetadataLTE applies the LTE predicate on the "metadata" field.

func MetadataNEQ

MetadataNEQ applies the NEQ predicate on the "metadata" field.

func MetadataNotIn

func MetadataNotIn(vs ...string) predicate.FunctionDefinitionVersion

MetadataNotIn applies the NotIn predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Source

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.FunctionDefinitionVersion

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.FunctionDefinitionVersion

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.FunctionDefinitionVersion

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.FunctionDefinitionVersion

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.FunctionDefinitionVersion

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceLT

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.FunctionDefinitionVersion

SourceNotIn applies the NotIn predicate on the "source" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version

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

func VersionEQ

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

func VersionGT

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

func VersionGTE

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

func VersionIn

func VersionIn(vs ...int) predicate.FunctionDefinitionVersion

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

func VersionLT

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

func VersionLTE

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

func VersionNEQ

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

func VersionNotIn

func VersionNotIn(vs ...int) predicate.FunctionDefinitionVersion

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FunctionDefinitionVersion queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEntrypoint

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

ByEntrypoint orders the results by the entrypoint field.

func ByFunctionName

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

ByFunctionName orders the results by the function_name field.

func ByID

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

ByID orders the results by the id field.

func ByMetadata

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

ByMetadata orders the results by the metadata field.

func BySource

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

BySource orders the results by the source 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