options

package
v0.0.0-...-6410feb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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
)

Jump to

Keyboard shortcuts

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