agentpluginversion

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 agentpluginversion type in the database.
	Label = "agent_plugin_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"
	// EdgePlugin holds the string denoting the plugin edge name in mutations.
	EdgePlugin = "plugin"
	// Table holds the table name of the agentpluginversion in the database.
	Table = "agent_plugin_versions"
	// PluginTable is the table that holds the plugin relation/edge.
	PluginTable = "agent_plugin_versions"
	// PluginInverseTable is the table name for the AgentPlugin entity.
	// It exists in this package in order to avoid circular dependency with the "agentplugin" package.
	PluginInverseTable = "agent_plugins"
	// PluginColumn is the table column denoting the plugin relation/edge.
	PluginColumn = "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 agentpluginversion 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

func CreatedAtEQ(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentPluginVersion

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

func CreatedAtNotIn

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

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

func HasPlugin

func HasPlugin() predicate.AgentPluginVersion

HasPlugin applies the HasEdge predicate on the "plugin" edge.

func HasPluginWith

func HasPluginWith(preds ...predicate.AgentPlugin) predicate.AgentPluginVersion

HasPluginWith applies the HasEdge predicate on the "plugin" 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

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

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

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

func ParsedMetaNotNil

func ParsedMetaNotNil() predicate.AgentPluginVersion

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

func ResourceID

func ResourceID(v uuid.UUID) predicate.AgentPluginVersion

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

func ResourceIDEQ

func ResourceIDEQ(v uuid.UUID) predicate.AgentPluginVersion

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

func ResourceIDIn

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

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

func ResourceIDNEQ

func ResourceIDNEQ(v uuid.UUID) predicate.AgentPluginVersion

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

func ResourceIDNotIn

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

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

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

func S3KeyContainsFold

func S3KeyContainsFold(v string) predicate.AgentPluginVersion

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

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

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

func S3KeyHasSuffix

func S3KeyHasSuffix(v string) predicate.AgentPluginVersion

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

func S3KeyIn

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

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

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

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.AgentPluginVersion

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

func VersionEQ

func VersionEQ(v string) predicate.AgentPluginVersion

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.AgentPluginVersion

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

func VersionGT

func VersionGT(v string) predicate.AgentPluginVersion

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

func VersionGTE

func VersionGTE(v string) predicate.AgentPluginVersion

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.AgentPluginVersion

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.AgentPluginVersion

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

func VersionIn

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

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

func VersionLT

func VersionLT(v string) predicate.AgentPluginVersion

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

func VersionLTE

func VersionLTE(v string) predicate.AgentPluginVersion

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

func VersionNEQ

func VersionNEQ(v string) predicate.AgentPluginVersion

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

func VersionNotIn

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

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentPluginVersion 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 ByPluginField

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

ByPluginField orders the results by plugin 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 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