dashboard

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL