Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DirtySuperClusters sync.Map
View Source
var DirtyVirtualClusters sync.Map
The dirty sets are used in bootstrap and in handling cluster offline. If a cluster was in dirty set and becomes online again, the cluster state needs to be synchronized with the scheduler cache first during which the scheduler will not serve any scheduling request from that cluster.
View Source
var SuperClusterResourceRegister plugin.ResourceRegister
View Source
var VirtualClusterResourceRegister plugin.ResourceRegister
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func New ¶
func New( config *schedulerconfig.SchedulerConfiguration, vcClient vcclient.Interface, vcInformer vcinformers.VirtualClusterInformer, superClient superclient.Interface, superInformer superinformers.ClusterInformer, metaClusterClient clientset.Interface, metaInformers informers.SharedInformerFactory, stopCh <-chan struct{}, recorder record.EventRecorder, ) (*Scheduler, error)
Click to show internal directories.
Click to hide internal directories.