Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultKubeConfigPath ¶
func GetDefaultKubeConfigPath() string
func MakeHeadlampKubeConfigsDir ¶
MakeHeadlampKubeConfigsDir returns the default directory to store kubeconfig files of clusters that are loaded in Headlamp.
Types ¶
type Config ¶
type Config struct { InCluster bool `koanf:"in-cluster"` DevMode bool `koanf:"dev"` InsecureSsl bool `koanf:"insecure-ssl"` EnableHelm bool `koanf:"enable-helm"` EnableDynamicClusters bool `koanf:"enable-dynamic-clusters"` ListenAddr string `koanf:"listen-addr"` WatchPluginsChanges bool `koanf:"watch-plugins-changes"` Port uint `koanf:"port"` KubeConfigPath string `koanf:"kubeconfig"` SkippedKubeContexts string `koanf:"skipped-kube-contexts"` StaticDir string `koanf:"html-static-dir"` PluginsDir string `koanf:"plugins-dir"` BaseURL string `koanf:"base-url"` ProxyURLs string `koanf:"proxy-urls"` OidcClientID string `koanf:"oidc-client-id"` OidcValidatorClientID string `koanf:"oidc-validator-client-id"` OidcClientSecret string `koanf:"oidc-client-secret"` OidcIdpIssuerURL string `koanf:"oidc-idp-issuer-url"` OidcValidatorIdpIssuerURL string `koanf:"oidc-validator-idp-issuer-url"` OidcScopes string `koanf:"oidc-scopes"` OidcUseAccessToken bool `koanf:"oidc-use-access-token"` // telemetry configs ServiceName string `koanf:"service-name"` ServiceVersion *string `koanf:"service-version"` TracingEnabled *bool `koanf:"tracing-enabled"` MetricsEnabled *bool `koanf:"metrics-enabled"` JaegerEndpoint *string `koanf:"jaeger-endpoint"` OTLPEndpoint *string `koanf:"otlp-endpoint"` UseOTLPHTTP *bool `koanf:"use-otlp-http"` StdoutTraceEnabled *bool `koanf:"stdout-trace-enabled"` SamplingRate *float64 `koanf:"sampling-rate"` }
Click to show internal directories.
Click to hide internal directories.