agentskillversion

package
v0.0.0-...-7f647c9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentskillversion type in the database.
	Label = "agent_skill_version"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldResourceID holds the string denoting the resource_id field in the database.
	FieldResourceID = "resource_id"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldS3Key holds the string denoting the s3_key field in the database.
	FieldS3Key = "s3_key"
	// FieldParsedMeta holds the string denoting the parsed_meta field in the database.
	FieldParsedMeta = "parsed_meta"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeSkill holds the string denoting the skill edge name in mutations.
	EdgeSkill = "skill"
	// Table holds the table name of the agentskillversion in the database.
	Table = "agent_skill_versions"
	// SkillTable is the table that holds the skill relation/edge.
	SkillTable = "agent_skill_versions"
	// SkillInverseTable is the table name for the AgentSkill entity.
	// It exists in this package in order to avoid circular dependency with the "agentskill" package.
	SkillInverseTable = "agent_skills"
	// SkillColumn is the table column denoting the skill relation/edge.
	SkillColumn = "resource_id"
)

Variables

View Source
var (
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(string) error
	// S3KeyValidator is a validator for the "s3_key" field. It is called by the builders before save.
	S3KeyValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for agentskillversion fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentSkillVersion

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

func CreatedAtNotIn

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

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

func HasSkill

func HasSkill() predicate.AgentSkillVersion

HasSkill applies the HasEdge predicate on the "skill" edge.

func HasSkillWith

func HasSkillWith(preds ...predicate.AgentSkill) predicate.AgentSkillVersion

HasSkillWith applies the HasEdge predicate on the "skill" 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.AgentSkillVersion

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

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 ParsedMetaIsNil

func ParsedMetaIsNil() predicate.AgentSkillVersion

ParsedMetaIsNil applies the IsNil predicate on the "parsed_meta" field.

func ParsedMetaNotNil

func ParsedMetaNotNil() predicate.AgentSkillVersion

ParsedMetaNotNil applies the NotNil predicate on the "parsed_meta" field.

func ResourceID

func ResourceID(v uuid.UUID) predicate.AgentSkillVersion

ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.

func ResourceIDEQ

func ResourceIDEQ(v uuid.UUID) predicate.AgentSkillVersion

ResourceIDEQ applies the EQ predicate on the "resource_id" field.

func ResourceIDIn

func ResourceIDIn(vs ...uuid.UUID) predicate.AgentSkillVersion

ResourceIDIn applies the In predicate on the "resource_id" field.

func ResourceIDNEQ

func ResourceIDNEQ(v uuid.UUID) predicate.AgentSkillVersion

ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.

func ResourceIDNotIn

func ResourceIDNotIn(vs ...uuid.UUID) predicate.AgentSkillVersion

ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.

func S3Key

S3Key applies equality check predicate on the "s3_key" field. It's identical to S3KeyEQ.

func S3KeyContains

func S3KeyContains(v string) predicate.AgentSkillVersion

S3KeyContains applies the Contains predicate on the "s3_key" field.

func S3KeyContainsFold

func S3KeyContainsFold(v string) predicate.AgentSkillVersion

S3KeyContainsFold applies the ContainsFold predicate on the "s3_key" field.

func S3KeyEQ

S3KeyEQ applies the EQ predicate on the "s3_key" field.

func S3KeyEqualFold

func S3KeyEqualFold(v string) predicate.AgentSkillVersion

S3KeyEqualFold applies the EqualFold predicate on the "s3_key" field.

func S3KeyGT

S3KeyGT applies the GT predicate on the "s3_key" field.

func S3KeyGTE

S3KeyGTE applies the GTE predicate on the "s3_key" field.

func S3KeyHasPrefix

func S3KeyHasPrefix(v string) predicate.AgentSkillVersion

S3KeyHasPrefix applies the HasPrefix predicate on the "s3_key" field.

func S3KeyHasSuffix

func S3KeyHasSuffix(v string) predicate.AgentSkillVersion

S3KeyHasSuffix applies the HasSuffix predicate on the "s3_key" field.

func S3KeyIn

func S3KeyIn(vs ...string) predicate.AgentSkillVersion

S3KeyIn applies the In predicate on the "s3_key" field.

func S3KeyLT

S3KeyLT applies the LT predicate on the "s3_key" field.

func S3KeyLTE

S3KeyLTE applies the LTE predicate on the "s3_key" field.

func S3KeyNEQ

S3KeyNEQ applies the NEQ predicate on the "s3_key" field.

func S3KeyNotIn

func S3KeyNotIn(vs ...string) predicate.AgentSkillVersion

S3KeyNotIn applies the NotIn predicate on the "s3_key" 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 VersionContains

func VersionContains(v string) predicate.AgentSkillVersion

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.AgentSkillVersion

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

func VersionEQ

func VersionEQ(v string) predicate.AgentSkillVersion

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.AgentSkillVersion

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

func VersionGT

func VersionGT(v string) predicate.AgentSkillVersion

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

func VersionGTE

func VersionGTE(v string) predicate.AgentSkillVersion

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.AgentSkillVersion

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.AgentSkillVersion

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

func VersionIn

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

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

func VersionLT

func VersionLT(v string) predicate.AgentSkillVersion

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

func VersionLTE

func VersionLTE(v string) predicate.AgentSkillVersion

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

func VersionNEQ

func VersionNEQ(v string) predicate.AgentSkillVersion

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

func VersionNotIn

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

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentSkillVersion queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByResourceID

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

ByResourceID orders the results by the resource_id field.

func ByS3Key

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

ByS3Key orders the results by the s3_key field.

func BySkillField

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

BySkillField orders the results by skill 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