Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for actionType (0.3 sec)

  1. pilot/pkg/networking/plugin/authz/authorization.go

    	tcpFilters  []*listener.Filter
    	builder     *builder.Builder
    }
    
    func NewBuilder(actionType ActionType, push *model.PushContext, proxy *model.Proxy, useFilterState bool) *Builder {
    	return NewBuilderForService(actionType, push, proxy, useFilterState, nil)
    }
    
    func NewBuilderForService(actionType ActionType, push *model.PushContext, proxy *model.Proxy, useFilterState bool, svc *model.Service) *Builder {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types.go

    		{Event: ClusterEvent{Resource: CSINode, ActionType: All}},
    		{Event: ClusterEvent{Resource: CSIDriver, ActionType: All}},
    		{Event: ClusterEvent{Resource: CSIStorageCapacity, ActionType: All}},
    		{Event: ClusterEvent{Resource: StorageClass, ActionType: All}},
    		{Event: ClusterEvent{Resource: PodSchedulingContext, ActionType: All}},
    		{Event: ClusterEvent{Resource: ResourceClaim, 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)
  3. pkg/scheduler/internal/queue/events.go

    	// NodeLabelChange is the event when node label is changed.
    	NodeLabelChange = framework.ClusterEvent{Resource: framework.Node, ActionType: framework.UpdateNodeLabel, Label: "NodeLabelChange"}
    	// NodeAnnotationChange is the event when node annotation is changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler_test.go

    				{Resource: framework.Pod, ActionType: framework.All}: {
    					{PluginName: filterWithoutEnqueueExtensions, QueueingHintFn: defaultQueueingHintFn},
    				},
    				{Resource: framework.Node, ActionType: framework.All}: {
    					{PluginName: filterWithoutEnqueueExtensions, QueueingHintFn: defaultQueueingHintFn},
    				},
    				{Resource: framework.CSINode, ActionType: framework.All}: {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. pkg/scheduler/scheduler.go

    	gvkMap := make(map[framework.GVK]framework.ActionType)
    	for _, queueingHints := range queueingHintsPerProfile {
    		for evt := range queueingHints {
    			if _, ok := gvkMap[evt.Resource]; ok {
    				gvkMap[evt.Resource] |= evt.ActionType
    			} else {
    				gvkMap[evt.Resource] = evt.ActionType
    			}
    		}
    	}
    	return gvkMap
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types_test.go

    			event:       ClusterEvent{Resource: WildCard, ActionType: UpdateNodeLabel},
    			comingEvent: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel},
    			wantResult:  true,
    		},
    		{
    			name:        "event with resource = '*' matching with coming events carries different actionType",
    			event:       ClusterEvent{Resource: WildCard, ActionType: UpdateNodeLabel},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    func (pl *TaintToleration) EventsToRegister() []framework.ClusterEventWithHint {
    	clusterEventWithHint := []framework.ClusterEventWithHint{
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.Update}, QueueingHintFn: pl.isSchedulableAfterNodeChange},
    	}
    	if !pl.enableSchedulingQueueHint {
    		return clusterEventWithHint
    	}
    	// When the QueueingHint feature is enabled,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    	// https://github.com/kubernetes/kubernetes/pull/122234
    	return []framework.ClusterEventWithHint{
    		// Pods can be more schedulable once it's gates are removed
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    	}
    }
    
    // New initializes a new plugin and returns it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    		{Event: framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Add}},
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Delete}, QueueingHintFn: pl.isSchedulableAfterPodDeleted},
    		{Event: framework.ClusterEvent{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add}},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/fit.go

    		podActionType |= framework.Update
    	}
    	return []framework.ClusterEventWithHint{
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: podActionType}, QueueingHintFn: f.isSchedulableAfterPodChange},
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.Update}, QueueingHintFn: f.isSchedulableAfterNodeChange},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top