plugins

package
v0.0.0-...-67dc25f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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