Documentation
¶
Index ¶
- Variables
- type ActivitiesResponse
- type Activity
- type AgentMemoriesResponse
- type AgentMemory
- type AgentSummariesResponse
- type AgentSummary
- type AlertAttribute
- type AlertCluster
- type AlertsConnection
- type AlertsResponse
- type ClusteringSummary
- type CommentsResponse
- type CreateKnowledgeInput
- type DBSCANParameters
- type DashboardStats
- type Knowledge
- type MemorySortField
- type Mutation
- type Query
- type Session
- type SessionMessage
- type SortOrder
- type TagMetadata
- type TagObject
- type TicketsResponse
- type TopicSummary
- type UpdateKnowledgeInput
- type UpdateTagInput
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var AllMemorySortField = []MemorySortField{ MemorySortFieldScore, MemorySortFieldCreatedAt, MemorySortFieldLastUsedAt, }
View Source
var AllSortOrder = []SortOrder{ SortOrderAsc, SortOrderDesc, }
Functions ¶
This section is empty.
Types ¶
type ActivitiesResponse ¶
type Activity ¶
type Activity struct {
ID string `json:"id"`
Type string `json:"type"`
UserID *string `json:"userID,omitempty"`
AlertID *string `json:"alertID,omitempty"`
TicketID *string `json:"ticketID,omitempty"`
CommentID *string `json:"commentID,omitempty"`
CreatedAt string `json:"createdAt"`
Metadata *string `json:"metadata,omitempty"`
User *User `json:"user,omitempty"`
Alert *alert.Alert `json:"alert,omitempty"`
Ticket *ticket.Ticket `json:"ticket,omitempty"`
}
type AgentMemoriesResponse ¶ added in v0.8.0
type AgentMemoriesResponse struct {
Memories []*AgentMemory `json:"memories"`
TotalCount int `json:"totalCount"`
}
type AgentMemory ¶ added in v0.8.0
type AgentSummariesResponse ¶ added in v0.8.0
type AgentSummariesResponse struct {
Agents []*AgentSummary `json:"agents"`
TotalCount int `json:"totalCount"`
}
type AgentSummary ¶ added in v0.8.0
type AlertAttribute ¶
type AlertCluster ¶ added in v0.1.0
type AlertsConnection ¶ added in v0.1.0
type AlertsResponse ¶ added in v0.1.0
type ClusteringSummary ¶ added in v0.1.0
type ClusteringSummary struct {
Clusters []*AlertCluster `json:"clusters"`
NoiseAlerts []*alert.Alert `json:"noiseAlerts"`
Parameters *DBSCANParameters `json:"parameters"`
ComputedAt string `json:"computedAt"`
TotalCount int `json:"totalCount"`
}
type CommentsResponse ¶
type CreateKnowledgeInput ¶ added in v0.8.0
type DBSCANParameters ¶ added in v0.1.0
type DashboardStats ¶
type Knowledge ¶ added in v0.8.0
type Knowledge struct {
Slug string `json:"slug"`
Name string `json:"name"`
Topic string `json:"topic"`
Content string `json:"content"`
CommitID string `json:"commitID"`
AuthorID string `json:"authorID"`
Author *User `json:"author"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
State string `json:"state"`
}
type MemorySortField ¶ added in v0.8.0
type MemorySortField string
const ( MemorySortFieldScore MemorySortField = "SCORE" MemorySortFieldCreatedAt MemorySortField = "CREATED_AT" MemorySortFieldLastUsedAt MemorySortField = "LAST_USED_AT" )
func (MemorySortField) IsValid ¶ added in v0.8.0
func (e MemorySortField) IsValid() bool
func (MemorySortField) MarshalGQL ¶ added in v0.8.0
func (e MemorySortField) MarshalGQL(w io.Writer)
func (MemorySortField) MarshalJSON ¶ added in v0.8.0
func (e MemorySortField) MarshalJSON() ([]byte, error)
func (MemorySortField) String ¶ added in v0.8.0
func (e MemorySortField) String() string
func (*MemorySortField) UnmarshalGQL ¶ added in v0.8.0
func (e *MemorySortField) UnmarshalGQL(v any) error
func (*MemorySortField) UnmarshalJSON ¶ added in v0.8.0
func (e *MemorySortField) UnmarshalJSON(b []byte) error
type Session ¶ added in v0.8.0
type Session struct {
ID string `json:"id"`
TicketID string `json:"ticketID"`
Status string `json:"status"`
UserID *string `json:"userID,omitempty"`
User *User `json:"user,omitempty"`
Query *string `json:"query,omitempty"`
SlackURL *string `json:"slackURL,omitempty"`
Intent *string `json:"intent,omitempty"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type SessionMessage ¶ added in v0.8.0
type SortOrder ¶ added in v0.8.0
type SortOrder string
func (SortOrder) MarshalGQL ¶ added in v0.8.0
func (SortOrder) MarshalJSON ¶ added in v0.8.0
func (*SortOrder) UnmarshalGQL ¶ added in v0.8.0
func (*SortOrder) UnmarshalJSON ¶ added in v0.8.0
type TagMetadata ¶ added in v0.2.0
type TicketsResponse ¶
type TopicSummary ¶ added in v0.8.0
type UpdateKnowledgeInput ¶ added in v0.8.0
type UpdateTagInput ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.