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 ¶ added in v1.7.0
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 ¶ added in v1.1.1
NewSchedulerCommand creates a *cobra.Command object with default parameters
func Run ¶ added in v1.2.0
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.