agenttraceevent

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agenttraceevent type in the database.
	Label = "agent_trace_event"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldTicketID holds the string denoting the ticket_id field in the database.
	FieldTicketID = "ticket_id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldAgentRunID holds the string denoting the agent_run_id field in the database.
	FieldAgentRunID = "agent_run_id"
	// FieldSequence holds the string denoting the sequence field in the database.
	FieldSequence = "sequence"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldStream holds the string denoting the stream field in the database.
	FieldStream = "stream"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldPayload holds the string denoting the payload field in the database.
	FieldPayload = "payload"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeTicket holds the string denoting the ticket edge name in mutations.
	EdgeTicket = "ticket"
	// EdgeAgent holds the string denoting the agent edge name in mutations.
	EdgeAgent = "agent"
	// EdgeAgentRun holds the string denoting the agent_run edge name in mutations.
	EdgeAgentRun = "agent_run"
	// EdgeStepEvents holds the string denoting the step_events edge name in mutations.
	EdgeStepEvents = "step_events"
	// Table holds the table name of the agenttraceevent in the database.
	Table = "agent_trace_events"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "agent_trace_events"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
	// TicketTable is the table that holds the ticket relation/edge.
	TicketTable = "agent_trace_events"
	// TicketInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketInverseTable = "tickets"
	// TicketColumn is the table column denoting the ticket relation/edge.
	TicketColumn = "ticket_id"
	// AgentTable is the table that holds the agent relation/edge.
	AgentTable = "agent_trace_events"
	// AgentInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentInverseTable = "agents"
	// AgentColumn is the table column denoting the agent relation/edge.
	AgentColumn = "agent_id"
	// AgentRunTable is the table that holds the agent_run relation/edge.
	AgentRunTable = "agent_trace_events"
	// AgentRunInverseTable is the table name for the AgentRun entity.
	// It exists in this package in order to avoid circular dependency with the "agentrun" package.
	AgentRunInverseTable = "agent_runs"
	// AgentRunColumn is the table column denoting the agent_run relation/edge.
	AgentRunColumn = "agent_run_id"
	// StepEventsTable is the table that holds the step_events relation/edge.
	StepEventsTable = "agent_step_events"
	// StepEventsInverseTable is the table name for the AgentStepEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentstepevent" package.
	StepEventsInverseTable = "agent_step_events"
	// StepEventsColumn is the table column denoting the step_events relation/edge.
	StepEventsColumn = "source_trace_event_id"
)

Variables

View Source
var (
	// ProviderValidator is a validator for the "provider" field. It is called by the builders before save.
	ProviderValidator func(string) error
	// KindValidator is a validator for the "kind" field. It is called by the builders before save.
	KindValidator func(string) error
	// StreamValidator is a validator for the "stream" field. It is called by the builders before save.
	StreamValidator func(string) error
	// DefaultPayload holds the default value on creation for the "payload" field.
	DefaultPayload func() map[string]interface{}
	// 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 agenttraceevent fields.

Functions

func AgentID

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDEQ

func AgentIDEQ(v uuid.UUID) predicate.AgentTraceEvent

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...uuid.UUID) predicate.AgentTraceEvent

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v uuid.UUID) predicate.AgentTraceEvent

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...uuid.UUID) predicate.AgentTraceEvent

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func AgentRunID

func AgentRunID(v uuid.UUID) predicate.AgentTraceEvent

AgentRunID applies equality check predicate on the "agent_run_id" field. It's identical to AgentRunIDEQ.

func AgentRunIDEQ

func AgentRunIDEQ(v uuid.UUID) predicate.AgentTraceEvent

AgentRunIDEQ applies the EQ predicate on the "agent_run_id" field.

func AgentRunIDIn

func AgentRunIDIn(vs ...uuid.UUID) predicate.AgentTraceEvent

AgentRunIDIn applies the In predicate on the "agent_run_id" field.

func AgentRunIDNEQ

func AgentRunIDNEQ(v uuid.UUID) predicate.AgentTraceEvent

AgentRunIDNEQ applies the NEQ predicate on the "agent_run_id" field.

func AgentRunIDNotIn

func AgentRunIDNotIn(vs ...uuid.UUID) predicate.AgentTraceEvent

AgentRunIDNotIn applies the NotIn predicate on the "agent_run_id" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentTraceEvent

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

func CreatedAtNotIn

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

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

func HasAgent

