Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnrollWildCardResource (0.29 sec)

  1. pkg/scheduler/framework/types.go

    func (ce ClusterEvent) Match(event ClusterEvent) bool {
    	return ce.IsWildCard() || (ce.Resource == WildCard || ce.Resource == event.Resource) && ce.ActionType&event.ActionType != 0
    }
    
    func UnrollWildCardResource() []ClusterEventWithHint {
    	return []ClusterEventWithHint{
    		{Event: ClusterEvent{Resource: Pod, ActionType: All}},
    		{Event: ClusterEvent{Resource: Node, ActionType: All}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    	// If we return the wildcard here, it won't affect the event handlers registered by the plugin
    	// and some events may not be registered in the event handlers.
    	return framework.UnrollWildCardResource()
    }
    
    func updatePluginList(pluginList interface{}, pluginSet config.PluginSet, pluginsMap map[string]framework.Plugin) error {
    	plugins := reflect.ValueOf(pluginList).Elem()
    	pluginType := plugins.Type().Elem()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top