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.Interface,
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
func NewSchedulerCommand() *cobra.Command
NewSchedulerCommand creates a *cobra.Command object with default parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.