Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TrueFilter (0.13 sec)

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

    // TrueFilterPlugin is a filter plugin which always return Success when Filter function is called.
    type TrueFilterPlugin struct{}
    
    // Name returns name of the plugin.
    func (pl *TrueFilterPlugin) Name() string {
    	return "TrueFilter"
    }
    
    // Filter invoked at the filter extension point.
    func (pl *TrueFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	return nil
    }
    
    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