options

package
v1.20.8 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 1 Imported by: 0

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.LicenseServerConfig
	conf.LogConfig
	conf.ZkConfig
	conf.CertConfig
	conf.ServiceConfig

	DockerSock      string `json:"docker_sock" value:"unix:///var/run/docker.sock" usage:"docker socket file"`
	PluginSocketDir string `json:"plugin_socket_dir" value:"/var/lib/kubelet/device-plugins" usage:"logbeat config directory"`
	ClusterId       string `json:"clusterid" value:"" usage:"mesos cluster id"`
	Engine          string `json:"engine" value:"k8s" usage:"enum: k8s、mesos; default: k8s"`
}

Option is option in flags

func NewOption

func NewOption() *Option

NewOption create Option object

Jump to

Keyboard shortcuts

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