config

package
v1.29.0-alpha.18 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package config xxx

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// PluginSocketDir device plugin socket dir, examples: /var/lib/kubelet/device-plugins
	PluginSocketDir string
	// DockerSocket docker socket
	DockerSocket string
	// CgroupCpusetRoot root path of cpuset cgroup
	CgroupCpusetRoot string
	// ClientCert client https certs
	ClientCert *types.CertConfig `json:"-"`
	// BcsZk cluster zk address
	BcsZk string
	// ClusterID clusterid
	ClusterID string
	// Engine engine type enum: k8s、mesos
	Engine string
	// NodeIP node IP
	NodeIP string
	// ReservedCPUSet set of reserved cpu set
	ReservedCPUSet map[string]struct{}
}

Config parsed config for bcs-cpuset-device

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