Documentation
¶
Index ¶
- func AcknowledgedByUser(i pagerduty.Incident, id string) bool
- func AssignedToAnyUsers(i pagerduty.Incident, ids []string) bool
- func AssignedToUser(i pagerduty.Incident, id string) bool
- func InitialModel(token string, teams []string, escalation_policies map[string]string, ...) (tea.Model, tea.Cmd)
- func ShouldBeAcknowledged(p *pd.Config, i pagerduty.Incident, id string, autoAcknowledge bool) bool
- func UserIsOnCall(p *pd.Config, id string) bool
- type PollIncidentsMsg
- type TickMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcknowledgedByUser ¶ added in v0.0.7
AcknowledgedByUser returns true if the incident has been acknowledged by the given user
func AssignedToAnyUsers ¶
AssignedToAnyUsers returns true if the incident is assigned to any of the given users
func AssignedToUser ¶
AssignedToUser returns true if the incident is assigned to the given user
func InitialModel ¶
func ShouldBeAcknowledged ¶ added in v0.0.7
ShouldBeAcknowledged returns true if the incident is assigned to the given user, the user has not acknowledged the incident yet, and autoAcknowledge is enabled
Types ¶
type PollIncidentsMsg ¶ added in v0.0.7
type PollIncidentsMsg struct{}
Click to show internal directories.
Click to hide internal directories.