options

package
v0.3.10-0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 10

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"`
	IpmitoolPath      string `help:"ipmitool binary path used to connect baremetal sol" default:"/usr/bin/ipmitool"`
	SshToolPath       string `help:"sshtool binary path used to connect server sol" default:"/usr/bin/ssh"`
	SshpassToolPath   string `help:"sshpass tool binary path used to connect server sol" default:"/usr/bin/sshpass"`
	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"`
	AliyunVncVersion  string `help:"Aliyun vnc version" default:"0.0.8"`
}
var (
	Options WebConsoleOptions
)

Jump to

Keyboard shortcuts

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