Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CandidatesToVictimsMap (0.27 sec)

  1. pkg/scheduler/framework/preemption/preemption.go

    	// shortlisted for dry running preemption.
    	GetOffsetAndNumCandidates(nodes int32) (int32, int32)
    	// CandidatesToVictimsMap builds a map from the target node to a list of to-be-preempted Pods and the number of PDB violation.
    	CandidatesToVictimsMap(candidates []Candidate) map[string]*extenderv1.Victims
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/preemption/preemption_test.go

    }
    
    func (pl *FakePostFilterPlugin) GetOffsetAndNumCandidates(nodes int32) (int32, int32) {
    	return 0, nodes
    }
    
    func (pl *FakePostFilterPlugin) CandidatesToVictimsMap(candidates []Candidate) map[string]*extenderv1.Victims {
    	return nil
    }
    
    func (pl *FakePostFilterPlugin) PodEligibleToPreemptOthers(pod *v1.Pod, nominatedNodeStatus *framework.Status) (bool, string) {
    	return true, ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top