internal

package
v0.19.1237 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTPPort    string   `config:"http_port" validate:"required"`
	LogLevel    string   `config:"log_level"`
	ServiceName string   `config:"service_name"`
	Version     string   `config:"version"`
	GitRef      string   `config:"git_ref"`
	Middlewares []string `config:"middlewares"`
	DistDir     string   `config:"dist_dir"`
	PublicDir   string   `config:"public_dir"`

	APIUrl string `config:"nuon_api_url"`
	// RunnerAPIUrl is the runner API install stacks authenticate against. A different
	// host from APIUrl, and the audience a stack's OIDC trust policy names.
	RunnerAPIUrl           string `config:"nuon_runner_api_url"`
	AdminAPIUrl            string `config:"nuon_admin_api_url"`
	TemporalUIUrl          string `config:"nuon_temporal_ui_url"`
	KafkaUIUrl             string `config:"nuon_kafka_ui_url"`
	GrafanaUIUrl           string `config:"nuon_grafana_ui_url"`
	AuthServiceUrl         string `config:"nuon_auth_service_url"`
	AppUrl                 string `config:"nuon_app_url"`
	GithubAppName          string `config:"github_app_name"`
	PylonAppID             string `config:"pylon_app_id"`
	DatadogEnv             string `config:"datadog_env"`
	DatadogAPIKey          string `config:"datadog_api_key"`
	DatadogApplicationKey  string `config:"datadog_application_key"`
	DatadogTraceDebug      bool   `config:"datadog_trace_debug"`
	DatadogAPIUrl          string `config:"datadog_api_url"`
	DisableMetrics         bool   `config:"disable_metrics"`
	ServiceDeployment      string `config:"service_deployment"`
	IsBYOC                 bool   `config:"nuon_byoc"`
	BYOCName               string `config:"nuon_byoc_name"`
	BYOCIconText           string `config:"nuon_byoc_icon_text"`
	BYOCColor              string `config:"nuon_byoc_color"`
	OnboardingFirstRun     bool   `config:"nuon_onboarding_first_run"`
	DashboardLite          bool   `config:"nuon_dashboard_lite"`
	StatusBarAutoEnabled   bool   `config:"status_bar_auto_enabled"`
	InstallsTabAutoEnabled bool   `config:"installs_tab_auto_enabled"`
	AdminDashboardUrl      string `config:"nuon_admin_dashboard_url"`
	PostHogKey             string `config:"posthog_key"`
	PostHogHost            string `config:"posthog_host"`
	PostHogReplayEnabled   bool   `config:"posthog_replay_enabled"`
}

func NewConfig

func NewConfig() (*Config, error)

Directories

Path Synopsis
middlewares

Jump to

Keyboard shortcuts

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