Documentation ¶
Overview ¶
Package app implements a Server object for running the scheduler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateScheduler ¶
func CreateScheduler( s *options.SchedulerServer, kubecli *clientset.Clientset, nodeInformer coreinformers.NodeInformer, podInformer coreinformers.PodInformer, pvInformer coreinformers.PersistentVolumeInformer, pvcInformer coreinformers.PersistentVolumeClaimInformer, replicationControllerInformer coreinformers.ReplicationControllerInformer, replicaSetInformer extensionsinformers.ReplicaSetInformer, statefulSetInformer appsinformers.StatefulSetInformer, serviceInformer coreinformers.ServiceInformer, recorder record.EventRecorder, ) (*scheduler.Scheduler, error)
CreateScheduler encapsulates the entire creation of a runnable scheduler.
func NewSchedulerCommand ¶
NewSchedulerCommand creates a *cobra.Command object with default parameters
func Run ¶
func Run(s *options.SchedulerServer) error
Run runs the specified SchedulerServer. This should never exit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.