Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for NewTestPlugin (0.1 sec)

  1. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    // TestPlugin returns Error status when trying to `AddPod` or `RemovePod` on the nodes which have the {k,v} label pair defined on the nodes.
    type TestPlugin struct {
    	name string
    }
    
    func newTestPlugin(_ context.Context, injArgs runtime.Object, f framework.Handle) (framework.Plugin, error) {
    	return &TestPlugin{name: "test-plugin"}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top