Documentation ¶
Index ¶
- func NewBinderFramework(pluginRegistry, preemptionPluginRegistry framework.PluginMap, ...) framework.BinderFramework
- func NewBinderFrameworkHandle(client clientset.Interface, crdClient godelclient.Interface, ...) (handle.BinderFrameworkHandle, error)
- type MockBinderFrameworkHandle
- func (mfh *MockBinderFrameworkHandle) CRDClientSet() godelclient.Interface
- func (mfh *MockBinderFrameworkHandle) CRDSharedInformerFactory() crdinformers.SharedInformerFactory
- func (mfh *MockBinderFrameworkHandle) ClientSet() clientset.Interface
- func (mfh *MockBinderFrameworkHandle) FindStore(storeName commonstore.StoreName) commonstore.Store
- func (mfh *MockBinderFrameworkHandle) GetFrameworkForPod(pod *v1.Pod) (f framework.BinderFramework, err error)
- func (mfh *MockBinderFrameworkHandle) GetNodeInfo(nodeName string) framework.NodeInfo
- func (mfh *MockBinderFrameworkHandle) SharedInformerFactory() informers.SharedInformerFactory
- func (mfh *MockBinderFrameworkHandle) VolumeBinder() scheduling.GodelVolumeBinder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBinderFramework ¶
func NewBinderFramework(pluginRegistry, preemptionPluginRegistry framework.PluginMap, basePlugins *apis.BinderPluginCollection) framework.BinderFramework
func NewBinderFrameworkHandle ¶
func NewBinderFrameworkHandle( client clientset.Interface, crdClient godelclient.Interface, informerFactory informers.SharedInformerFactory, crdInformerFactory crdinformers.SharedInformerFactory, cache godelcache.BinderCache, ) (handle.BinderFrameworkHandle, error)
Types ¶
type MockBinderFrameworkHandle ¶
type MockBinderFrameworkHandle struct {
// contains filtered or unexported fields
}
func (*MockBinderFrameworkHandle) CRDClientSet ¶
func (mfh *MockBinderFrameworkHandle) CRDClientSet() godelclient.Interface
func (*MockBinderFrameworkHandle) CRDSharedInformerFactory ¶
func (mfh *MockBinderFrameworkHandle) CRDSharedInformerFactory() crdinformers.SharedInformerFactory
func (*MockBinderFrameworkHandle) ClientSet ¶
func (mfh *MockBinderFrameworkHandle) ClientSet() clientset.Interface
func (*MockBinderFrameworkHandle) FindStore ¶
func (mfh *MockBinderFrameworkHandle) FindStore(storeName commonstore.StoreName) commonstore.Store
func (*MockBinderFrameworkHandle) GetFrameworkForPod ¶
func (mfh *MockBinderFrameworkHandle) GetFrameworkForPod(pod *v1.Pod) (f framework.BinderFramework, err error)
func (*MockBinderFrameworkHandle) GetNodeInfo ¶
func (mfh *MockBinderFrameworkHandle) GetNodeInfo(nodeName string) framework.NodeInfo
func (*MockBinderFrameworkHandle) SharedInformerFactory ¶
func (mfh *MockBinderFrameworkHandle) SharedInformerFactory() informers.SharedInformerFactory
func (*MockBinderFrameworkHandle) VolumeBinder ¶
func (mfh *MockBinderFrameworkHandle) VolumeBinder() scheduling.GodelVolumeBinder
Click to show internal directories.
Click to hide internal directories.