Documentation
¶
Index ¶
- Constants
- Variables
- func AgentID(v string) predicate.AgentEvent
- func AgentIDContains(v string) predicate.AgentEvent
- func AgentIDContainsFold(v string) predicate.AgentEvent
- func AgentIDEQ(v string) predicate.AgentEvent
- func AgentIDEqualFold(v string) predicate.AgentEvent
- func AgentIDGT(v string) predicate.AgentEvent
- func AgentIDGTE(v string) predicate.AgentEvent
- func AgentIDHasPrefix(v string) predicate.AgentEvent
- func AgentIDHasSuffix(v string) predicate.AgentEvent
- func AgentIDIn(vs ...string) predicate.AgentEvent
- func AgentIDIsNil() predicate.AgentEvent
- func AgentIDLT(v string) predicate.AgentEvent
- func AgentIDLTE(v string) predicate.AgentEvent
- func AgentIDNEQ(v string) predicate.AgentEvent
- func AgentIDNotIn(vs ...string) predicate.AgentEvent
- func AgentIDNotNil() predicate.AgentEvent
- func And(predicates ...predicate.AgentEvent) predicate.AgentEvent
- func CreatedAt(v time.Time) predicate.AgentEvent
- func CreatedAtEQ(v time.Time) predicate.AgentEvent
- func CreatedAtGT(v time.Time) predicate.AgentEvent
- func CreatedAtGTE(v time.Time) predicate.AgentEvent
- func CreatedAtIn(vs ...time.Time) predicate.AgentEvent
- func CreatedAtLT(v time.Time) predicate.AgentEvent
- func CreatedAtLTE(v time.Time) predicate.AgentEvent
- func CreatedAtNEQ(v time.Time) predicate.AgentEvent
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentEvent
- func DataIsNil() predicate.AgentEvent
- func DataNotNil() predicate.AgentEvent
- func EventCategory(v string) predicate.AgentEvent
- func EventCategoryContains(v string) predicate.AgentEvent
- func EventCategoryContainsFold(v string) predicate.AgentEvent
- func EventCategoryEQ(v string) predicate.AgentEvent
- func EventCategoryEqualFold(v string) predicate.AgentEvent
- func EventCategoryGT(v string) predicate.AgentEvent
- func EventCategoryGTE(v string) predicate.AgentEvent
- func EventCategoryHasPrefix(v string) predicate.AgentEvent
- func EventCategoryHasSuffix(v string) predicate.AgentEvent
- func EventCategoryIn(vs ...string) predicate.AgentEvent
- func EventCategoryLT(v string) predicate.AgentEvent
- func EventCategoryLTE(v string) predicate.AgentEvent
- func EventCategoryNEQ(v string) predicate.AgentEvent
- func EventCategoryNotIn(vs ...string) predicate.AgentEvent
- func EventType(v string) predicate.AgentEvent
- func EventTypeContains(v string) predicate.AgentEvent
- func EventTypeContainsFold(v string) predicate.AgentEvent
- func EventTypeEQ(v string) predicate.AgentEvent
- func EventTypeEqualFold(v string) predicate.AgentEvent
- func EventTypeGT(v string) predicate.AgentEvent
- func EventTypeGTE(v string) predicate.AgentEvent
- func EventTypeHasPrefix(v string) predicate.AgentEvent
- func EventTypeHasSuffix(v string) predicate.AgentEvent
- func EventTypeIn(vs ...string) predicate.AgentEvent
- func EventTypeLT(v string) predicate.AgentEvent
- func EventTypeLTE(v string) predicate.AgentEvent
- func EventTypeNEQ(v string) predicate.AgentEvent
- func EventTypeNotIn(vs ...string) predicate.AgentEvent
- func HasTask() predicate.AgentEvent
- func HasTaskWith(preds ...predicate.AgentTask) predicate.AgentEvent
- func HasWorkflow() predicate.AgentEvent
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.AgentEvent
- func ID(id string) predicate.AgentEvent
- func IDContainsFold(id string) predicate.AgentEvent
- func IDEQ(id string) predicate.AgentEvent
- func IDEqualFold(id string) predicate.AgentEvent
- func IDGT(id string) predicate.AgentEvent
- func IDGTE(id string) predicate.AgentEvent
- func IDIn(ids ...string) predicate.AgentEvent
- func IDLT(id string) predicate.AgentEvent
- func IDLTE(id string) predicate.AgentEvent
- func IDNEQ(id string) predicate.AgentEvent
- func IDNotIn(ids ...string) predicate.AgentEvent
- func MetadataIsNil() predicate.AgentEvent
- func MetadataNotNil() predicate.AgentEvent
- func Not(p predicate.AgentEvent) predicate.AgentEvent
- func Or(predicates ...predicate.AgentEvent) predicate.AgentEvent
- func Severity(v string) predicate.AgentEvent
- func SeverityContains(v string) predicate.AgentEvent
- func SeverityContainsFold(v string) predicate.AgentEvent
- func SeverityEQ(v string) predicate.AgentEvent
- func SeverityEqualFold(v string) predicate.AgentEvent
- func SeverityGT(v string) predicate.AgentEvent
- func SeverityGTE(v string) predicate.AgentEvent
- func SeverityHasPrefix(v string) predicate.AgentEvent
- func SeverityHasSuffix(v string) predicate.AgentEvent
- func SeverityIn(vs ...string) predicate.AgentEvent
- func SeverityLT(v string) predicate.AgentEvent
- func SeverityLTE(v string) predicate.AgentEvent
- func SeverityNEQ(v string) predicate.AgentEvent
- func SeverityNotIn(vs ...string) predicate.AgentEvent
- func Source(v string) predicate.AgentEvent
- func SourceContains(v string) predicate.AgentEvent
- func SourceContainsFold(v string) predicate.AgentEvent
- func SourceEQ(v string) predicate.AgentEvent
- func SourceEqualFold(v string) predicate.AgentEvent
- func SourceGT(v string) predicate.AgentEvent
- func SourceGTE(v string) predicate.AgentEvent
- func SourceHasPrefix(v string) predicate.AgentEvent
- func SourceHasSuffix(v string) predicate.AgentEvent
- func SourceIn(vs ...string) predicate.AgentEvent
- func SourceIsNil() predicate.AgentEvent
- func SourceLT(v string) predicate.AgentEvent
- func SourceLTE(v string) predicate.AgentEvent
- func SourceNEQ(v string) predicate.AgentEvent
- func SourceNotIn(vs ...string) predicate.AgentEvent
- func SourceNotNil() predicate.AgentEvent
- func SpanID(v string) predicate.AgentEvent
- func SpanIDContains(v string) predicate.AgentEvent
- func SpanIDContainsFold(v string) predicate.AgentEvent
- func SpanIDEQ(v string) predicate.AgentEvent
- func SpanIDEqualFold(v string) predicate.AgentEvent
- func SpanIDGT(v string) predicate.AgentEvent
- func SpanIDGTE(v string) predicate.AgentEvent
- func SpanIDHasPrefix(v string) predicate.AgentEvent
- func SpanIDHasSuffix(v string) predicate.AgentEvent
- func SpanIDIn(vs ...string) predicate.AgentEvent
- func SpanIDIsNil() predicate.AgentEvent
- func SpanIDLT(v string) predicate.AgentEvent
- func SpanIDLTE(v string) predicate.AgentEvent
- func SpanIDNEQ(v string) predicate.AgentEvent
- func SpanIDNotIn(vs ...string) predicate.AgentEvent
- func SpanIDNotNil() predicate.AgentEvent
- func TagsIsNil() predicate.AgentEvent
- func TagsNotNil() predicate.AgentEvent
- func TaskID(v string) predicate.AgentEvent
- func TaskIDContains(v string) predicate.AgentEvent
- func TaskIDContainsFold(v string) predicate.AgentEvent
- func TaskIDEQ(v string) predicate.AgentEvent
- func TaskIDEqualFold(v string) predicate.AgentEvent
- func TaskIDGT(v string) predicate.AgentEvent
- func TaskIDGTE(v string) predicate.AgentEvent
- func TaskIDHasPrefix(v string) predicate.AgentEvent
- func TaskIDHasSuffix(v string) predicate.AgentEvent
- func TaskIDIn(vs ...string) predicate.AgentEvent
- func TaskIDIsNil() predicate.AgentEvent
- func TaskIDLT(v string) predicate.AgentEvent
- func TaskIDLTE(v string) predicate.AgentEvent
- func TaskIDNEQ(v string) predicate.AgentEvent
- func TaskIDNotIn(vs ...string) predicate.AgentEvent
- func TaskIDNotNil() predicate.AgentEvent
- func Timestamp(v time.Time) predicate.AgentEvent
- func TimestampEQ(v time.Time) predicate.AgentEvent
- func TimestampGT(v time.Time) predicate.AgentEvent
- func TimestampGTE(v time.Time) predicate.AgentEvent
- func TimestampIn(vs ...time.Time) predicate.AgentEvent
- func TimestampLT(v time.Time) predicate.AgentEvent
- func TimestampLTE(v time.Time) predicate.AgentEvent
- func TimestampNEQ(v time.Time) predicate.AgentEvent
- func TimestampNotIn(vs ...time.Time) predicate.AgentEvent
- func TraceID(v string) predicate.AgentEvent
- func TraceIDContains(v string) predicate.AgentEvent
- func TraceIDContainsFold(v string) predicate.AgentEvent
- func TraceIDEQ(v string) predicate.AgentEvent
- func TraceIDEqualFold(v string) predicate.AgentEvent
- func TraceIDGT(v string) predicate.AgentEvent
- func TraceIDGTE(v string) predicate.AgentEvent
- func TraceIDHasPrefix(v string) predicate.AgentEvent
- func TraceIDHasSuffix(v string) predicate.AgentEvent
- func TraceIDIn(vs ...string) predicate.AgentEvent
- func TraceIDIsNil() predicate.AgentEvent
- func TraceIDLT(v string) predicate.AgentEvent
- func TraceIDLTE(v string) predicate.AgentEvent
- func TraceIDNEQ(v string) predicate.AgentEvent
- func TraceIDNotIn(vs ...string) predicate.AgentEvent
- func TraceIDNotNil() predicate.AgentEvent
- func ValidColumn(column string) bool
- func Version(v string) predicate.AgentEvent
- func VersionContains(v string) predicate.AgentEvent
- func VersionContainsFold(v string) predicate.AgentEvent
- func VersionEQ(v string) predicate.AgentEvent
- func VersionEqualFold(v string) predicate.AgentEvent
- func VersionGT(v string) predicate.AgentEvent
- func VersionGTE(v string) predicate.AgentEvent
- func VersionHasPrefix(v string) predicate.AgentEvent
- func VersionHasSuffix(v string) predicate.AgentEvent
- func VersionIn(vs ...string) predicate.AgentEvent
- func VersionLT(v string) predicate.AgentEvent
- func VersionLTE(v string) predicate.AgentEvent
- func VersionNEQ(v string) predicate.AgentEvent
- func VersionNotIn(vs ...string) predicate.AgentEvent
- func WorkflowID(v string) predicate.AgentEvent
- func WorkflowIDContains(v string) predicate.AgentEvent
- func WorkflowIDContainsFold(v string) predicate.AgentEvent
- func WorkflowIDEQ(v string) predicate.AgentEvent
- func WorkflowIDEqualFold(v string) predicate.AgentEvent
- func WorkflowIDGT(v string) predicate.AgentEvent
- func WorkflowIDGTE(v string) predicate.AgentEvent
- func WorkflowIDHasPrefix(v string) predicate.AgentEvent
- func WorkflowIDHasSuffix(v string) predicate.AgentEvent
- func WorkflowIDIn(vs ...string) predicate.AgentEvent
- func WorkflowIDIsNil() predicate.AgentEvent
- func WorkflowIDLT(v string) predicate.AgentEvent
- func WorkflowIDLTE(v string) predicate.AgentEvent
- func WorkflowIDNEQ(v string) predicate.AgentEvent
- func WorkflowIDNotIn(vs ...string) predicate.AgentEvent
- func WorkflowIDNotNil() predicate.AgentEvent
- type OrderOption
- func ByAgentID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEventCategory(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func BySeverity(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func BySpanID(opts ...sql.OrderTermOption) OrderOption
- func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTaskID(opts ...sql.OrderTermOption) OrderOption
- func ByTimestamp(opts ...sql.OrderTermOption) OrderOption
- func ByTraceID(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the agentevent type in the database. Label = "agent_event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEventType holds the string denoting the event_type field in the database. FieldEventType = "event_type" // FieldEventCategory holds the string denoting the event_category field in the database. FieldEventCategory = "event_category" // FieldWorkflowID holds the string denoting the workflow_id field in the database. FieldWorkflowID = "workflow_id" // FieldTaskID holds the string denoting the task_id field in the database. FieldTaskID = "task_id" // FieldAgentID holds the string denoting the agent_id field in the database. FieldAgentID = "agent_id" // FieldTraceID holds the string denoting the trace_id field in the database. FieldTraceID = "trace_id" // FieldSpanID holds the string denoting the span_id field in the database. FieldSpanID = "span_id" // FieldSeverity holds the string denoting the severity field in the database. FieldSeverity = "severity" // FieldData holds the string denoting the data field in the database. FieldData = "data" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldTimestamp holds the string denoting the timestamp field in the database. FieldTimestamp = "timestamp" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeWorkflow holds the string denoting the workflow edge name in mutations. EdgeWorkflow = "workflow" // EdgeTask holds the string denoting the task edge name in mutations. EdgeTask = "task" // Table holds the table name of the agentevent in the database. Table = "agent_events" // WorkflowTable is the table that holds the workflow relation/edge. WorkflowTable = "agent_events" // WorkflowInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowInverseTable = "workflows" // WorkflowColumn is the table column denoting the workflow relation/edge. WorkflowColumn = "workflow_id" // TaskTable is the table that holds the task relation/edge. TaskTable = "agent_events" // TaskInverseTable is the table name for the AgentTask entity. // It exists in this package in order to avoid circular dependency with the "agenttask" package. TaskInverseTable = "agent_tasks" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "task_id" )
Variables ¶
var ( // EventTypeValidator is a validator for the "event_type" field. It is called by the builders before save. EventTypeValidator func(string) error // DefaultEventCategory holds the default value on creation for the "event_category" field. DefaultEventCategory string // DefaultSeverity holds the default value on creation for the "severity" field. DefaultSeverity string // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion string // DefaultTimestamp holds the default value on creation for the "timestamp" field. DefaultTimestamp func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldEventType, FieldEventCategory, FieldWorkflowID, FieldTaskID, FieldAgentID, FieldTraceID, FieldSpanID, FieldSeverity, FieldData, FieldMetadata, FieldTags, FieldSource, FieldVersion, FieldTimestamp, FieldCreatedAt, }
Columns holds all SQL columns for agentevent fields.
Functions ¶
func AgentID ¶
func AgentID(v string) predicate.AgentEvent
AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
func AgentIDContains ¶
func AgentIDContains(v string) predicate.AgentEvent
AgentIDContains applies the Contains predicate on the "agent_id" field.
func AgentIDContainsFold ¶
func AgentIDContainsFold(v string) predicate.AgentEvent
AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.
func AgentIDEQ ¶
func AgentIDEQ(v string) predicate.AgentEvent
AgentIDEQ applies the EQ predicate on the "agent_id" field.
func AgentIDEqualFold ¶
func AgentIDEqualFold(v string) predicate.AgentEvent
AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.
func AgentIDGT ¶
func AgentIDGT(v string) predicate.AgentEvent
AgentIDGT applies the GT predicate on the "agent_id" field.
func AgentIDGTE ¶
func AgentIDGTE(v string) predicate.AgentEvent
AgentIDGTE applies the GTE predicate on the "agent_id" field.
func AgentIDHasPrefix ¶
func AgentIDHasPrefix(v string) predicate.AgentEvent
AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.
func AgentIDHasSuffix ¶
func AgentIDHasSuffix(v string) predicate.AgentEvent
AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.
func AgentIDIn ¶
func AgentIDIn(vs ...string) predicate.AgentEvent
AgentIDIn applies the In predicate on the "agent_id" field.
func AgentIDIsNil ¶
func AgentIDIsNil() predicate.AgentEvent
AgentIDIsNil applies the IsNil predicate on the "agent_id" field.
func AgentIDLT ¶
func AgentIDLT(v string) predicate.AgentEvent
AgentIDLT applies the LT predicate on the "agent_id" field.
func AgentIDLTE ¶
func AgentIDLTE(v string) predicate.AgentEvent
AgentIDLTE applies the LTE predicate on the "agent_id" field.
func AgentIDNEQ ¶
func AgentIDNEQ(v string) predicate.AgentEvent
AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
func AgentIDNotIn ¶
func AgentIDNotIn(vs ...string) predicate.AgentEvent
AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
func AgentIDNotNil ¶
func AgentIDNotNil() predicate.AgentEvent
AgentIDNotNil applies the NotNil predicate on the "agent_id" field.
func And ¶
func And(predicates ...predicate.AgentEvent) predicate.AgentEvent
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentEvent
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentEvent
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentEvent
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentEvent
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentEvent
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentEvent
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentEvent
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentEvent
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentEvent
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DataIsNil ¶
func DataIsNil() predicate.AgentEvent
DataIsNil applies the IsNil predicate on the "data" field.
func DataNotNil ¶
func DataNotNil() predicate.AgentEvent
DataNotNil applies the NotNil predicate on the "data" field.
func EventCategory ¶
func EventCategory(v string) predicate.AgentEvent
EventCategory applies equality check predicate on the "event_category" field. It's identical to EventCategoryEQ.
func EventCategoryContains ¶
func EventCategoryContains(v string) predicate.AgentEvent
EventCategoryContains applies the Contains predicate on the "event_category" field.
func EventCategoryContainsFold ¶
func EventCategoryContainsFold(v string) predicate.AgentEvent
EventCategoryContainsFold applies the ContainsFold predicate on the "event_category" field.
func EventCategoryEQ ¶
func EventCategoryEQ(v string) predicate.AgentEvent
EventCategoryEQ applies the EQ predicate on the "event_category" field.
func EventCategoryEqualFold ¶
func EventCategoryEqualFold(v string) predicate.AgentEvent
EventCategoryEqualFold applies the EqualFold predicate on the "event_category" field.
func EventCategoryGT ¶
func EventCategoryGT(v string) predicate.AgentEvent
EventCategoryGT applies the GT predicate on the "event_category" field.
func EventCategoryGTE ¶
func EventCategoryGTE(v string) predicate.AgentEvent
EventCategoryGTE applies the GTE predicate on the "event_category" field.
func EventCategoryHasPrefix ¶
func EventCategoryHasPrefix(v string) predicate.AgentEvent
EventCategoryHasPrefix applies the HasPrefix predicate on the "event_category" field.
func EventCategoryHasSuffix ¶
func EventCategoryHasSuffix(v string) predicate.AgentEvent
EventCategoryHasSuffix applies the HasSuffix predicate on the "event_category" field.
func EventCategoryIn ¶
func EventCategoryIn(vs ...string) predicate.AgentEvent
EventCategoryIn applies the In predicate on the "event_category" field.
func EventCategoryLT ¶
func EventCategoryLT(v string) predicate.AgentEvent
EventCategoryLT applies the LT predicate on the "event_category" field.
func EventCategoryLTE ¶
func EventCategoryLTE(v string) predicate.AgentEvent
EventCategoryLTE applies the LTE predicate on the "event_category" field.
func EventCategoryNEQ ¶
func EventCategoryNEQ(v string) predicate.AgentEvent
EventCategoryNEQ applies the NEQ predicate on the "event_category" field.
func EventCategoryNotIn ¶
func EventCategoryNotIn(vs ...string) predicate.AgentEvent
EventCategoryNotIn applies the NotIn predicate on the "event_category" field.
func EventType ¶
func EventType(v string) predicate.AgentEvent
EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
func EventTypeContains ¶
func EventTypeContains(v string) predicate.AgentEvent
EventTypeContains applies the Contains predicate on the "event_type" field.
func EventTypeContainsFold ¶
func EventTypeContainsFold(v string) predicate.AgentEvent
EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
func EventTypeEQ ¶
func EventTypeEQ(v string) predicate.AgentEvent
EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeEqualFold ¶
func EventTypeEqualFold(v string) predicate.AgentEvent
EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
func EventTypeGT ¶
func EventTypeGT(v string) predicate.AgentEvent
EventTypeGT applies the GT predicate on the "event_type" field.
func EventTypeGTE ¶
func EventTypeGTE(v string) predicate.AgentEvent
EventTypeGTE applies the GTE predicate on the "event_type" field.
func EventTypeHasPrefix ¶
func EventTypeHasPrefix(v string) predicate.AgentEvent
EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
func EventTypeHasSuffix ¶
func EventTypeHasSuffix(v string) predicate.AgentEvent
EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
func EventTypeIn ¶
func EventTypeIn(vs ...string) predicate.AgentEvent
EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeLT ¶
func EventTypeLT(v string) predicate.AgentEvent
EventTypeLT applies the LT predicate on the "event_type" field.
func EventTypeLTE ¶
func EventTypeLTE(v string) predicate.AgentEvent
EventTypeLTE applies the LTE predicate on the "event_type" field.
func EventTypeNEQ ¶
func EventTypeNEQ(v string) predicate.AgentEvent
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNotIn ¶
func EventTypeNotIn(vs ...string) predicate.AgentEvent
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func HasTask ¶
func HasTask() predicate.AgentEvent
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.AgentTask) predicate.AgentEvent
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func HasWorkflow ¶
func HasWorkflow() predicate.AgentEvent
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
func HasWorkflowWith(preds ...predicate.Workflow) predicate.AgentEvent
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.AgentEvent
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.AgentEvent
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.AgentEvent
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.AgentEvent
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.AgentEvent
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.AgentEvent
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.AgentEvent
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.AgentEvent
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.AgentEvent
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.AgentEvent
IDNotIn applies the NotIn predicate on the ID field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.AgentEvent
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.AgentEvent
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.AgentEvent) predicate.AgentEvent
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentEvent) predicate.AgentEvent
Or groups predicates with the OR operator between them.
func Severity ¶
func Severity(v string) predicate.AgentEvent
Severity applies equality check predicate on the "severity" field. It's identical to SeverityEQ.
func SeverityContains ¶
func SeverityContains(v string) predicate.AgentEvent
SeverityContains applies the Contains predicate on the "severity" field.
func SeverityContainsFold ¶
func SeverityContainsFold(v string) predicate.AgentEvent
SeverityContainsFold applies the ContainsFold predicate on the "severity" field.
func SeverityEQ ¶
func SeverityEQ(v string) predicate.AgentEvent
SeverityEQ applies the EQ predicate on the "severity" field.
func SeverityEqualFold ¶
func SeverityEqualFold(v string) predicate.AgentEvent
SeverityEqualFold applies the EqualFold predicate on the "severity" field.
func SeverityGT ¶
func SeverityGT(v string) predicate.AgentEvent
SeverityGT applies the GT predicate on the "severity" field.
func SeverityGTE ¶
func SeverityGTE(v string) predicate.AgentEvent
SeverityGTE applies the GTE predicate on the "severity" field.
func SeverityHasPrefix ¶
func SeverityHasPrefix(v string) predicate.AgentEvent
SeverityHasPrefix applies the HasPrefix predicate on the "severity" field.
func SeverityHasSuffix ¶
func SeverityHasSuffix(v string) predicate.AgentEvent
SeverityHasSuffix applies the HasSuffix predicate on the "severity" field.
func SeverityIn ¶
func SeverityIn(vs ...string) predicate.AgentEvent
SeverityIn applies the In predicate on the "severity" field.
func SeverityLT ¶
func SeverityLT(v string) predicate.AgentEvent
SeverityLT applies the LT predicate on the "severity" field.
func SeverityLTE ¶
func SeverityLTE(v string) predicate.AgentEvent
SeverityLTE applies the LTE predicate on the "severity" field.
func SeverityNEQ ¶
func SeverityNEQ(v string) predicate.AgentEvent
SeverityNEQ applies the NEQ predicate on the "severity" field.
func SeverityNotIn ¶
func SeverityNotIn(vs ...string) predicate.AgentEvent
SeverityNotIn applies the NotIn predicate on the "severity" field.
func Source ¶
func Source(v string) predicate.AgentEvent
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
func SourceContains(v string) predicate.AgentEvent
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
func SourceContainsFold(v string) predicate.AgentEvent
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEQ ¶
func SourceEQ(v string) predicate.AgentEvent
SourceEQ applies the EQ predicate on the "source" field.
func SourceEqualFold ¶
func SourceEqualFold(v string) predicate.AgentEvent
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceGT ¶
func SourceGT(v string) predicate.AgentEvent
SourceGT applies the GT predicate on the "source" field.
func SourceGTE ¶
func SourceGTE(v string) predicate.AgentEvent
SourceGTE applies the GTE predicate on the "source" field.
func SourceHasPrefix ¶
func SourceHasPrefix(v string) predicate.AgentEvent
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
func SourceHasSuffix(v string) predicate.AgentEvent
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...string) predicate.AgentEvent
SourceIn applies the In predicate on the "source" field.
func SourceIsNil ¶
func SourceIsNil() predicate.AgentEvent
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceLT ¶
func SourceLT(v string) predicate.AgentEvent
SourceLT applies the LT predicate on the "source" field.
func SourceLTE ¶
func SourceLTE(v string) predicate.AgentEvent
SourceLTE applies the LTE predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v string) predicate.AgentEvent
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...string) predicate.AgentEvent
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
func SourceNotNil() predicate.AgentEvent
SourceNotNil applies the NotNil predicate on the "source" field.
func SpanID ¶
func SpanID(v string) predicate.AgentEvent
SpanID applies equality check predicate on the "span_id" field. It's identical to SpanIDEQ.
func SpanIDContains ¶
func SpanIDContains(v string) predicate.AgentEvent
SpanIDContains applies the Contains predicate on the "span_id" field.
func SpanIDContainsFold ¶
func SpanIDContainsFold(v string) predicate.AgentEvent
SpanIDContainsFold applies the ContainsFold predicate on the "span_id" field.
func SpanIDEQ ¶
func SpanIDEQ(v string) predicate.AgentEvent
SpanIDEQ applies the EQ predicate on the "span_id" field.
func SpanIDEqualFold ¶
func SpanIDEqualFold(v string) predicate.AgentEvent
SpanIDEqualFold applies the EqualFold predicate on the "span_id" field.
func SpanIDGT ¶
func SpanIDGT(v string) predicate.AgentEvent
SpanIDGT applies the GT predicate on the "span_id" field.
func SpanIDGTE ¶
func SpanIDGTE(v string) predicate.AgentEvent
SpanIDGTE applies the GTE predicate on the "span_id" field.
func SpanIDHasPrefix ¶
func SpanIDHasPrefix(v string) predicate.AgentEvent
SpanIDHasPrefix applies the HasPrefix predicate on the "span_id" field.
func SpanIDHasSuffix ¶
func SpanIDHasSuffix(v string) predicate.AgentEvent
SpanIDHasSuffix applies the HasSuffix predicate on the "span_id" field.
func SpanIDIn ¶
func SpanIDIn(vs ...string) predicate.AgentEvent
SpanIDIn applies the In predicate on the "span_id" field.
func SpanIDIsNil ¶
func SpanIDIsNil() predicate.AgentEvent
SpanIDIsNil applies the IsNil predicate on the "span_id" field.
func SpanIDLT ¶
func SpanIDLT(v string) predicate.AgentEvent
SpanIDLT applies the LT predicate on the "span_id" field.
func SpanIDLTE ¶
func SpanIDLTE(v string) predicate.AgentEvent
SpanIDLTE applies the LTE predicate on the "span_id" field.
func SpanIDNEQ ¶
func SpanIDNEQ(v string) predicate.AgentEvent
SpanIDNEQ applies the NEQ predicate on the "span_id" field.
func SpanIDNotIn ¶
func SpanIDNotIn(vs ...string) predicate.AgentEvent
SpanIDNotIn applies the NotIn predicate on the "span_id" field.
func SpanIDNotNil ¶
func SpanIDNotNil() predicate.AgentEvent
SpanIDNotNil applies the NotNil predicate on the "span_id" field.
func TagsIsNil ¶
func TagsIsNil() predicate.AgentEvent
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.AgentEvent
TagsNotNil applies the NotNil predicate on the "tags" field.
func TaskID ¶
func TaskID(v string) predicate.AgentEvent
TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
func TaskIDContains ¶
func TaskIDContains(v string) predicate.AgentEvent
TaskIDContains applies the Contains predicate on the "task_id" field.
func TaskIDContainsFold ¶
func TaskIDContainsFold(v string) predicate.AgentEvent
TaskIDContainsFold applies the ContainsFold predicate on the "task_id" field.
func TaskIDEQ ¶
func TaskIDEQ(v string) predicate.AgentEvent
TaskIDEQ applies the EQ predicate on the "task_id" field.
func TaskIDEqualFold ¶
func TaskIDEqualFold(v string) predicate.AgentEvent
TaskIDEqualFold applies the EqualFold predicate on the "task_id" field.
func TaskIDGT ¶
func TaskIDGT(v string) predicate.AgentEvent
TaskIDGT applies the GT predicate on the "task_id" field.
func TaskIDGTE ¶
func TaskIDGTE(v string) predicate.AgentEvent
TaskIDGTE applies the GTE predicate on the "task_id" field.
func TaskIDHasPrefix ¶
func TaskIDHasPrefix(v string) predicate.AgentEvent
TaskIDHasPrefix applies the HasPrefix predicate on the "task_id" field.
func TaskIDHasSuffix ¶
func TaskIDHasSuffix(v string) predicate.AgentEvent
TaskIDHasSuffix applies the HasSuffix predicate on the "task_id" field.
func TaskIDIn ¶
func TaskIDIn(vs ...string) predicate.AgentEvent
TaskIDIn applies the In predicate on the "task_id" field.
func TaskIDIsNil ¶
func TaskIDIsNil() predicate.AgentEvent
TaskIDIsNil applies the IsNil predicate on the "task_id" field.
func TaskIDLT ¶
func TaskIDLT(v string) predicate.AgentEvent
TaskIDLT applies the LT predicate on the "task_id" field.
func TaskIDLTE ¶
func TaskIDLTE(v string) predicate.AgentEvent
TaskIDLTE applies the LTE predicate on the "task_id" field.
func TaskIDNEQ ¶
func TaskIDNEQ(v string) predicate.AgentEvent
TaskIDNEQ applies the NEQ predicate on the "task_id" field.
func TaskIDNotIn ¶
func TaskIDNotIn(vs ...string) predicate.AgentEvent
TaskIDNotIn applies the NotIn predicate on the "task_id" field.
func TaskIDNotNil ¶
func TaskIDNotNil() predicate.AgentEvent
TaskIDNotNil applies the NotNil predicate on the "task_id" field.
func Timestamp ¶
func Timestamp(v time.Time) predicate.AgentEvent
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
func TimestampEQ(v time.Time) predicate.AgentEvent
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
func TimestampGT(v time.Time) predicate.AgentEvent
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
func TimestampGTE(v time.Time) predicate.AgentEvent
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
func TimestampIn(vs ...time.Time) predicate.AgentEvent
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
func TimestampLT(v time.Time) predicate.AgentEvent
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
func TimestampLTE(v time.Time) predicate.AgentEvent
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
func TimestampNEQ(v time.Time) predicate.AgentEvent
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
func TimestampNotIn(vs ...time.Time) predicate.AgentEvent
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func TraceID ¶
func TraceID(v string) predicate.AgentEvent
TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.
func TraceIDContains ¶
func TraceIDContains(v string) predicate.AgentEvent
TraceIDContains applies the Contains predicate on the "trace_id" field.
func TraceIDContainsFold ¶
func TraceIDContainsFold(v string) predicate.AgentEvent
TraceIDContainsFold applies the ContainsFold predicate on the "trace_id" field.
func TraceIDEQ ¶
func TraceIDEQ(v string) predicate.AgentEvent
TraceIDEQ applies the EQ predicate on the "trace_id" field.
func TraceIDEqualFold ¶
func TraceIDEqualFold(v string) predicate.AgentEvent
TraceIDEqualFold applies the EqualFold predicate on the "trace_id" field.
func TraceIDGT ¶
func TraceIDGT(v string) predicate.AgentEvent
TraceIDGT applies the GT predicate on the "trace_id" field.
func TraceIDGTE ¶
func TraceIDGTE(v string) predicate.AgentEvent
TraceIDGTE applies the GTE predicate on the "trace_id" field.
func TraceIDHasPrefix ¶
func TraceIDHasPrefix(v string) predicate.AgentEvent
TraceIDHasPrefix applies the HasPrefix predicate on the "trace_id" field.
func TraceIDHasSuffix ¶
func TraceIDHasSuffix(v string) predicate.AgentEvent
TraceIDHasSuffix applies the HasSuffix predicate on the "trace_id" field.
func TraceIDIn ¶
func TraceIDIn(vs ...string) predicate.AgentEvent
TraceIDIn applies the In predicate on the "trace_id" field.
func TraceIDIsNil ¶
func TraceIDIsNil() predicate.AgentEvent
TraceIDIsNil applies the IsNil predicate on the "trace_id" field.
func TraceIDLT ¶
func TraceIDLT(v string) predicate.AgentEvent
TraceIDLT applies the LT predicate on the "trace_id" field.
func TraceIDLTE ¶
func TraceIDLTE(v string) predicate.AgentEvent
TraceIDLTE applies the LTE predicate on the "trace_id" field.
func TraceIDNEQ ¶
func TraceIDNEQ(v string) predicate.AgentEvent
TraceIDNEQ applies the NEQ predicate on the "trace_id" field.
func TraceIDNotIn ¶
func TraceIDNotIn(vs ...string) predicate.AgentEvent
TraceIDNotIn applies the NotIn predicate on the "trace_id" field.
func TraceIDNotNil ¶
func TraceIDNotNil() predicate.AgentEvent
TraceIDNotNil applies the NotNil predicate on the "trace_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v string) predicate.AgentEvent
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.AgentEvent
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.AgentEvent
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.AgentEvent
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.AgentEvent
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.AgentEvent
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.AgentEvent
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.AgentEvent
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.AgentEvent
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.AgentEvent
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.AgentEvent
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.AgentEvent
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.AgentEvent
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.AgentEvent
VersionNotIn applies the NotIn predicate on the "version" field.
func WorkflowID ¶
func WorkflowID(v string) predicate.AgentEvent
WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.
func WorkflowIDContains ¶
func WorkflowIDContains(v string) predicate.AgentEvent
WorkflowIDContains applies the Contains predicate on the "workflow_id" field.
func WorkflowIDContainsFold ¶
func WorkflowIDContainsFold(v string) predicate.AgentEvent
WorkflowIDContainsFold applies the ContainsFold predicate on the "workflow_id" field.
func WorkflowIDEQ ¶
func WorkflowIDEQ(v string) predicate.AgentEvent
WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.
func WorkflowIDEqualFold ¶
func WorkflowIDEqualFold(v string) predicate.AgentEvent
WorkflowIDEqualFold applies the EqualFold predicate on the "workflow_id" field.
func WorkflowIDGT ¶
func WorkflowIDGT(v string) predicate.AgentEvent
WorkflowIDGT applies the GT predicate on the "workflow_id" field.
func WorkflowIDGTE ¶
func WorkflowIDGTE(v string) predicate.AgentEvent
WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.
func WorkflowIDHasPrefix ¶
func WorkflowIDHasPrefix(v string) predicate.AgentEvent
WorkflowIDHasPrefix applies the HasPrefix predicate on the "workflow_id" field.
func WorkflowIDHasSuffix ¶
func WorkflowIDHasSuffix(v string) predicate.AgentEvent
WorkflowIDHasSuffix applies the HasSuffix predicate on the "workflow_id" field.
func WorkflowIDIn ¶
func WorkflowIDIn(vs ...string) predicate.AgentEvent
WorkflowIDIn applies the In predicate on the "workflow_id" field.
func WorkflowIDIsNil ¶
func WorkflowIDIsNil() predicate.AgentEvent
WorkflowIDIsNil applies the IsNil predicate on the "workflow_id" field.
func WorkflowIDLT ¶
func WorkflowIDLT(v string) predicate.AgentEvent
WorkflowIDLT applies the LT predicate on the "workflow_id" field.
func WorkflowIDLTE ¶
func WorkflowIDLTE(v string) predicate.AgentEvent
WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.
func WorkflowIDNEQ ¶
func WorkflowIDNEQ(v string) predicate.AgentEvent
WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.
func WorkflowIDNotIn ¶
func WorkflowIDNotIn(vs ...string) predicate.AgentEvent
WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.
func WorkflowIDNotNil ¶
func WorkflowIDNotNil() predicate.AgentEvent
WorkflowIDNotNil applies the NotNil predicate on the "workflow_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the AgentEvent queries.
func ByAgentID ¶
func ByAgentID(opts ...sql.OrderTermOption) OrderOption
ByAgentID orders the results by the agent_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEventCategory ¶
func ByEventCategory(opts ...sql.OrderTermOption) OrderOption
ByEventCategory orders the results by the event_category field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the event_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySeverity ¶
func BySeverity(opts ...sql.OrderTermOption) OrderOption
BySeverity orders the results by the severity field.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func BySpanID ¶
func BySpanID(opts ...sql.OrderTermOption) OrderOption
BySpanID orders the results by the span_id field.
func ByTaskField ¶
func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaskField orders the results by task field.
func ByTaskID ¶
func ByTaskID(opts ...sql.OrderTermOption) OrderOption
ByTaskID orders the results by the task_id field.
func ByTimestamp ¶
func ByTimestamp(opts ...sql.OrderTermOption) OrderOption
ByTimestamp orders the results by the timestamp field.
func ByTraceID ¶
func ByTraceID(opts ...sql.OrderTermOption) OrderOption
ByTraceID orders the results by the trace_id field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.
func ByWorkflowField ¶
func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkflowField orders the results by workflow field.
func ByWorkflowID ¶
func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
ByWorkflowID orders the results by the workflow_id field.