func HasAgent() predicate.AgentTraceEvent

HasAgent applies the HasEdge predicate on the "agent" edge.

func HasAgentRun

func HasAgentRun() predicate.AgentTraceEvent

HasAgentRun applies the HasEdge predicate on the "agent_run" edge.

func HasAgentRunWith

func HasAgentRunWith(preds ...predicate.AgentRun) predicate.AgentTraceEvent

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

func HasAgentWith

func HasAgentWith(preds ...predicate.Agent) predicate.AgentTraceEvent

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

func HasProject

func HasProject() predicate.AgentTraceEvent

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.AgentTraceEvent

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

func HasStepEvents

func HasStepEvents() predicate.AgentTraceEvent

HasStepEvents applies the HasEdge predicate on the "step_events" edge.

func HasStepEventsWith

func HasStepEventsWith(preds ...predicate.AgentStepEvent) predicate.AgentTraceEvent

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

func HasTicket

func HasTicket() predicate.AgentTraceEvent

HasTicket applies the HasEdge predicate on the "ticket" edge.

func HasTicketWith

func HasTicketWith(preds ...predicate.Ticket) predicate.AgentTraceEvent

HasTicketWith applies the HasEdge predicate on the "ticket" 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.AgentTraceEvent

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

IDNotIn applies the NotIn predicate on the ID field.

func Kind

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.AgentTraceEvent

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.AgentTraceEvent

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.AgentTraceEvent

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.AgentTraceEvent

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.AgentTraceEvent

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.AgentTraceEvent

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.AgentTraceEvent

KindIn applies the In predicate on the "kind" field.

func KindLT

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.AgentTraceEvent

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.AgentTraceEvent

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.AgentTraceEvent

KindNotIn applies the NotIn predicate on the "kind" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProjectID

func ProjectID(v uuid.UUID) predicate.AgentTraceEvent

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.AgentTraceEvent

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...uuid.UUID) predicate.AgentTraceEvent

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.AgentTraceEvent

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...uuid.UUID) predicate.AgentTraceEvent

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func Provider

func Provider(v string) predicate.AgentTraceEvent

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains

func ProviderContains(v string) predicate.AgentTraceEvent

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.AgentTraceEvent

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.AgentTraceEvent

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.AgentTraceEvent

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.AgentTraceEvent

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.AgentTraceEvent

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.AgentTraceEvent

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.AgentTraceEvent

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...string) predicate.AgentTraceEvent

ProviderIn applies the In predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.AgentTraceEvent

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.AgentTraceEvent

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.AgentTraceEvent

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...string) predicate.AgentTraceEvent

ProviderNotIn applies the NotIn predicate on the "provider" field.

func Sequence

func Sequence(v int64) predicate.AgentTraceEvent

Sequence applies equality check predicate on the "sequence" field. It's identical to SequenceEQ.

func SequenceEQ

func SequenceEQ(v int64) predicate.AgentTraceEvent

SequenceEQ applies the EQ predicate on the "sequence" field.

func SequenceGT

func SequenceGT(v int64) predicate.AgentTraceEvent

SequenceGT applies the GT predicate on the "sequence" field.

func SequenceGTE

func SequenceGTE(v int64) predicate.AgentTraceEvent

SequenceGTE applies the GTE predicate on the "sequence" field.

func SequenceIn

func SequenceIn(vs ...int64) predicate.AgentTraceEvent

SequenceIn applies the In predicate on the "sequence" field.

func SequenceLT

func SequenceLT(v int64) predicate.AgentTraceEvent

SequenceLT applies the LT predicate on the "sequence" field.

func SequenceLTE

func SequenceLTE(v int64) predicate.AgentTraceEvent

SequenceLTE applies the LTE predicate on the "sequence" field.

func SequenceNEQ

func SequenceNEQ(v int64) predicate.AgentTraceEvent

SequenceNEQ applies the NEQ predicate on the "sequence" field.

func SequenceNotIn

func SequenceNotIn(vs ...int64) predicate.AgentTraceEvent

SequenceNotIn applies the NotIn predicate on the "sequence" field.

func Stream

Stream applies equality check predicate on the "stream" field. It's identical to StreamEQ.

func StreamContains

func StreamContains(v string) predicate.AgentTraceEvent

StreamContains applies the Contains predicate on the "stream" field.

func StreamContainsFold

func StreamContainsFold(v string) predicate.AgentTraceEvent

StreamContainsFold applies the ContainsFold predicate on the "stream" field.

