Documentation ¶
Index ¶
- Variables
- func BroadcastIndexGetEndpoint(c echo.Context) error
- func BroadcastIndexPutEndpoint(c echo.Context) error
- func GroupDetailsGetEndpoint(c echo.Context) error
- func GroupEnvironmentDetailsGetEndpoint(c echo.Context) error
- func GroupEventsLatestGetEndpoint(c context.Base) error
- func OrganizationDetailsGetEndpoint(c context.Organization) error
- func OrganizationIndexGetEndpoint(c context.Base) error
- func ProjectEnvironmentsGetEndpoint(c context.Project) error
- func ProjectGroupIndexGetEndpoint(c context.Project) error
- func ProjectMemberIndexGetEndpoint(c context.Project) error
- func ProjectSearchesGetEndpoint(c context.Project) error
- func ProjectSearchesPostEndpoint(c context.Project) error
- func ProjectTagsGetEndpoint(c context.Project) error
- func SystemHealthGetEndpoint(c echo.Context) error
- type Event
- type Group
- type GroupProjectInfo
- type GroupStatistic
- type OrganizationDetails
- type Project
- type QueryDto
- type Quota
- type SystemHealth
- type SystemHealthStatus
- type Team
- type User
- type UserOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupStatusChoices = map[string]int{ "resolved": models.GroupStatusResolved, "unresolved": models.GroupStatusUnresolved, "ignored": models.GroupStatusIgnored, "resolvedInNextRelease": models.GroupStatusUnresolved, "muted": models.GroupStatusIgnored, }
TODO use const modifier
Functions ¶
func GroupDetailsGetEndpoint ¶
func OrganizationDetailsGetEndpoint ¶
func OrganizationDetailsGetEndpoint(c context.Organization) error
func ProjectTagsGetEndpoint ¶
func SystemHealthGetEndpoint ¶
TODO replace stub with real implementation
Types ¶
type Event ¶
type Event struct { models.Event models.EventDetails `kv:",squash"` interfaces.EventInterfaces `kv:",squash"` PreviousEventID *string `json:"previousEventID"` NextEventID *string `json:"nextEventID"` }
type Group ¶
type Group struct { models.Group ShortID string `json:"shortId"` Status string `json:"status"` Logger *string `json:"logger"` Level string `json:"level"` Type string `json:"type"` Annotations []string `json:"annotations"` AssignedTo *string `json:"assignedTo"` Count int `json:"count"` UserCount int `json:"userCount"` HasSeen bool `json:"hasSeen"` Project GroupProjectInfo `json:"project"` IsBookmarked bool `json:"isBookmarked"` IsSubscribed bool `json:"isSubscribed"` Permalink string `json:"permalink"` Metadata map[string]string `json:"metadata"` // TODO check type StatusDetails map[string]string `json:"statusDetails"` // TODO check type SubscriptionDetails *string `json:"subscriptionDetails"` Stats GroupStatistic `json:"stats"` }
TODO check that TimeSpent is not missing
type GroupProjectInfo ¶
GroupProjectInfo ...
type GroupStatistic ¶
type GroupStatistic struct {
For24h []string `json:"24h"`
}
GroupStatistic ...
type OrganizationDetails ¶
type OrganizationDetails struct { models.Organization PendingAccessRequests int `json:"pendingAccessRequests"` Features []string `json:"features"` Quota Quota `json:"quota"` Access []string `json:"access"` Teams []Team `json:"teams"` }
OrganizationDetails ...
type Project ¶
type Project struct { models.Project IsPublic bool `json:"isPublic"` Features []string `json:"features"` }
Project ..
type QueryDto ¶
type QueryDto struct { ProjectID int Query string // ? Status *int Tags string BookmarkedBy string AssignedTo string FirstRelease *string SortBy string // date (default) | priority | new | freq Unassigned *bool AgeFrom time.Time AgeFromInclusive bool AgeTo time.Time AgeToInclusive bool DateFrom time.Time DateFromInclusive bool DateTo time.Time DateToInclusive bool Cursor string Limit string }
type Quota ¶
type Quota struct { ProjectLimit int `db:"project_limit" json:"projectLimit"` MaxRate int `json:"maxRate"` }
Quota ..
type SystemHealth ¶
type SystemHealth struct { Healthy SystemHealthStatus `json:"healthy"` Problems []string `json:"problems"` // TODO []SystemHealthProblem }
SystemHealth ...
type SystemHealthStatus ¶
type SystemHealthStatus struct { CeleryAppVersionCheck bool `json:"CeleryAppVersionCheck"` CeleryAliveCheck bool `json:"CeleryAliveCheck"` WarningStatusCheck bool `json:"WarningStatusCheck"` }
SystemHealthStatus ..
type Team ¶
type Team struct { models.Team HasAccess bool `db:"has_access" json:"hasAccess"` IsPending bool `db:"is_pending" json:"isPending"` IsMember bool `db:"is_member" json:"isMember"` Projects []Project `json:"projects"` }
Team ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.