Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewMap (0.09 sec)

  1. pkg/scheduler/profile/profile_test.go

    var fakeRegistry = frameworkruntime.Registry{
    	"QueueSort": newFakePlugin("QueueSort"),
    	"Bind1":     newFakePlugin("Bind1"),
    	"Bind2":     newFakePlugin("Bind2"),
    	"Another":   newFakePlugin("Another"),
    }
    
    func TestNewMap(t *testing.T) {
    	cases := []struct {
    		name    string
    		cfgs    []config.KubeSchedulerProfile
    		wantErr string
    	}{
    		{
    			name: "valid",
    			cfgs: []config.KubeSchedulerProfile{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top