Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentCoverage ¶
type EnvironmentCoverage struct {
Id string `json:"id"`
Name string `json:"name"`
EnvironmentId string `json:"environment_id"`
AgentId string `json:"agent_id"`
AgentName string `json:"agent_name,omitempty"`
ProjectName string `json:"project_name,omitempty"`
TotalFlags int `json:"totalFlags"`
EnabledFlags int `json:"enabledFlags"`
}
type Summary ¶
type Summary struct {
Projects []project.Project `json:"projects"`
Agents []*agent.Agent `json:"agents"`
Environments []*environment.Environment `json:"environments"`
AllFlags []flags.CompanyFlagEntry `json:"allFlags"`
NewestProject *project.Project `json:"newestProject,omitempty"`
NewestFlag *flags.CompanyFlagEntry `json:"newestFlag,omitempty"`
RecentFlagChanges []flags.CompanyFlagEntry `json:"recentFlagChanges"`
EnvironmentCoverage []EnvironmentCoverage `json:"environmentCoverage"`
Stats stats.CompanyOverview `json:"stats"`
}
type System ¶
type System struct {
Config *ConfigBuilder.Config
}
func NewSystem ¶
func NewSystem(cfg *ConfigBuilder.Config) *System
func (*System) GetSummary ¶
func (s *System) GetSummary(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.