Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceManagerCallbackPlugin ¶
func GetResourceManagerCallbackPlugin() api.ResourceManagerCallback
GetResourceManagerCallbackPlugin returns the registered callback plugin or nil if none was registered.
func GetStateDumpPlugin ¶ added in v1.2.0
func GetStateDumpPlugin() api.StateDumpPlugin
GetStateDumpPlugin returns the registered state dump plugin or nil if none was registered.
func RegisterSchedulerPlugin ¶
func RegisterSchedulerPlugin(plugin interface{})
RegisterSchedulerPlugin registers the plugin based on the interfaces(s) it implements. The known interfaces are defined in yunikorn-scheduler-interface/lib/go/api
func UnregisterSchedulerPlugins ¶ added in v1.3.0
func UnregisterSchedulerPlugins()
UnregisterSchedulerPlugins removes all earlier set plugins visible for testing only
Types ¶
type SchedulerPlugins ¶
type SchedulerPlugins struct { ResourceManagerCallbackPlugin api.ResourceManagerCallback StateDumpPlugin api.StateDumpPlugin locking.RWMutex }
Click to show internal directories.
Click to hide internal directories.