 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
	MinionLister scheduler.MinionLister
	Algorithm    scheduler.Scheduler
	Binder       Binder
	// NextPod should be a function that blocks until the next pod
	// is available. We don't use a channel for this, because scheduling
	// a pod may take some amount of time and we don't want pods to get
	// stale while they sit in a channel.
	NextPod func() *api.Pod
	// Error is called if there is an error. It is passed the pod in
	// question, and the error
	Error func(*api.Pod, error)
}
    
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| This package is used to register algorithm provider plugins. | This package is used to register algorithm provider plugins. | 
| 
          
            affinity
            
            
          
           This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler. | This algorithm provider has predicates and priorities related to affinity/anti-affinity for the scheduler. | 
| 
          
            defaults
            
            
          
           This is the default algorithm provider for the scheduler. | This is the default algorithm provider for the scheduler. | 
| Package factory can set up a scheduler. | Package factory can set up a scheduler. | 
| Package server implements a Server object for running the scheduler. | Package server implements a Server object for running the scheduler. | 
 Click to show internal directories. 
   Click to hide internal directories.