Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FakePermit (0.08 sec)

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

    type FakePermitPlugin struct {
    	Status  *framework.Status
    	Timeout time.Duration
    }
    
    // Name returns name of the plugin.
    func (pl *FakePermitPlugin) Name() string {
    	return "FakePermit"
    }
    
    // Permit invoked at the Permit extension point.
    func (pl *FakePermitPlugin) Permit(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) (*framework.Status, time.Duration) {
    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