Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for ToOpts (0.12 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    // NewSchedulingQueue initializes a priority queue as a new scheduling queue.
    func NewSchedulingQueue(
    	lessFn framework.LessFunc,
    	informerFactory informers.SharedInformerFactory,
    	opts ...Option) SchedulingQueue {
    	return NewPriorityQueue(lessFn, informerFactory, opts...)
    }
    
    // NominatedNodeName returns nominated node name of a Pod.
    func NominatedNodeName(pod *v1.Pod) string {
    	return pod.Status.NominatedNodeName
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	controller.opts.XDSUpdater.(*xdsfake.Updater).WaitOrFail(t, "service")
    }
    
    func createServiceWait(controller *FakeController, name, namespace string, labels, annotations map[string]string,
    	ports []int32, selector map[string]string, t *testing.T,
    ) {
    	t.Helper()
    	createService(controller, name, namespace, labels, annotations, ports, selector, t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	tc.informerFactory = informers.NewSharedInformerFactory(tc.client, 0)
    
    	opts := []runtime.Option{
    		runtime.WithClientSet(tc.client),
    		runtime.WithInformerFactory(tc.informerFactory),
    	}
    	fh, err := runtime.NewFramework(tCtx, nil, nil, opts...)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	// Add the volume to ASW by reconciling.
    	fakeASW := dswp.actualStateOfWorld
    	reconcileASW(fakeASW, dswp.desiredStateOfWorld, t)
    
    	// Mark the volume as uncertain
    	opts := operationexecutor.MarkVolumeOpts{
    		PodName:             util.GetUniquePodName(pod),
    		PodUID:              pod.UID,
    		VolumeName:          expectedVolumeName,
    		OuterVolumeSpecName: "dswp-test-volume-name",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. tensorflow/BUILD

    #     define_values = {"PORTABLE_PROTO_TRANSITION_MODE": "third_party"},
    #     visibility = ["//visibility:public"],
    # )
    # copybara:uncomment_end
    
    # 'enable_registration_v2' opts-in to a different implementation of op and
    # kernel registration - REGISTER_OP, REGISTER_KERNEL_BUILDER, etc.
    #
    # This setting is currently experimental. The 'v2' implementation does _not_
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server_test.go

    			fw := newServerTestWithDebug(true, ss)
    			defer fw.testHTTPServer.Close()
    
    			portForwardFuncDone := make(chan struct{})
    
    			fw.fakeKubelet.getPortForwardCheck = func(name, namespace string, uid types.UID, opts portforward.V4Options) {
    				assert.Equal(t, podName, name, "pod name")
    				assert.Equal(t, podNamespace, namespace, "pod namespace")
    				if test.uid {
    					assert.Equal(t, testUID, string(uid), "uid")
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top