Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FailedNodeReturnCodeMap (0.35 sec)

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

    }
    
    // FakeFilterPlugin is a test filter plugin to record how many times its Filter() function have
    // been called, and it returns different 'Code' depending on its internal 'failedNodeReturnCodeMap'.
    type FakeFilterPlugin struct {
    	NumFilterCalled         int32
    	FailedNodeReturnCodeMap map[string]framework.Code
    }
    
    // Name returns name of the plugin.
    func (pl *FakeFilterPlugin) Name() string {
    	return "FakeFilter"
    }
    
    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