Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertForSimulator ¶
ConvertForSimulator convert v1beta2.Plugins for simulator. It ignores non-default plugin.
func NewPluginConfig ¶
func NewPluginConfig(pc []v1beta2.PluginConfig) ([]v1beta2.PluginConfig, error)
NewPluginConfig converts []v1beta2.PluginConfig for simulator. Passed []v1beta.PluginConfig overrides default config values.
NewPluginConfig expects that passed v1beta2.PluginConfig has data of Args in only one of PluginConfig.Args.Raw or PluginConfig.Args.Object. But, if Args data exists in both PluginConfig.Args.Raw and PluginConfig.Args.Object, PluginConfig.Args.Object takes precedence.
func NewRegistry ¶
func NewRegistry(informerFactory informers.SharedInformerFactory, client clientset.Interface) (map[string]schedulerRuntime.PluginFactory, error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package mock_plugin is a generated GoMock package.
|
Package mock_plugin is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.