options

package
v1.20.11 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MesosDriverOption

type MesosDriverOption struct {
	DriverConf *config.MesosDriverConfig
}

MesosDriverOption is option in flags

func NewMesosDriverOption

func NewMesosDriverOption(opOut *MesosDriverOptionsOut) *MesosDriverOption

NewMesosDriverOption create MesosDriverOption object

type MesosDriverOptionsOut

type MesosDriverOptionsOut struct {
	conf.FileConfig
	conf.ServiceConfig
	conf.MetricConfig
	conf.ZkConfig
	conf.CertConfig
	conf.LicenseServerConfig

	conf.LogConfig
	conf.ProcessConfig
	SchedDiscvSvr            string `json:"sched_regdiscv" value:"127.0.0.1:2181" usage:"the address to discove schdulers"`
	Cluster                  string `json:"cluster" value:"" usage:"the cluster ID under bcs"`
	AdmissionWebhook         bool   `json:"admission_webhook" value:"false" usage:"whether admission webhook"`
	KubeConfig               string `json:"kubeconfig" value:"" usage:"kube config for custom resource feature and etcd storage"`
	MesosWebconsoleProxyPort uint   `json:"mesos_webconsole_proxy_port" value:"8083" usage:"Port to connect to mesos webconsole proxy"`
	// websocket register
	RegisterWithWebsocket bool   `json:"register-with-websocket" value:"false" usage:"whether register to bcs-api with websocket"`
	RegisterToken         string `json:"register-token" value:"" usage:"register token to register to bcs-api"`
	RegisterURL           string `json:"register-url" value:"" usage:"bcs-api url to register"`
	InsecureSkipVerify    bool   `json:"insecure-skip-verify" value:"false" usage:"whether insecure skip verify"`

	Etcd registry.CMDOptions `json:"etcdRegistry"`
}

MesosDriverOptionsOut mesos driver command line options

Jump to

Keyboard shortcuts

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