Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Evaluators (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    		// the evaluator is executed, and returns a denial
    		attributeRecord(nil, fakeParams, admission.Create),
    		&admission.RuntimeObjectInterfaces{},
    	)
    
    	require.ErrorContains(t, err, `Denied`)
    	require.Equal(t, 1, numCompiles)
    }
    
    // Shows that a definition with no param source works just fine, and has
    // nil params passed to its evaluator.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				if _, status := fwk.RunPreFilterPlugins(ctx, state, pod); !status.IsSuccess() {
    					t.Errorf("cycle %d: Unexpected PreFilter Status: %v", cycle, status)
    				}
    				pe := preemption.Evaluator{
    					PluginName: names.DefaultPreemption,
    					Handler:    pl.fh,
    					PodLister:  pl.podLister,
    					PdbLister:  pl.pdbLister,
    					State:      state,
    					Interface:  pl,
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top