Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLog ¶
type AuditLog struct { ID string `json:"id" datastore:"id"` Action string `json:"action"` User string `json:"user"` Body string `json:"body" datastore:"body,noindex"` Timestamp int64 `json:"timestamp" datastore:"timestamp"` }
AuditLog - contains information about action taken by a user on am.
type IncidentsInRangeRequest ¶
type IncidentsInRangeRequest struct { Range string `json:"range"` Incident incident.Incident `json:"incident"` }
IncidentsInRangeRequest - request of the "incidents_in_range" endpoint.
type IncidentsResponse ¶
type IncidentsResponse struct { Incidents []incident.Incident `json:"incidents"` IdsToRecentlyExpiredSilences map[string]bool `json:"ids_to_recently_expired_silences"` }
IncidentsResponse - response of the "incidents" endpoint.
type RecentIncidentsResponse ¶
type RecentIncidentsResponse struct { Incidents []incident.Incident `json:"incidents"` Flaky bool `json:"flaky"` RecentlyExpiredSilence bool `json:"recently_expired_silence"` }
RecentIncidentsResponse - response of the "recent_incidents" endpoint.
type StatsRequest ¶
type StatsRequest struct {
Range string `json:"range"`
}
StatsRequest - request of the "stats" endpoint.
Click to show internal directories.
Click to hide internal directories.