Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnOptionsChange ¶
func OnOptionsChange(oldO, newO interface{}) bool
Types ¶
type WebConsoleOptions ¶
type WebConsoleOptions struct { common_options.CommonOptions common_options.DBOptions KubectlPath string `help:"kubectl binary path used to connect k8s cluster" default:"/usr/bin/kubectl"` AdbPath string `help:"adb binary path" default:"/usr/bin/adb"` IpmitoolPath string `help:"ipmitool binary path used to connect baremetal sol" default:"/usr/bin/ipmitool"` EnableAutoLogin bool `help:"allow webconsole to log in directly with the cloudroot public key" default:"false"` ApsaraConsoleAddr string `help:"Apsara console addr" default:"https://xxxx.com.cn/module/ecs/vnc/index.html"` AliyunConsoleAddr string `help:"Aliyun vnc addr" default:"https://ecs.console.aliyun.com/vnc/index.htm"` SshSessionTimeoutMinutes int `help:"ssh timeout session" default:"-1"` RdpSessionTimeoutMinutes int `help:"rdp timeout session" default:"-1"` EnableWatermark bool `help:"enable water mark" default:"false"` }
var (
Options WebConsoleOptions
)
Click to show internal directories.
Click to hide internal directories.