Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FakeFilter (0.17 sec)

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

    type FakeFilterPlugin struct {
    	NumFilterCalled         int32
    	FailedNodeReturnCodeMap map[string]framework.Code
    }
    
    // Name returns name of the plugin.
    func (pl *FakeFilterPlugin) Name() string {
    	return "FakeFilter"
    }
    
    // Filter invoked at the filter extension point.
    func (pl *FakeFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    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