Documentation ¶
Index ¶
- Variables
- func RegisterQOSExtPlugin(feature featuregate.Feature, featureSpec featuregate.FeatureSpec, ...) error
- func SetupPlugins(client clientset.Interface, metricCache metriccache.MetricCache, ...)
- func StartPlugins(cfg *QOSExtensionConfig, stopCh <-chan struct{}) error
- type ExtensionPlugin
- type QOSExtensionConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMutableQOSExtPluginFG featuregate.MutableFeatureGate = featuregate.NewFeatureGate() DefaultQOSExtPluginsFG featuregate.FeatureGate = DefaultMutableQOSExtPluginFG )
Functions ¶
func RegisterQOSExtPlugin ¶
func RegisterQOSExtPlugin(feature featuregate.Feature, featureSpec featuregate.FeatureSpec, plugin ExtensionPlugin) error
func SetupPlugins ¶
func SetupPlugins(client clientset.Interface, metricCache metriccache.MetricCache, statesInformer statesinformer.StatesInformer)
func StartPlugins ¶
func StartPlugins(cfg *QOSExtensionConfig, stopCh <-chan struct{}) error
Types ¶
type ExtensionPlugin ¶
type ExtensionPlugin interface { InitFlags(fs *flag.FlagSet) Setup(client clientset.Interface, metricCache metriccache.MetricCache, statesInformer statesinformer.StatesInformer) Run(stopCh <-chan struct{}) }
type QOSExtensionConfig ¶
func (*QOSExtensionConfig) InitFlags ¶
func (c *QOSExtensionConfig) InitFlags(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.