testing

package
v0.0.0-...-6111fc0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 13 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

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 (*MockBinderFrameworkHandle) FindStore

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

Jump to

Keyboard shortcuts

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