Documentation
¶
Index ¶
- Variables
- type ConversationSearch
- type LeasePredicate
- type MessageAssistantFinal
- type MessageAssistantStatus
- type MessageTurnTask
- type RunExpected
- type RunPatchCondition
- type RunPredicate
- type TechnicalReportAuditRetention
- type TechnicalReportJobRetention
- type TechnicalReportRunRetention
- type TechnicalRetention
- type TechnicalSessionRetention
- type TokenLeasePredicate
Constants ¶
This section is empty.
Variables ¶
var LinkedConversationSearch = reflect.TypeFor[ConversationSearch]()
var LinkedLeaseHandler predicate.Handler = &LeasePredicate{}
var LinkedLeaseTypes = []reflect.Type{reflect.TypeFor[LeasePredicate]()}
var LinkedMessageTypes = []reflect.Type{reflect.TypeFor[MessageTurnTask](), reflect.TypeFor[MessageAssistantFinal](), reflect.TypeFor[MessageAssistantStatus]()}
var LinkedRunHandler predicate.Handler = &RunPredicate{}
var LinkedRunTypes = []reflect.Type{reflect.TypeFor[RunPredicate](), reflect.TypeFor[RunPatchCondition](), reflect.TypeFor[RunExpected]()}
var LinkedTechnicalRetentionTypes = []reflect.Type{reflect.TypeFor[TechnicalRetention](), reflect.TypeFor[TechnicalReportRunRetention](), reflect.TypeFor[TechnicalReportJobRetention](), reflect.TypeFor[TechnicalReportAuditRetention](), reflect.TypeFor[TechnicalSessionRetention]()}
var LinkedTokenLeasePredicate = reflect.TypeFor[TokenLeasePredicate]()
Functions ¶
This section is empty.
Types ¶
type ConversationSearch ¶
type ConversationSearch struct{}
ConversationSearch preserves the public page search across the ID, title, and summary. Values remain bound parameters on every database dialect.
type LeasePredicate ¶
type LeasePredicate struct {
Owner string `bind:"kind=input,in=LeaseOwner"`
Now time.Time `bind:"kind=input,in=LeaseNow"`
}
LeasePredicate uses the writer's typed owner and clock inputs.
type MessageAssistantFinal ¶
type MessageAssistantFinal struct{}
type MessageAssistantStatus ¶
type MessageAssistantStatus struct{}
type MessageTurnTask ¶
type MessageTurnTask struct{}
Presence controls activation. The supplied boolean does not change the legacy meaning of these named business filters.
type RunExpected ¶
type RunPatchCondition ¶
type RunPatchCondition struct {
Status string `json:",omitempty"`
LeaseOwner *string `json:",omitempty"`
Attempt *int `json:",omitempty"`
}
RunPatchCondition retains the legacy run business expectations. Datly's existing predicate system owns activation and mutation criteria.
type RunPredicate ¶
type RunPredicate struct{}
type TechnicalReportAuditRetention ¶
type TechnicalReportAuditRetention struct{}
type TechnicalReportJobRetention ¶
type TechnicalReportJobRetention struct{}
type TechnicalReportRunRetention ¶
type TechnicalReportRunRetention struct{}
type TechnicalRetention ¶
type TechnicalRetention struct {
Scope string
OlderThan time.Time
EvaluatedAt time.Time
AfterRecord string
ExactRecord string
}
TechnicalRetention is supplied only by the trusted retention orchestration. Predicates keep cutoff, TTL, reference guards and keyset cursors in SQL.
type TechnicalSessionRetention ¶
type TechnicalSessionRetention struct{}
type TokenLeasePredicate ¶
type TokenLeasePredicate struct{}
TokenLeasePredicate keeps the claim race guard on the database server clock. It is used only by the generated token writer's claim mode.