Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsPrioritizer (0.15 sec)

  1. pkg/scheduler/framework/extender.go

    	IsBinder() bool
    
    	// IsInterested returns true if at least one extended resource requested by
    	// this pod is managed by this extender.
    	IsInterested(pod *v1.Pod) bool
    
    	// IsPrioritizer returns whether this extender is configured for the Prioritize method.
    	IsPrioritizer() bool
    
    	// IsFilter returns whether this extender is configured for the Filter method.
    	IsFilter() bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pkg/scheduler/extender.go

    }
    
    // IsBinder returns whether this extender is configured for the Bind method.
    func (h *HTTPExtender) IsBinder() bool {
    	return h.bindVerb != ""
    }
    
    // IsPrioritizer returns whether this extender is configured for the Prioritize method.
    func (h *HTTPExtender) IsPrioritizer() bool {
    	return h.prioritizeVerb != ""
    }
    
    // IsFilter returns whether this extender is configured for the Filter method.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. pkg/scheduler/testing/framework/fake_extender.go

    	return nil
    }
    
    // IsBinder returns true indicating the extender implements the Binder function.
    func (f *FakeExtender) IsBinder() bool {
    	return true
    }
    
    // IsPrioritizer returns true if there are any prioritizers.
    func (f *FakeExtender) IsPrioritizer() bool {
    	return len(f.Prioritizers) > 0
    }
    
    // IsFilter returns true if there are any filters.
    func (f *FakeExtender) IsFilter() bool {
    	return len(f.Predicates) > 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    	return f.isBinder
    }
    
    func (f *fakeExtender) IsInterested(pod *v1.Pod) bool {
    	return pod != nil && pod.Name == f.interestedPodName
    }
    
    func (f *fakeExtender) IsPrioritizer() bool {
    	return f.isPrioritizer
    }
    
    func (f *fakeExtender) IsFilter() bool {
    	return f.isFilter
    }
    
    type falseMapPlugin struct{}
    
    func newFalseMapPlugin() frameworkruntime.PluginFactory {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. pkg/scheduler/schedule_one.go

    func (sched *Scheduler) hasScoring(fwk framework.Framework) bool {
    	if fwk.HasScorePlugins() {
    		return true
    	}
    	for _, extender := range sched.Extenders {
    		if extender.IsPrioritizer() {
    			return true
    		}
    	}
    	return false
    }
    
    // hasExtenderFilters checks if any extenders filter nodes.
    func (sched *Scheduler) hasExtenderFilters() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top