options

package
Version: v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	conf.FileConfig
	conf.ServiceConfig
	conf.ZkConfig
	conf.CertConfig
	conf.LicenseServerConfig
	conf.LogConfig
	conf.ProcessConfig

	Clusters  string `json:"clusters" value:"" usage:"deploy detection node clusters; example: BCS-MESOS-10000,BCS-MESOS-10001,BCS-MESOS-10002..."`
	AppCode   string `json:"app_code" value:"" usage:"esb app_code"`
	AppSecret string `json:"app_secret" value:"" usage:"esb app_secret"`
	Operator  string `json:"operator" value:"" usage:"esb operator"`
	EsbUrl    string `json:"esb_url" value:"" usage:"esb url"`
	AppId     int    `json:"app_id" value:"" usage:"cmdb app id"`
	Template  string `json:"template" value:"./template/deployment.json" usage:"deployment template json file path"`
}

Option is option in flags

func NewOption

func NewOption() *Option

NewOption create Option object

Source Files

Jump to

Keyboard shortcuts

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