agentstepevent

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentstepevent type in the database.
	Label = "agent_step_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"
	// FieldStepStatus holds the string denoting the step_status field in the database.
	FieldStepStatus = "step_status"
	// FieldSummary holds the string denoting the summary field in the database.
	FieldSummary = "summary"
	// FieldSourceTraceEventID holds the string denoting the source_trace_event_id field in the database.
	FieldSourceTraceEventID = "source_trace_event_id"
	// 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"
	// EdgeSourceTraceEvent holds the string denoting the source_trace_event edge name in mutations.
	EdgeSourceTraceEvent = "source_trace_event"
	// Table holds the table name of the agentstepevent in the database.
	Table = "agent_step_events"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "agent_step_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_step_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_step_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_step_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"
	// SourceTraceEventTable is the table that holds the source_trace_event relation/edge.
	SourceTraceEventTable = "agent_step_events"
	// SourceTraceEventInverseTable is the table name for the AgentTraceEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agenttraceevent" package.
	SourceTraceEventInverseTable = "agent_trace_events"
	// SourceTraceEventColumn is the table column denoting the source_trace_event relation/edge.
	SourceTraceEventColumn = "source_trace_event_id"
)

Variables

View Source
var (
	// StepStatusValidator is a validator for the "step_status" field. It is called by the builders before save.
	StepStatusValidator 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 agentstepevent fields.

Functions

func AgentID

func AgentID(v uuid.UUID) predicate.AgentStepEvent

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

func AgentIDEQ

func AgentIDEQ(v uuid.UUID) predicate.AgentStepEvent

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

func AgentIDIn

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

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

func AgentIDNEQ

func AgentIDNEQ(v uuid.UUID) predicate.AgentStepEvent

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

func AgentIDNotIn

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

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

func AgentRunID

func AgentRunID(v uuid.UUID) predicate.AgentStepEvent

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

func AgentRunIDEQ

func AgentRunIDEQ(v uuid.UUID) predicate.AgentStepEvent

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

func AgentRunIDIn

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

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

func AgentRunIDNEQ

func AgentRunIDNEQ(v uuid.UUID) predicate.AgentStepEvent

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

func AgentRunIDNotIn

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

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

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentStepEvent

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentStepEvent

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentStepEvent

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentStepEvent

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentStepEvent

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentStepEvent

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

func CreatedAtNotIn

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

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

func HasAgent

func HasAgent() predicate.AgentStepEvent

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

func HasAgentRun

func HasAgentRun() predicate.AgentStepEvent

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

func HasAgentRunWith

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

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

func HasAgentWith

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

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

func HasProject

func HasProject() predicate.AgentStepEvent

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

func HasProjectWith

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

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

func HasSourceTraceEvent

func HasSourceTraceEvent() predicate.AgentStepEvent

HasSourceTraceEvent applies the HasEdge predicate on the "source_trace_event" edge.

func HasSourceTraceEventWith

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

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

func HasTicket

func HasTicket() predicate.AgentStepEvent

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

func HasTicketWith

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

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

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

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 ProjectID

func ProjectID(v uuid.UUID) predicate.AgentStepEvent

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

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.AgentStepEvent

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

func ProjectIDIn

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

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

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.AgentStepEvent

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

func ProjectIDNotIn

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

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

func SourceTraceEventID

func SourceTraceEventID(v uuid.UUID) predicate.AgentStepEvent

SourceTraceEventID applies equality check predicate on the "source_trace_event_id" field. It's identical to SourceTraceEventIDEQ.

func SourceTraceEventIDEQ

func SourceTraceEventIDEQ(v uuid.UUID) predicate.AgentStepEvent

SourceTraceEventIDEQ applies the EQ predicate on the "source_trace_event_id" field.

func SourceTraceEventIDIn

func SourceTraceEventIDIn(vs ...uuid.UUID) predicate.AgentStepEvent

SourceTraceEventIDIn applies the In predicate on the "source_trace_event_id" field.

func SourceTraceEventIDIsNil

func SourceTraceEventIDIsNil() predicate.AgentStepEvent

SourceTraceEventIDIsNil applies the IsNil predicate on the "source_trace_event_id" field.

func SourceTraceEventIDNEQ

func SourceTraceEventIDNEQ(v uuid.UUID) predicate.AgentStepEvent

SourceTraceEventIDNEQ applies the NEQ predicate on the "source_trace_event_id" field.

func SourceTraceEventIDNotIn

func SourceTraceEventIDNotIn(vs ...uuid.UUID) predicate.AgentStepEvent

SourceTraceEventIDNotIn applies the NotIn predicate on the "source_trace_event_id" field.

func SourceTraceEventIDNotNil

func SourceTraceEventIDNotNil() predicate.AgentStepEvent

SourceTraceEventIDNotNil applies the NotNil predicate on the "source_trace_event_id" field.

func StepStatus

func StepStatus(v string) predicate.AgentStepEvent

StepStatus applies equality check predicate on the "step_status" field. It's identical to StepStatusEQ.

func StepStatusContains

func StepStatusContains(v string) predicate.AgentStepEvent

StepStatusContains applies the Contains predicate on the "step_status" field.

func StepStatusContainsFold

func StepStatusContainsFold(v string) predicate.AgentStepEvent

StepStatusContainsFold applies the ContainsFold predicate on the "step_status" field.

func StepStatusEQ

func StepStatusEQ(v string) predicate.AgentStepEvent

StepStatusEQ applies the EQ predicate on the "step_status" field.

func StepStatusEqualFold

func StepStatusEqualFold(v string) predicate.AgentStepEvent

StepStatusEqualFold applies the EqualFold predicate on the "step_status" field.

func StepStatusGT

func StepStatusGT(v string) predicate.AgentStepEvent

StepStatusGT applies the GT predicate on the "step_status" field.

func StepStatusGTE

func StepStatusGTE(v string) predicate.AgentStepEvent

StepStatusGTE applies the GTE predicate on the "step_status" field.

func StepStatusHasPrefix

func StepStatusHasPrefix(v string) predicate.AgentStepEvent

StepStatusHasPrefix applies the HasPrefix predicate on the "step_status" field.

func StepStatusHasSuffix

func StepStatusHasSuffix(v string) predicate.AgentStepEvent

StepStatusHasSuffix applies the HasSuffix predicate on the "step_status" field.

func StepStatusIn

func StepStatusIn(vs ...string) predicate.AgentStepEvent

StepStatusIn applies the In predicate on the "step_status" field.

func StepStatusLT

func StepStatusLT(v string) predicate.AgentStepEvent

StepStatusLT applies the LT predicate on the "step_status" field.

func StepStatusLTE

func StepStatusLTE(v string) predicate.AgentStepEvent

StepStatusLTE applies the LTE predicate on the "step_status" field.

func StepStatusNEQ

func StepStatusNEQ(v string) predicate.AgentStepEvent

StepStatusNEQ applies the NEQ predicate on the "step_status" field.

func StepStatusNotIn

func StepStatusNotIn(vs ...string) predicate.AgentStepEvent

StepStatusNotIn applies the NotIn predicate on the "step_status" field.

func Summary

func Summary(v string) predicate.AgentStepEvent

Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.

func SummaryContains

func SummaryContains(v string) predicate.AgentStepEvent

SummaryContains applies the Contains predicate on the "summary" field.

func SummaryContainsFold

func SummaryContainsFold(v string) predicate.AgentStepEvent

SummaryContainsFold applies the ContainsFold predicate on the "summary" field.

func SummaryEQ

func SummaryEQ(v string) predicate.AgentStepEvent

SummaryEQ applies the EQ predicate on the "summary" field.

func SummaryEqualFold

func SummaryEqualFold(v string) predicate.AgentStepEvent

SummaryEqualFold applies the EqualFold predicate on the "summary" field.

func SummaryGT

func SummaryGT(v string) predicate.AgentStepEvent

SummaryGT applies the GT predicate on the "summary" field.

func SummaryGTE

func SummaryGTE(v string) predicate.AgentStepEvent

SummaryGTE applies the GTE predicate on the "summary" field.

func SummaryHasPrefix

func SummaryHasPrefix(v string) predicate.AgentStepEvent

SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.

func SummaryHasSuffix

func SummaryHasSuffix(v string) predicate.AgentStepEvent

SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.

func SummaryIn

func SummaryIn(vs ...string) predicate.AgentStepEvent

SummaryIn applies the In predicate on the "summary" field.

func SummaryIsNil

func SummaryIsNil() predicate.AgentStepEvent

SummaryIsNil applies the IsNil predicate on the "summary" field.

func SummaryLT

func SummaryLT(v string) predicate.AgentStepEvent

SummaryLT applies the LT predicate on the "summary" field.

func SummaryLTE

func SummaryLTE(v string) predicate.AgentStepEvent

SummaryLTE applies the LTE predicate on the "summary" field.

func SummaryNEQ

func SummaryNEQ(v string) predicate.AgentStepEvent

SummaryNEQ applies the NEQ predicate on the "summary" field.

func SummaryNotIn

func SummaryNotIn(vs ...string) predicate.AgentStepEvent

SummaryNotIn applies the NotIn predicate on the "summary" field.

func SummaryNotNil

func SummaryNotNil() predicate.AgentStepEvent

SummaryNotNil applies the NotNil predicate on the "summary" field.

func TicketID

func TicketID(v uuid.UUID) predicate.AgentStepEvent

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

func TicketIDEQ

func TicketIDEQ(v uuid.UUID) predicate.AgentStepEvent

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

func TicketIDIn

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

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

func TicketIDNEQ

func TicketIDNEQ(v uuid.UUID) predicate.AgentStepEvent

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

func TicketIDNotIn

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

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 AgentStepEvent 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 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 BySourceTraceEventField

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

BySourceTraceEventField orders the results by source_trace_event field.

func BySourceTraceEventID

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

BySourceTraceEventID orders the results by the source_trace_event_id field.

func ByStepStatus

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

ByStepStatus orders the results by the step_status field.

func BySummary

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

BySummary orders the results by the summary 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