options

package
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: 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:"device-plugin socket directory"`
	CgroupCpusetRoot   string `json:"cgroup_cpuset_root" value:"/sys/fs/cgroup/cpuset/docker" usage:"root path of cgroup cpuset"`
	ClusterID          string `json:"clusterid" value:"" usage:"mesos cluster id"`
	Engine             string `json:"engine" value:"k8s" usage:"enum: k8s、mesos; default: k8s"`
	ReservedCPUSetList string `json:"reserved_cpuset_list" value:"" usage:"cpuset number list to be reserved, e.g. 6,7,8"`
}

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