func StreamEQ

func StreamEQ(v string) predicate.AgentTraceEvent

StreamEQ applies the EQ predicate on the "stream" field.

func StreamEqualFold

func StreamEqualFold(v string) predicate.AgentTraceEvent

StreamEqualFold applies the EqualFold predicate on the "stream" field.

func StreamGT

func StreamGT(v string) predicate.AgentTraceEvent

StreamGT applies the GT predicate on the "stream" field.

func StreamGTE

func StreamGTE(v string) predicate.AgentTraceEvent

StreamGTE applies the GTE predicate on the "stream" field.

func StreamHasPrefix

func StreamHasPrefix(v string) predicate.AgentTraceEvent

StreamHasPrefix applies the HasPrefix predicate on the "stream" field.

func StreamHasSuffix

func StreamHasSuffix(v string) predicate.AgentTraceEvent

StreamHasSuffix applies the HasSuffix predicate on the "stream" field.

func StreamIn

func StreamIn(vs ...string) predicate.AgentTraceEvent

StreamIn applies the In predicate on the "stream" field.

func StreamLT

func StreamLT(v string) predicate.AgentTraceEvent

StreamLT applies the LT predicate on the "stream" field.

func StreamLTE

func StreamLTE(v string) predicate.AgentTraceEvent

StreamLTE applies the LTE predicate on the "stream" field.

func StreamNEQ

func StreamNEQ(v string) predicate.AgentTraceEvent

StreamNEQ applies the NEQ predicate on the "stream" field.

func StreamNotIn

func StreamNotIn(vs ...string) predicate.AgentTraceEvent

StreamNotIn applies the NotIn predicate on the "stream" field.

func Text

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.AgentTraceEvent

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.AgentTraceEvent

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.AgentTraceEvent

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.AgentTraceEvent

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.AgentTraceEvent

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.AgentTraceEvent

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.AgentTraceEvent

TextIn applies the In predicate on the "text" field.

func TextIsNil

func TextIsNil() predicate.AgentTraceEvent

TextIsNil applies the IsNil predicate on the "text" field.

func TextLT

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.AgentTraceEvent

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.AgentTraceEvent

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.AgentTraceEvent

TextNotIn applies the NotIn predicate on the "text" field.

func TextNotNil

func TextNotNil() predicate.AgentTraceEvent

TextNotNil applies the NotNil predicate on the "text" field.

func TicketID

func TicketID(v uuid.UUID) predicate.AgentTraceEvent

TicketID applies equality check predicate on the "ticket_id" field. It's identical to TicketIDEQ.

func TicketIDEQ

func TicketIDEQ(v uuid.UUID) predicate.AgentTraceEvent

TicketIDEQ applies the EQ predicate on the "ticket_id" field.

func TicketIDIn

func TicketIDIn(vs ...uuid.UUID) predicate.AgentTraceEvent

TicketIDIn applies the In predicate on the "ticket_id" field.

func TicketIDNEQ

func TicketIDNEQ(v uuid.UUID) predicate.AgentTraceEvent

TicketIDNEQ applies the NEQ predicate on the "ticket_id" field.

func TicketIDNotIn

func TicketIDNotIn(vs ...uuid.UUID) predicate.AgentTraceEvent

TicketIDNotIn applies the NotIn predicate on the "ticket_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentTraceEvent queries.

func ByAgentField

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

ByAgentField orders the results by agent field.

func ByAgentID

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

ByAgentID orders the results by the agent_id field.

func ByAgentRunField

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

ByAgentRunField orders the results by agent_run field.

func ByAgentRunID

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

ByAgentRunID orders the results by the agent_run_id field.

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 ByKind

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

ByKind orders the results by the kind field.

func ByProjectField

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

ByProjectField orders the results by project field.

func ByProjectID

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

ByProjectID orders the results by the project_id field.

func ByProvider

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

ByProvider orders the results by the provider field.

func BySequence

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

BySequence orders the results by the sequence field.

func ByStepEvents

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

ByStepEvents orders the results by step_events terms.

func ByStepEventsCount

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

ByStepEventsCount orders the results by step_events count.

func ByStream

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

ByStream orders the results by the stream field.

func ByText

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

ByText orders the results by the text field.

func ByTicketField

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

ByTicketField orders the results by ticket field.

func ByTicketID

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

ByTicketID orders the results by the ticket_id field.

Jump to

Keyboard shortcuts

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