config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKoordletConfigMapNamespace = "koordinator-system"
	DefaultKoordletConfigMapName      = "koordlet-config"

	CMKeyQoSPluginExtraConfigs = "qos-plugin-extra-configs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	ConfigMapName      string
	ConfigMapNamesapce string
	KubeRestConf       *rest.Config
	StatesInformerConf *statesinformer.Config
	CollectorConf      *metricsadvisor.Config
	MetricCacheConf    *metriccache.Config
	ResManagerConf     *resmanager.Config
	QosManagerConf     *qosmanagerconfig.Config
	RuntimeHookConf    *runtimehooks.Config
	AuditConf          *audit.Config
	FeatureGates       map[string]bool
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) InitClient

func (c *Configuration) InitClient() error

func (*Configuration) InitFlags

func (c *Configuration) InitFlags(fs *flag.FlagSet)

func (*Configuration) InitFromConfigMap added in v1.1.0

func (c *Configuration) InitFromConfigMap() error

Jump to

Keyboard shortcuts

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