Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetupPluginWithInformers (0.16 sec)

  1. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    			logger, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    
    			snapshot := cache.NewSnapshot(nil, nil)
    			pl := plugintesting.SetupPluginWithInformers(ctx, t, New, &config.InterPodAffinityArgs{}, snapshot, namespaces)
    			p := pl.(*InterPodAffinity)
    			actualHint, err := p.isSchedulableAfterPodChange(logger, tc.pod, tc.oldPod, tc.newPod)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top