Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Name() string ShouldSchedule(app *v1beta2.SparkApplication) bool Schedule(app *v1beta2.SparkApplication) error Cleanup(app *v1beta2.SparkApplication) error }
Interface defines the interface of a batch scheduler.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a registry of scheduler factories.
func GetRegistry ¶
func GetRegistry() *Registry
func (*Registry) GetRegisteredSchedulerNames ¶
GetRegisteredSchedulerNames gets the registered scheduler names.
func (*Registry) GetScheduler ¶
Click to show internal directories.
Click to hide internal directories.