Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSchedulerPlugin ¶
func RegisterSchedulerPlugin(plugin interface{})
Types ¶
type PredicatesPlugin ¶
type PredicatesPlugin interface { // Run a certain set of predicate functions to determine if a proposed allocation // can be allocated onto a node. Predicates(args *si.PredicatesArgs) error }
RM side implements this API when it can provide plugin for predicates.
func GetPredicatesPlugin ¶
func GetPredicatesPlugin() PredicatesPlugin
type ReconcilePlugin ¶
type ReconcilePlugin interface { // RM side implements this API when it can provide plugin for reconciling // Re-sync scheduler cache can sync some in-cache (yunikorn-core side) state changes // to scheduler cache (shim-side), such as assumed allocations. ReSyncSchedulerCache(args *si.ReSyncSchedulerCacheArgs) error }
func GetReconcilePlugin ¶
func GetReconcilePlugin() ReconcilePlugin
type SchedulerPlugins ¶
type SchedulerPlugins struct {
// contains filtered or unexported fields
}
type VolumesPlugin ¶
type VolumesPlugin interface { }
RM side implements this API when it can provide plugin for volumes.
func GetVolumesPlugin ¶
func GetVolumesPlugin() VolumesPlugin
Click to show internal directories.
Click to hide internal directories.