Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginOption ¶
type PluginOption struct { // The name of Plugin Name string `yaml:"name"` // JobOrderDisabled defines whether jobOrderFn is disabled JobOrderDisabled bool `yaml:"disableJobOrder"` // JobReadyDisabled defines whether jobReadyFn is disabled JobReadyDisabled bool `yaml:"disableJobReady"` // TaskOrderDisabled defines whether taskOrderFn is disabled TaskOrderDisabled bool `yaml:"disableTaskOrder"` // PreemptableDisabled defines whether preemptableFn is disabled PreemptableDisabled bool `yaml:"disablePreemptable"` // ReclaimableDisabled defines whether reclaimableFn is disabled ReclaimableDisabled bool `yaml:"disableReclaimable"` // QueueOrderDisabled defines whether queueOrderFn is disabled QueueOrderDisabled bool `yaml:"disableQueueOrder"` // PredicateDisabled defines whether predicateFn is disabled PredicateDisabled bool `yaml:"disablePredicate"` // NodeOrderDisabled defines whether NodeOrderFn is disabled NodeOrderDisabled bool `yaml:"disableNodeOrder"` }
PluginOption defines the options of plugin
type SchedulerConfiguration ¶
type SchedulerConfiguration struct { // Actions defines the actions list of scheduler in order Actions string `yaml:"actions"` // Tiers defines plugins in different tiers Tiers []Tier `yaml:"tiers"` }
SchedulerConfiguration defines the configuration of scheduler.
Click to show internal directories.
Click to hide internal directories.