Documentation ¶
Index ¶
- func NewBinderFramework(pluginRegistry, preemptionPluginRegistry framework.PluginMap, ...) framework.BinderFramework
- func NewBinderFrameworkHandle(client clientset.Interface, crdClient godelclient.Interface, ...) (framework.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) GetFrameworkForPod(pod *v1.Pod) (f framework.BinderFramework, err error)
- func (mfh *MockBinderFrameworkHandle) GetNode(nodeName string) (framework.NodeInfo, error)
- func (mfh *MockBinderFrameworkHandle) GetPDBItemList() []framework.PDBItem
- func (mfh *MockBinderFrameworkHandle) GetPodGroupInfo(podGroupName string) (*schedulingv1a1.PodGroup, error)
- func (mfh *MockBinderFrameworkHandle) GetPodGroupPods(podGroupName string) []*v1.Pod
- 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, ) (framework.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) GetFrameworkForPod ¶
func (mfh *MockBinderFrameworkHandle) GetFrameworkForPod(pod *v1.Pod) (f framework.BinderFramework, err error)
func (*MockBinderFrameworkHandle) GetNode ¶
func (mfh *MockBinderFrameworkHandle) GetNode(nodeName string) (framework.NodeInfo, error)
func (*MockBinderFrameworkHandle) GetPDBItemList ¶
func (mfh *MockBinderFrameworkHandle) GetPDBItemList() []framework.PDBItem
func (*MockBinderFrameworkHandle) GetPodGroupInfo ¶
func (mfh *MockBinderFrameworkHandle) GetPodGroupInfo(podGroupName string) (*schedulingv1a1.PodGroup, error)
func (*MockBinderFrameworkHandle) GetPodGroupPods ¶
func (mfh *MockBinderFrameworkHandle) GetPodGroupPods(podGroupName string) []*v1.Pod
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.