Documentation ¶
Index ¶
- Constants
- func AddCNREventHandler(_ informers.SharedInformerFactory, ...)
- func AddPodEventHandler(informerFactory informers.SharedInformerFactory, ...)
- func RegisterCommonCNRHandler()
- func RegisterCommonPodHandler()
- func RegisterEventHandler(name string, eventHandlerFunc AddEventHandlerFunc)
- type AddEventHandlerFunc
Constants ¶
View Source
const (
CommonCNRHandler = "CommonCNRHandler"
)
View Source
const (
CommonPodHandler = "CommonPodHandler"
)
Variables ¶
This section is empty.
Functions ¶
func AddCNREventHandler ¶
func AddCNREventHandler(_ informers.SharedInformerFactory, internalInformerFactory externalversions.SharedInformerFactory)
AddCNREventHandler adds CNR event handlers for the scheduler.
func AddPodEventHandler ¶
func AddPodEventHandler(informerFactory informers.SharedInformerFactory, _ externalversions.SharedInformerFactory)
AddPodEventHandler adds Pod event handlers for the scheduler.
func RegisterCommonCNRHandler ¶ added in v0.5.0
func RegisterCommonCNRHandler()
func RegisterCommonPodHandler ¶ added in v0.5.0
func RegisterCommonPodHandler()
func RegisterEventHandler ¶ added in v0.5.0
func RegisterEventHandler(name string, eventHandlerFunc AddEventHandlerFunc)
Types ¶
type AddEventHandlerFunc ¶ added in v0.5.0
type AddEventHandlerFunc func(informers.SharedInformerFactory, externalversions.SharedInformerFactory)
func ListEventHandlerFunc ¶ added in v0.5.0
func ListEventHandlerFunc() []AddEventHandlerFunc
Click to show internal directories.
Click to hide internal directories.