Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewFramework (0.61 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    
    			state := framework.NewCycleState()
    			snapshot := cache.NewSnapshot(test.existingPods, test.nodes)
    			fh, _ := runtime.NewFramework(ctx, nil, nil, runtime.WithSnapshotSharedLister(snapshot))
    			args := test.nodeResourcesFitArgs
    			p, err := NewFit(ctx, &args, fh, plfeature.Features{})
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top