const maxTimeout …
type frameworkImpl …
type extensionPoint …
func (f *frameworkImpl) getExtensionPoints(plugins *config.Plugins) []extensionPoint { … }
func (f *frameworkImpl) Extenders() []framework.Extender { … }
type frameworkOptions …
type Option …
func WithComponentConfigVersion(componentConfigVersion string) Option { … }
func WithClientSet(clientSet clientset.Interface) Option { … }
func WithKubeConfig(kubeConfig *restclient.Config) Option { … }
func WithEventRecorder(recorder events.EventRecorder) Option { … }
func WithInformerFactory(informerFactory informers.SharedInformerFactory) Option { … }
func WithResourceClaimCache(resourceClaimCache *assumecache.AssumeCache) Option { … }
func WithSnapshotSharedLister(snapshotSharedLister framework.SharedLister) Option { … }
func WithPodNominator(nominator framework.PodNominator) Option { … }
func WithExtenders(extenders []framework.Extender) Option { … }
func WithParallelism(parallelism int) Option { … }
type CaptureProfile …
func WithCaptureProfile(c CaptureProfile) Option { … }
func WithMetricsRecorder(r *metrics.MetricAsyncRecorder) Option { … }
func WithWaitingPods(wp *waitingPodsMap) Option { … }
func WithLogger(logger klog.Logger) Option { … }
func defaultFrameworkOptions(stopCh <-chan struct{ … }
var _ …
func NewFramework(ctx context.Context, r Registry, profile *config.KubeSchedulerProfile, opts ...Option) (framework.Framework, error) { … }
func (f *frameworkImpl) setInstrumentedPlugins() { … }
func (f *frameworkImpl) SetPodNominator(n framework.PodNominator) { … }
func (f *frameworkImpl) Close() error { … }
func getScoreWeights(f *frameworkImpl, plugins []config.Plugin) error { … }
type orderedSet …
func newOrderedSet() *orderedSet { … }
func (os *orderedSet) insert(s string) { … }
func (os *orderedSet) has(s string) bool { … }
func (os *orderedSet) delete(s string) { … }
func (f *frameworkImpl) expandMultiPointPlugins(logger klog.Logger, profile *config.KubeSchedulerProfile) error { … }
func shouldHaveEnqueueExtensions(p framework.Plugin) bool { … }
func (f *frameworkImpl) fillEnqueueExtensions(p framework.Plugin) { … }
type defaultEnqueueExtension …
func (p *defaultEnqueueExtension) Name() string { … }
func (p *defaultEnqueueExtension) EventsToRegister(_ context.Context) ([]framework.ClusterEventWithHint, error) { … }
func updatePluginList(pluginList interface{ … }
func (f *frameworkImpl) PreEnqueuePlugins() []framework.PreEnqueuePlugin { … }
func (f *frameworkImpl) EnqueueExtensions() []framework.EnqueueExtensions { … }
func (f *frameworkImpl) QueueSortFunc() framework.LessFunc { … }
func (f *frameworkImpl) RunPreFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod) (_ *framework.PreFilterResult, status *framework.Status, _ sets.Set[string]) { … }
func (f *frameworkImpl) runPreFilterPlugin(ctx context.Context, pl framework.PreFilterPlugin, state *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) { … }
func (f *frameworkImpl) RunPreFilterExtensionAddPod(
ctx context.Context,
state *framework.CycleState,
podToSchedule *v1.Pod,
podInfoToAdd *framework.PodInfo,
nodeInfo *framework.NodeInfo,
) (status *framework.Status) { … }
func (f *frameworkImpl) runPreFilterExtensionAddPod(ctx context.Context, pl framework.PreFilterPlugin, state *framework.CycleState, podToSchedule *v1.Pod, podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (f *frameworkImpl) RunPreFilterExtensionRemovePod(
ctx context.Context,
state *framework.CycleState,
podToSchedule *v1.Pod,
podInfoToRemove *framework.PodInfo,
nodeInfo *framework.NodeInfo,
) (status *framework.Status) { … }
func (f *frameworkImpl) runPreFilterExtensionRemovePod(ctx context.Context, pl framework.PreFilterPlugin, state *framework.CycleState, podToSchedule *v1.Pod, podInfoToRemove *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (f *frameworkImpl) RunFilterPlugins(
ctx context.Context,
state *framework.CycleState,
pod *v1.Pod,
nodeInfo *framework.NodeInfo,
) *framework.Status { … }
func (f *frameworkImpl) runFilterPlugin(ctx context.Context, pl framework.FilterPlugin, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func (f *frameworkImpl) RunPostFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, filteredNodeStatusMap framework.NodeToStatusReader) (_ *framework.PostFilterResult, status *framework.Status) { … }
func (f *frameworkImpl) runPostFilterPlugin(ctx context.Context, pl framework.PostFilterPlugin, state *framework.CycleState, pod *v1.Pod, filteredNodeStatusMap framework.NodeToStatusReader) (*framework.PostFilterResult, *framework.Status) { … }
func (f *frameworkImpl) RunFilterPluginsWithNominatedPods(ctx context.Context, state *framework.CycleState, pod *v1.Pod, info *framework.NodeInfo) *framework.Status { … }
func addNominatedPods(ctx context.Context, fh framework.Handle, pod *v1.Pod, state *framework.CycleState, nodeInfo *framework.NodeInfo) (bool, *framework.CycleState, *framework.NodeInfo, error) { … }
func (f *frameworkImpl) RunPreScorePlugins(
ctx context.Context,
state *framework.CycleState,
pod *v1.Pod,
nodes []*framework.NodeInfo,
) (status *framework.Status) { … }
func (f *frameworkImpl) runPreScorePlugin(ctx context.Context, pl framework.PreScorePlugin, state *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status { … }
func (f *frameworkImpl) RunScorePlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) (ns []framework.NodePluginScores, status *framework.Status) { … }
func (f *frameworkImpl) runScorePlugin(ctx context.Context, pl framework.ScorePlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status) { … }
func (f *frameworkImpl) runScoreExtension(ctx context.Context, pl framework.ScorePlugin, state *framework.CycleState, pod *v1.Pod, nodeScoreList framework.NodeScoreList) *framework.Status { … }
func (f *frameworkImpl) RunPreBindPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) { … }
func (f *frameworkImpl) runPreBindPlugin(ctx context.Context, pl framework.PreBindPlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status { … }
func (f *frameworkImpl) RunBindPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) { … }
func (f *frameworkImpl) runBindPlugin(ctx context.Context, bp framework.BindPlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status { … }
func (f *frameworkImpl) RunPostBindPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) { … }
func (f *frameworkImpl) runPostBindPlugin(ctx context.Context, pl framework.PostBindPlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) { … }
func (f *frameworkImpl) RunReservePluginsReserve(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) { … }
func (f *frameworkImpl) runReservePluginReserve(ctx context.Context, pl framework.ReservePlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status { … }
func (f *frameworkImpl) RunReservePluginsUnreserve(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) { … }
func (f *frameworkImpl) runReservePluginUnreserve(ctx context.Context, pl framework.ReservePlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) { … }
func (f *frameworkImpl) RunPermitPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) { … }
func (f *frameworkImpl) runPermitPlugin(ctx context.Context, pl framework.PermitPlugin, state *framework.CycleState, pod *v1.Pod, nodeName string) (*framework.Status, time.Duration) { … }
func (f *frameworkImpl) WaitOnPermit(ctx context.Context, pod *v1.Pod) *framework.Status { … }
func (f *frameworkImpl) SnapshotSharedLister() framework.SharedLister { … }
func (f *frameworkImpl) IterateOverWaitingPods(callback func(framework.WaitingPod)) { … }
func (f *frameworkImpl) GetWaitingPod(uid types.UID) framework.WaitingPod { … }
func (f *frameworkImpl) RejectWaitingPod(uid types.UID) bool { … }
func (f *frameworkImpl) HasFilterPlugins() bool { … }
func (f *frameworkImpl) HasPostFilterPlugins() bool { … }
func (f *frameworkImpl) HasScorePlugins() bool { … }
func (f *frameworkImpl) ListPlugins() *config.Plugins { … }
func (f *frameworkImpl) ClientSet() clientset.Interface { … }
func (f *frameworkImpl) KubeConfig() *restclient.Config { … }
func (f *frameworkImpl) EventRecorder() events.EventRecorder { … }
func (f *frameworkImpl) SharedInformerFactory() informers.SharedInformerFactory { … }
func (f *frameworkImpl) ResourceClaimCache() *assumecache.AssumeCache { … }
func (f *frameworkImpl) pluginsNeeded(plugins *config.Plugins) sets.Set[string] { … }
func (f *frameworkImpl) ProfileName() string { … }
func (f *frameworkImpl) PercentageOfNodesToScore() *int32 { … }
func (f *frameworkImpl) Parallelizer() parallelize.Parallelizer { … }