Documentation
¶
Index ¶
- Variables
- type ActivitiesResponse
- type Activity
- type AlertAttribute
- type AlertsResponse
- type CommentsResponse
- type CreateKnowledgeInput
- type CreateKnowledgeTagInput
- type DashboardStats
- type DiagnosesResponse
- type Diagnosis
- type DiagnosisIssue
- type DiagnosisIssuesResponse
- type Knowledge
- type KnowledgeLog
- type KnowledgeTag
- type Mutation
- type Query
- type QueuedAlertsResponse
- type ReprocessJobStatus
- func (e ReprocessJobStatus) IsValid() bool
- func (e ReprocessJobStatus) MarshalGQL(w io.Writer)
- func (e ReprocessJobStatus) MarshalJSON() ([]byte, error)
- func (e ReprocessJobStatus) String() string
- func (e *ReprocessJobStatus) UnmarshalGQL(v any) error
- func (e *ReprocessJobStatus) UnmarshalJSON(b []byte) error
- type Session
- type SessionMessage
- type SortOrder
- type TagMetadata
- type TagObject
- type TicketsResponse
- type UpdateKnowledgeInput
- type UpdateKnowledgeTagInput
- type UpdateTagInput
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var AllReprocessJobStatus = []ReprocessJobStatus{ ReprocessJobStatusPending, ReprocessJobStatusRunning, ReprocessJobStatusCompleted, ReprocessJobStatusFailed, }
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 AlertAttribute ¶
type AlertsResponse ¶ added in v0.1.0
type CommentsResponse ¶
type CreateKnowledgeInput ¶ added in v0.8.0
type CreateKnowledgeTagInput ¶ added in v0.14.0
type DashboardStats ¶
type DashboardStats struct {
OpenTicketsCount int `json:"openTicketsCount"`
UnboundAlertsCount int `json:"unboundAlertsCount"`
DeclinedAlertsCount int `json:"declinedAlertsCount"`
QueuedAlertsCount int `json:"queuedAlertsCount"`
OpenTickets []*ticket.Ticket `json:"openTickets"`
UnboundAlerts []*alert.Alert `json:"unboundAlerts"`
}
type DiagnosesResponse ¶ added in v0.13.0
type DiagnosisIssue ¶ added in v0.13.0
type DiagnosisIssue struct {
ID string `json:"id"`
DiagnosisID string `json:"diagnosisID"`
RuleID string `json:"ruleID"`
TargetID string `json:"targetID"`
Description string `json:"description"`
Status string `json:"status"`
FixedAt *string `json:"fixedAt,omitempty"`
FailReason *string `json:"failReason,omitempty"`
CreatedAt string `json:"createdAt"`
}
type DiagnosisIssuesResponse ¶ added in v0.13.0
type DiagnosisIssuesResponse struct {
Issues []*DiagnosisIssue `json:"issues"`
TotalCount int `json:"totalCount"`
}
type Knowledge ¶ added in v0.8.0
type Knowledge struct {
ID string `json:"id"`
Category string `json:"category"`
Title string `json:"title"`
Claim string `json:"claim"`
Tags []*KnowledgeTag `json:"tags"`
AuthorID string `json:"authorID"`
Author *User `json:"author"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type KnowledgeLog ¶ added in v0.14.0
type KnowledgeLog struct {
ID string `json:"id"`
KnowledgeID string `json:"knowledgeID"`
Title string `json:"title"`
Claim string `json:"claim"`
AuthorID string `json:"authorID"`
Author *User `json:"author"`
TicketID *string `json:"ticketID,omitempty"`
Message string `json:"message"`
CreatedAt string `json:"createdAt"`
}
type KnowledgeTag ¶ added in v0.14.0
type QueuedAlertsResponse ¶ added in v0.14.0
type QueuedAlertsResponse struct {
Alerts []*alert.QueuedAlert `json:"alerts"`
TotalCount int `json:"totalCount"`
}
type ReprocessJobStatus ¶ added in v0.14.0
type ReprocessJobStatus string
const ( ReprocessJobStatusPending ReprocessJobStatus = "PENDING" ReprocessJobStatusRunning ReprocessJobStatus = "RUNNING" ReprocessJobStatusCompleted ReprocessJobStatus = "COMPLETED" ReprocessJobStatusFailed ReprocessJobStatus = "FAILED" )
func (ReprocessJobStatus) IsValid ¶ added in v0.14.0
func (e ReprocessJobStatus) IsValid() bool
func (ReprocessJobStatus) MarshalGQL ¶ added in v0.14.0
func (e ReprocessJobStatus) MarshalGQL(w io.Writer)
func (ReprocessJobStatus) MarshalJSON ¶ added in v0.14.0
func (e ReprocessJobStatus) MarshalJSON() ([]byte, error)
func (ReprocessJobStatus) String ¶ added in v0.14.0
func (e ReprocessJobStatus) String() string
func (*ReprocessJobStatus) UnmarshalGQL ¶ added in v0.14.0
func (e *ReprocessJobStatus) UnmarshalGQL(v any) error
func (*ReprocessJobStatus) UnmarshalJSON ¶ added in v0.14.0
func (e *ReprocessJobStatus) 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 UpdateKnowledgeInput ¶ added in v0.8.0
type UpdateKnowledgeTagInput ¶ added in v0.14.0
type UpdateTagInput ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.