func init() { … }
type Option …
func NewSchedulerCommand(registryOptions ...Option) *cobra.Command { … }
func runCommand(cmd *cobra.Command, opts *options.Options, registryOptions ...Option) error { … }
func Run(ctx context.Context, cc *schedulerserverconfig.CompletedConfig, sched *scheduler.Scheduler) error { … }
func buildHandlerChain(handler http.Handler, authn authenticator.Request, authz authorizer.Authorizer) http.Handler { … }
func installMetricHandler(pathRecorderMux *mux.PathRecorderMux, informers informers.SharedInformerFactory, isLeader func() bool) { … }
func newHealthEndpointsAndMetricsHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration, informers informers.SharedInformerFactory, isLeader func() bool, healthzChecks, readyzChecks []healthz.HealthChecker) http.Handler { … }
func getRecorderFactory(cc *schedulerserverconfig.CompletedConfig) profile.RecorderFactory { … }
func WithPlugin(name string, factory runtime.PluginFactory) Option { … }
func Setup(ctx context.Context, opts *options.Options, outOfTreeRegistryOptions ...Option) (*schedulerserverconfig.CompletedConfig, *scheduler.Scheduler, error) { … }