handle

package
v0.0.0-...-e54718b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinderFrameworkHandle

type BinderFrameworkHandle interface {
	// ClientSet returns a kubernetes clientSet.
	ClientSet() clientset.Interface
	CRDClientSet() crdclientset.Interface
	SharedInformerFactory() informers.SharedInformerFactory
	CRDSharedInformerFactory() crdinformers.SharedInformerFactory
	GetFrameworkForPod(*v1.Pod) (framework.BinderFramework, error)
	VolumeBinder() scheduling.GodelVolumeBinder

	FindStore(storeName commonstore.StoreName) commonstore.Store

	GetNodeInfo(string) framework.NodeInfo
}

BinderFrameworkHandle provides data and some tools that plugins can use. It is passed to the plugin factories at the time of plugin initialization. Plugins must store and use this handle to call framework functions.

Jump to

Keyboard shortcuts

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