const durationToExpireAssumedPod …
var ErrNoNodesAvailable …
type Scheduler …
func (sched *Scheduler) applyDefaultHandlers() { … }
type schedulerOptions …
type Option …
type ScheduleResult …
func WithComponentConfigVersion(apiVersion string) Option { … }
func WithKubeConfig(cfg *restclient.Config) Option { … }
func WithProfiles(p ...schedulerapi.KubeSchedulerProfile) Option { … }
func WithParallelism(threads int32) Option { … }
func WithPercentageOfNodesToScore(percentageOfNodesToScore *int32) Option { … }
func WithFrameworkOutOfTreeRegistry(registry frameworkruntime.Registry) Option { … }
func WithPodInitialBackoffSeconds(podInitialBackoffSeconds int64) Option { … }
func WithPodMaxBackoffSeconds(podMaxBackoffSeconds int64) Option { … }
func WithPodMaxInUnschedulablePodsDuration(duration time.Duration) Option { … }
func WithExtenders(e ...schedulerapi.Extender) Option { … }
type FrameworkCapturer …
func WithBuildFrameworkCapturer(fc FrameworkCapturer) Option { … }
var defaultSchedulerOptions …
func New(ctx context.Context,
client clientset.Interface,
informerFactory informers.SharedInformerFactory,
dynInformerFactory dynamicinformer.DynamicSharedInformerFactory,
recorderFactory profile.RecorderFactory,
opts ...Option) (*Scheduler, error) { … }
var defaultQueueingHintFn …
func buildQueueingHintMap(ctx context.Context, es []framework.EnqueueExtensions) (internalqueue.QueueingHintMap, error) { … }
func (sched *Scheduler) Run(ctx context.Context) { … }
func NewInformerFactory(cs clientset.Interface, resyncPeriod time.Duration) informers.SharedInformerFactory { … }
func buildExtenders(logger klog.Logger, extenders []schedulerapi.Extender, profiles []schedulerapi.KubeSchedulerProfile) ([]framework.Extender, error) { … }
type FailureHandlerFn …
func unionedGVKs(queueingHintsPerProfile internalqueue.QueueingHintMapPerProfile) map[framework.EventResource]framework.ActionType { … }
func newPodInformer(cs clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { … }