Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginFactoryProxy ¶
func PluginFactoryProxy(extendHandle ExtendedHandle, factoryFn frameworkruntime.PluginFactory) frameworkruntime.PluginFactory
PluginFactoryProxy is used to proxy the call to the PluginFactory function and pass in the ExtendedHandle for the custom plugin
Types ¶
type ExtendedHandle ¶
type ExtendedHandle interface { framework.Handle KoordinatorClientSet() koordinatorclientset.Interface }
ExtendedHandle extends the k8s scheduling framework Handle interface to facilitate plugins to access Koordinator's resources and states.
func NewExtendedHandle ¶
func NewExtendedHandle( koordinatorClientSet koordinatorclientset.Interface, koordinatorSharedInformerFactory koordinatorinformers.SharedInformerFactory, ) ExtendedHandle
Click to show internal directories.
Click to hide internal directories.