64 lines
1.3 KiB
Go
Executable file
64 lines
1.3 KiB
Go
Executable file
package main
|
|
|
|
// ActionItem — одна задача из раздела Action Items
|
|
type ActionItem struct {
|
|
Task string
|
|
Assignee string
|
|
Deadline string
|
|
}
|
|
|
|
// TimelineEvent — одно событие в хронологии инцидента
|
|
type TimelineEvent struct {
|
|
Time string
|
|
Event string
|
|
}
|
|
|
|
// WhyItem — одна итерация анализа «5 Почему»
|
|
type WhyItem struct {
|
|
Why string
|
|
Answer string
|
|
}
|
|
|
|
// PostMortem — полная структура документа
|
|
type PostMortem struct {
|
|
// Заголовок
|
|
Title string
|
|
Status string
|
|
Severity string
|
|
IncidentDate string
|
|
PostmortemDate string
|
|
Author string
|
|
Participants string
|
|
|
|
// Резюме
|
|
Summary string
|
|
|
|
// Impact
|
|
Duration string
|
|
AffectedUsers string
|
|
AffectedServices string
|
|
FinancialLoss string
|
|
SLABreach string
|
|
SupportTickets string
|
|
|
|
// Хронология
|
|
Timeline []TimelineEvent
|
|
|
|
// Корневая причина
|
|
RootCause string
|
|
WhyAnalysis []WhyItem
|
|
|
|
// Факторы и выводы
|
|
Contributing []string
|
|
WentWell []string
|
|
ToImprove []string
|
|
|
|
// Action items
|
|
ActionItems []ActionItem
|
|
|
|
// Ссылки
|
|
TicketLink string
|
|
LogsLink string
|
|
PRLink string
|
|
MeetingLink string
|
|
}
|