Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FromPodSchedulingContexts (0.19 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    			OwnerReference(podName, podUID, podKind).
    			Obj()
    	schedulingPotential = st.FromPodSchedulingContexts(scheduling).
    				PotentialNodes(workerNode.Name).
    				Obj()
    	schedulingSelectedPotential = st.FromPodSchedulingContexts(schedulingPotential).
    					SelectedNode(workerNode.Name).
    					Obj()
    	schedulingInfo = st.FromPodSchedulingContexts(schedulingPotential).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. pkg/scheduler/testing/wrappers.go

    func MakePodSchedulingContexts() *PodSchedulingWrapper {
    	return &PodSchedulingWrapper{resourcev1alpha2.PodSchedulingContext{}}
    }
    
    // FromPodSchedulingContexts creates a PodSchedulingContext wrapper from an existing object.
    func FromPodSchedulingContexts(other *resourcev1alpha2.PodSchedulingContext) *PodSchedulingWrapper {
    	return &PodSchedulingWrapper{*other.DeepCopy()}
    }
    
    // Obj returns the inner object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top