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
Click to show internal directories.
Click to hide internal directories.