Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewFakeFilterPlugin (0.12 sec)

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

    		return framework.NewStatus(returnCode, fmt.Sprintf("injecting failure for pod %v", pod.Name))
    	}
    
    	return nil
    }
    
    // NewFakeFilterPlugin initializes a fakeFilterPlugin and returns it.
    func NewFakeFilterPlugin(failedNodeReturnCodeMap map[string]framework.Code) frameworkruntime.PluginFactory {
    	return func(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top