Documentation
¶
Index ¶
- type ActivityID
- type ActivityType
- type AgentMemoryID
- type AlertConclusion
- type AlertID
- type AlertListID
- type AlertSchema
- type AlertSeverity
- type CommentID
- type GenAIContentFormat
- type HistoryID
- type KnowledgeSlug
- type KnowledgeState
- type KnowledgeTopic
- type MemoryID
- type MessageID
- type NoticeID
- type PublishType
- type RunbookID
- type SessionID
- type SessionStatus
- type Source
- type TicketID
- type TicketStatus
- type UserID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityID ¶
type ActivityID string
const (
EmptyActivityID ActivityID = ""
)
func NewActivityID ¶
func NewActivityID() ActivityID
func (ActivityID) String ¶
func (x ActivityID) String() string
func (ActivityID) Validate ¶
func (x ActivityID) Validate() error
type ActivityType ¶
type ActivityType string
const ( ActivityTypeTicketCreated ActivityType = "ticket_created" ActivityTypeTicketUpdated ActivityType = "ticket_updated" ActivityTypeTicketStatusChanged ActivityType = "ticket_status_changed" ActivityTypeCommentAdded ActivityType = "comment_added" ActivityTypeAlertBound ActivityType = "alert_bound" ActivityTypeAlertsBulkBound ActivityType = "alerts_bulk_bound" )
func (ActivityType) Label ¶
func (t ActivityType) Label() string
func (ActivityType) String ¶
func (t ActivityType) String() string
func (ActivityType) Validate ¶
func (t ActivityType) Validate() error
type AgentMemoryID ¶ added in v0.5.0
type AgentMemoryID string
const (
EmptyAgentMemoryID AgentMemoryID = ""
)
func NewAgentMemoryID ¶ added in v0.5.0
func NewAgentMemoryID() AgentMemoryID
func (AgentMemoryID) String ¶ added in v0.5.0
func (x AgentMemoryID) String() string
type AlertConclusion ¶
type AlertConclusion string
AlertConclusion is the conclusion of the alert. This is set by the user.
const ( AlertConclusionIntended AlertConclusion = "intended" AlertConclusionUnaffected AlertConclusion = "unaffected" AlertConclusionFalsePositive AlertConclusion = "false_positive" AlertConclusionTruePositive AlertConclusion = "true_positive" AlertConclusionEscalated AlertConclusion = "escalated" )
func (AlertConclusion) Label ¶
func (r AlertConclusion) Label() string
func (AlertConclusion) String ¶
func (r AlertConclusion) String() string
func (AlertConclusion) Validate ¶
func (r AlertConclusion) Validate() error
type AlertListID ¶
type AlertListID string
const (
EmptyAlertListID AlertListID = ""
)
func NewAlertListID ¶
func NewAlertListID() AlertListID
func (AlertListID) String ¶
func (x AlertListID) String() string
func (AlertListID) Validate ¶
func (x AlertListID) Validate() error
type AlertSchema ¶
type AlertSchema string
func (AlertSchema) String ¶
func (x AlertSchema) String() string
type AlertSeverity ¶
type AlertSeverity string
AlertSeverity is the severity of the alert. This is set by the AI.
const ( AlertSeverityUnknown AlertSeverity = "unknown" AlertSeverityLow AlertSeverity = "low" AlertSeverityMedium AlertSeverity = "medium" AlertSeverityHigh AlertSeverity = "high" AlertSeverityCritical AlertSeverity = "critical" )
func (AlertSeverity) Label ¶
func (s AlertSeverity) Label() string
func (AlertSeverity) String ¶
func (s AlertSeverity) String() string
func (AlertSeverity) Validate ¶
func (s AlertSeverity) Validate() error
type GenAIContentFormat ¶ added in v0.4.0
type GenAIContentFormat string
const ( GenAIContentFormatText GenAIContentFormat = "text" GenAIContentFormatJSON GenAIContentFormat = "json" )
func (GenAIContentFormat) Validate ¶ added in v0.4.0
func (x GenAIContentFormat) Validate() error
Validate checks if the GenAIContentFormat has a valid value
type KnowledgeSlug ¶ added in v0.8.0
type KnowledgeSlug string
KnowledgeSlug uniquely identifies a knowledge within a topic
func (KnowledgeSlug) String ¶ added in v0.8.0
func (s KnowledgeSlug) String() string
func (KnowledgeSlug) Validate ¶ added in v0.8.0
func (s KnowledgeSlug) Validate() error
type KnowledgeState ¶ added in v0.8.0
type KnowledgeState string
KnowledgeState represents the state of knowledge
const ( KnowledgeStateActive KnowledgeState = "active" KnowledgeStateArchived KnowledgeState = "archived" )
func (KnowledgeState) IsActive ¶ added in v0.8.0
func (s KnowledgeState) IsActive() bool
func (KnowledgeState) IsArchived ¶ added in v0.8.0
func (s KnowledgeState) IsArchived() bool
func (KnowledgeState) String ¶ added in v0.8.0
func (s KnowledgeState) String() string
func (KnowledgeState) Validate ¶ added in v0.8.0
func (s KnowledgeState) Validate() error
type KnowledgeTopic ¶ added in v0.8.0
type KnowledgeTopic string
KnowledgeTopic is the namespace for knowledge
func (KnowledgeTopic) String ¶ added in v0.8.0
func (t KnowledgeTopic) String() string
func (KnowledgeTopic) Validate ¶ added in v0.8.0
func (t KnowledgeTopic) Validate() error
type MemoryID ¶ added in v0.5.0
type MemoryID string
const (
EmptyMemoryID MemoryID = ""
)
func NewMemoryID ¶ added in v0.5.0
func NewMemoryID() MemoryID
type MessageID ¶ added in v0.8.0
type MessageID string
func NewMessageID ¶ added in v0.8.0
func NewMessageID() MessageID
type NoticeID ¶ added in v0.4.0
type NoticeID string
NoticeID represents a unique identifier for notice
const (
EmptyNoticeID NoticeID = ""
)
func NewNoticeID ¶ added in v0.4.0
func NewNoticeID() NoticeID
type PublishType ¶ added in v0.4.0
type PublishType string
const ( PublishTypeDiscard PublishType = "discard" // Discard the alert PublishTypeNotice PublishType = "notice" // Send as notice PublishTypeAlert PublishType = "alert" // Send as full alert (default) )
type SessionID ¶ added in v0.8.0
type SessionID string
SessionID represents a unique chat session identifier
func NewSessionID ¶ added in v0.8.0
func NewSessionID() SessionID
NewSessionID generates a new session ID
type SessionStatus ¶ added in v0.8.0
type SessionStatus string
SessionStatus represents the status of a chat session
const ( SessionStatusRunning SessionStatus = "running" SessionStatusAborted SessionStatus = "aborted" SessionStatusCompleted SessionStatus = "completed" )
func (SessionStatus) String ¶ added in v0.8.0
func (x SessionStatus) String() string
type Source ¶ added in v0.1.0
type Source string
Source represents the source of metadata (title, description, etc.)
func (Source) IsAIGenerated ¶ added in v0.1.0
IsAIGenerated returns true if the source is AI-generated
type TicketID ¶
type TicketID string
const (
EmptyTicketID TicketID = ""
)
func NewTicketID ¶
func NewTicketID() TicketID
type TicketStatus ¶
type TicketStatus string
const ( TicketStatusOpen TicketStatus = "open" TicketStatusPending TicketStatus = "pending" TicketStatusResolved TicketStatus = "resolved" TicketStatusArchived TicketStatus = "archived" )
func (TicketStatus) Icon ¶
func (s TicketStatus) Icon() string
func (TicketStatus) Label ¶
func (s TicketStatus) Label() string
func (TicketStatus) String ¶
func (s TicketStatus) String() string
func (TicketStatus) Validate ¶
func (s TicketStatus) Validate() error