Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentStatus ¶
type EnvironmentStatus struct { Object string `json:"object"` Company string `json:"company"` Team string `json:"team"` Environment string `json:"environment"` Status *ObjectStatus `json:"status"` }
func NewEnvironmentStatus ¶
func NewEnvironmentStatus(events []*event.Event, eventEntries int) (*EnvironmentStatus, error)
type EnvironmentStatusMap ¶
type EnvironmentStatusMap map[string]map[string]*EnvironmentStatus
type GroupedTeamEvents ¶
type ObjectStatus ¶
type ObjectStatus struct { Events []*event.Event `json:"events"` Object string `json:"object"` Meta any `json:"meta"` Status map[event.Family]*Status `json:"status"` }
func NewObjectStatus ¶
func NewObjectStatus(events []*event.Event, entries int) (*ObjectStatus, error)
type Response ¶
type Response struct { TeamsStatus TeamStatusMap `json:"teamsStatus"` EnvironmentStatus EnvironmentStatusMap `json:"environmentStatus"` }
type TeamStatus ¶
type TeamStatus struct { Object string `json:"object"` Company string `json:"company"` Team string `json:"team"` Status *ObjectStatus `json:"status"` }
func NewTeamStatus ¶
func NewTeamStatus(events []*event.Event, eventEntries int) (*TeamStatus, error)
type TeamStatusMap ¶
type TeamStatusMap map[string]*TeamStatus
Click to show internal directories.
Click to hide internal directories.