Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for priorityFunc (0.27 sec)

  1. pkg/scheduler/testing/framework/fake_extender.go

    type FitPredicate func(pod *v1.Pod, node *framework.NodeInfo) *framework.Status
    
    // PriorityFunc is a function type which is used in fake extender.
    type PriorityFunc func(pod *v1.Pod, nodes []*framework.NodeInfo) (*framework.NodeScoreList, error)
    
    // PriorityConfig is used in fake extender to perform Prioritize function.
    type PriorityConfig struct {
    	Function PriorityFunc
    	Weight   int64
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top