config

package
v1.20.10 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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 Config

type Config struct {
	//device plugin socket dir, examples: /var/lib/kubelet/device-plugins
	PluginSocketDir string
	//docker socket
	DockerSocket string
	//client https certs
	ClientCert *types.CertConfig `json:"-"`
	//cluster zk address
	BcsZk string
	//clusterid
	ClusterId string
	//Engine, enum: k8s、mesos
	Engine string
	//NodeIp
	NodeIp string
}

func NewConfig

func NewConfig() *Config

NewConfig create a config object

Jump to

Keyboard shortcuts

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