testing

package
v0.0.0-...-dcfb068 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBinderFramework

func NewBinderFramework(pluginRegistry, preemptionPluginRegistry framework.PluginMap, basePlugins *apis.BinderPluginCollection) framework.BinderFramework

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL