Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NormalizeScore (0.32 sec)

  1. pkg/scheduler/framework/interface.go

    }
    
    // ScoreExtensions is an interface for Score extended functionality.
    type ScoreExtensions interface {
    	// NormalizeScore is called for all node scores produced by the same plugin's "Score"
    	// method. A successful run of NormalizeScore will update the scores list and return
    	// a success status.
    	NormalizeScore(ctx context.Context, state *CycleState, p *v1.Pod, scores NodeScoreList) *Status
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    					t.Errorf("unexpected error: %v", status)
    				}
    				gotList = append(gotList, framework.NodeScore{Name: nodeName, Score: score})
    			}
    
    			status = p.(framework.ScorePlugin).ScoreExtensions().NormalizeScore(ctx, state, test.pod, gotList)
    			if !status.IsSuccess() {
    				t.Errorf("unexpected error: %v", status)
    			}
    
    			if !reflect.DeepEqual(test.expectedList, gotList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top