Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPendingPlugins (0.27 sec)

  1. pkg/scheduler/framework/runtime/waiting_pods_map.go

    		})
    	}
    
    	return wp
    }
    
    // GetPod returns a reference to the waiting pod.
    func (w *waitingPod) GetPod() *v1.Pod {
    	return w.pod
    }
    
    // GetPendingPlugins returns a list of pending permit plugin's name.
    func (w *waitingPod) GetPendingPlugins() []string {
    	w.mu.RLock()
    	defer w.mu.RUnlock()
    	plugins := make([]string, 0, len(w.pendingPlugins))
    	for p := range w.pendingPlugins {
    		plugins = append(plugins, p)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/interface.go

    }
    
    // WaitingPod represents a pod currently waiting in the permit phase.
    type WaitingPod interface {
    	// GetPod returns a reference to the waiting pod.
    	GetPod() *v1.Pod
    	// GetPendingPlugins returns a list of pending Permit plugin's name.
    	GetPendingPlugins() []string
    	// Allow declares the waiting pod is allowed to be scheduled by the plugin named as "pluginName".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top