Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WhitelistDomain = newSetting("whitelist-domain", "", "the domains or ips which allowed in autok3s UI proxy") EnableMetrics = newSetting("enable-metrics", "promote", "Should enable telemetry or not") InstallUUID = newSetting("install-uuid", "", "The autok3s instance unique install id") InstallScript = newSetting("install-script", "", "The k3s offline install script with base64 encode") ScriptUpdateSource = newSetting("install-script-source-repo", "https://rancher-mirror.rancher.cn/k3s/k3s-install.sh", "The install script auto update source, github or aliyun oss") PackageDownloadSource = newSetting("package-download-source", "github", "The airgap package download source, github and aliyunoss are validated.") HelmDashboardEnabled = newSetting("helm-dashboard-enabled", "false", "The helm-dashboard is enabled or not") HelmDashboardPort = newSetting("helm-dashboard-port", "", "The helm-dashboard server port after enabled") )
Functions ¶
func GetScriptFromSource ¶ added in v0.6.0
func SetProvider ¶
SetProvider will set the given provider as the global provider for all settings
Types ¶
Click to show internal directories.
Click to hide internal directories.