Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertDetailLoadedMsg ¶
type AlertDetailLoadedMsg struct {
Alert *api.Alert
Index int // Index in the alerts list to update
Err error
}
AlertDetailLoadedMsg is sent when alert detail is fetched
type AlertsLoadedMsg ¶
type AlertsLoadedMsg struct {
Alerts []api.Alert
Pagination api.PaginationInfo
Err error
}
AlertsLoadedMsg is sent when alerts are loaded from the API
type IncidentDetailLoadedMsg ¶
type IncidentDetailLoadedMsg struct {
Incident *api.Incident
Index int // Index in the incidents list to update
Err error
}
IncidentDetailLoadedMsg is sent when incident detail is fetched
type IncidentsLoadedMsg ¶
type IncidentsLoadedMsg struct {
Incidents []api.Incident
Pagination api.PaginationInfo
Err error
}
IncidentsLoadedMsg is sent when incidents are loaded from the API
type KeyMap ¶
type KeyMap struct {
Up key.Binding
Down key.Binding
Tab key.Binding
Refresh key.Binding
Help key.Binding
Logs key.Binding
Setup key.Binding
About key.Binding
Quit key.Binding
Enter key.Binding
Open key.Binding
Top key.Binding
Bottom key.Binding
PrevPage key.Binding
NextPage key.Binding
}
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
Click to show internal directories.
Click to hide internal directories.