MCPcopy Index your code
hub / github.com/coder/coder / DeploymentValues

Struct DeploymentValues

codersdk/deployment.go:607–685  ·  view source on GitHub ↗

DeploymentValues is the central configuration values the coder server.

Source from the content-addressed store, hash-verified

605
606// DeploymentValues is the central configuration values the coder server.
607type DeploymentValues struct {
608 Verbose serpent.Bool `json:"verbose,omitempty"`
609 AccessURL serpent.URL `json:"access_url,omitempty"`
610 WildcardAccessURL serpent.String `json:"wildcard_access_url,omitempty"`
611 DocsURL serpent.URL `json:"docs_url,omitempty"`
612 RedirectToAccessURL serpent.Bool `json:"redirect_to_access_url,omitempty"`
613 // HTTPAddress is a string because it may be set to zero to disable.
614 HTTPAddress serpent.String `json:"http_address,omitempty" typescript:",notnull"`
615 AutobuildPollInterval serpent.Duration `json:"autobuild_poll_interval,omitempty"`
616 JobReaperDetectorInterval serpent.Duration `json:"job_hang_detector_interval,omitempty"`
617 DERP DERP `json:"derp,omitempty" typescript:",notnull"`
618 Prometheus PrometheusConfig `json:"prometheus,omitempty" typescript:",notnull"`
619 Pprof PprofConfig `json:"pprof,omitempty" typescript:",notnull"`
620 ProxyTrustedHeaders serpent.StringArray `json:"proxy_trusted_headers,omitempty" typescript:",notnull"`
621 ProxyTrustedOrigins serpent.StringArray `json:"proxy_trusted_origins,omitempty" typescript:",notnull"`
622 CacheDir serpent.String `json:"cache_directory,omitempty" typescript:",notnull"`
623 EphemeralDeployment serpent.Bool `json:"ephemeral_deployment,omitempty" typescript:",notnull"`
624 PostgresURL serpent.String `json:"pg_connection_url,omitempty" typescript:",notnull"`
625 PostgresAuth string `json:"pg_auth,omitempty" typescript:",notnull"`
626 PostgresConnMaxOpen serpent.Int64 `json:"pg_conn_max_open,omitempty" typescript:",notnull"`
627 PostgresConnMaxIdle serpent.String `json:"pg_conn_max_idle,omitempty" typescript:",notnull"`
628 OAuth2 OAuth2Config `json:"oauth2,omitempty" typescript:",notnull"`
629 OIDC OIDCConfig `json:"oidc,omitempty" typescript:",notnull"`
630 Telemetry TelemetryConfig `json:"telemetry,omitempty" typescript:",notnull"`
631 TLS TLSConfig `json:"tls,omitempty" typescript:",notnull"`
632 Trace TraceConfig `json:"trace,omitempty" typescript:",notnull"`
633 HTTPCookies HTTPCookieConfig `json:"http_cookies,omitempty" typescript:",notnull"`
634 StrictTransportSecurity serpent.Int64 `json:"strict_transport_security,omitempty" typescript:",notnull"`
635 StrictTransportSecurityOptions serpent.StringArray `json:"strict_transport_security_options,omitempty" typescript:",notnull"`
636 SSHKeygenAlgorithm serpent.String `json:"ssh_keygen_algorithm,omitempty" typescript:",notnull"`
637 MetricsCacheRefreshInterval serpent.Duration `json:"metrics_cache_refresh_interval,omitempty" typescript:",notnull"`
638 AgentStatRefreshInterval serpent.Duration `json:"agent_stat_refresh_interval,omitempty" typescript:",notnull"`
639 AgentFallbackTroubleshootingURL serpent.URL `json:"agent_fallback_troubleshooting_url,omitempty" typescript:",notnull"`
640 BrowserOnly serpent.Bool `json:"browser_only,omitempty" typescript:",notnull"`
641 SCIMAPIKey serpent.String `json:"scim_api_key,omitempty" typescript:",notnull"`
642 ExternalTokenEncryptionKeys serpent.StringArray `json:"external_token_encryption_keys,omitempty" typescript:",notnull"`
643 Provisioner ProvisionerConfig `json:"provisioner,omitempty" typescript:",notnull"`
644 RateLimit RateLimitConfig `json:"rate_limit,omitempty" typescript:",notnull"`
645 Experiments serpent.StringArray `json:"experiments,omitempty" typescript:",notnull"`
646 UpdateCheck serpent.Bool `json:"update_check,omitempty" typescript:",notnull"`
647 Swagger SwaggerConfig `json:"swagger,omitempty" typescript:",notnull"`
648 Logging LoggingConfig `json:"logging,omitempty" typescript:",notnull"`
649 Dangerous DangerousConfig `json:"dangerous,omitempty" typescript:",notnull"`
650 DisablePathApps serpent.Bool `json:"disable_path_apps,omitempty" typescript:",notnull"`
651 Sessions SessionLifetime `json:"session_lifetime,omitempty" typescript:",notnull"`
652 DisablePasswordAuth serpent.Bool `json:"disable_password_auth,omitempty" typescript:",notnull"`
653 Support SupportConfig `json:"support,omitempty" typescript:",notnull"`
654 EnableAuthzRecording serpent.Bool `json:"enable_authz_recording,omitempty" typescript:",notnull"`
655 ExternalAuthConfigs serpent.Struct[[]ExternalAuthConfig] `json:"external_auth,omitempty" typescript:",notnull"`
656 ExternalAuthGithubDefaultProviderEnable serpent.Bool `json:"external_auth_github_default_provider_enable,omitempty" typescript:",notnull"`
657 SSHConfig SSHConfig `json:"config_ssh,omitempty" typescript:",notnull"`
658 WgtunnelHost serpent.String `json:"wgtunnel_host,omitempty" typescript:",notnull"`
659 DisableOwnerWorkspaceExec serpent.Bool `json:"disable_owner_workspace_exec,omitempty" typescript:",notnull"`
660 DisableWorkspaceSharing serpent.Bool `json:"disable_workspace_sharing,omitempty" typescript:",notnull"`
661 DisableChatSharing serpent.Bool `json:"disable_chat_sharing,omitempty" typescript:",notnull"`
662 ProxyHealthStatusInterval serpent.Duration `json:"proxy_health_status_interval,omitempty" typescript:",notnull"`
663 EnableTerraformDebugMode serpent.Bool `json:"enable_terraform_debug_mode,omitempty" typescript:",notnull"`
664 UserQuietHoursSchedule UserQuietHoursScheduleConfig `json:"user_quiet_hours_schedule,omitempty" typescript:",notnull"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected