dashboard

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	Host      string `env:"DASHBOARD_HOST" envDefault:"localhost" description:"Dashboard micro-service URL"`
	Port      string `env:"DASHBOARD_PORT" envDefault:"3000" description:"Port for dashboard micro-service"`
	Namespace string `env:"DASHBOARD_NAMESPACE" envDefault:"devtroncd" description:"Dashboard micro-service namespace"`
}

CATEGORY=INFRA_SETUP

func GetConfig

func GetConfig() (*Config, error)

type DashboardRouter added in v0.3.9

type DashboardRouter interface {
	InitDashboardRouter(router *mux.Router)
}

type DashboardRouterImpl added in v0.3.9

type DashboardRouterImpl struct {
	// contains filtered or unexported fields
}

func NewDashboardRouterImpl added in v0.3.9

func NewDashboardRouterImpl(logger *zap.SugaredLogger, dashboardCfg *Config) (*DashboardRouterImpl, error)

func (DashboardRouterImpl) InitDashboardRouter added in v0.3.9

func (router DashboardRouterImpl) InitDashboardRouter(dashboardRouter *mux.Router)

Jump to

Keyboard shortcuts

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