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 NewSchedulerCommand ¶
NewSchedulerCommand creates a *cobra.Command object with default parameters
func NewSchedulerConfig ¶ added in v1.11.6
func NewSchedulerConfig(s schedulerserverconfig.CompletedConfig) (*factory.Config, error)
NewSchedulerConfig creates the scheduler configuration. This is exposed for use by tests.
func Run ¶ added in v1.11.6
func Run(cc schedulerserverconfig.CompletedConfig, stopCh <-chan struct{}) error
Run executes the scheduler based on the given configuration. It only return on error or when stopCh is closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.