- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsWildCard (0.15 sec)
-
pkg/scheduler/framework/types.go
// ActionType denotes the specific change such as Add, Update or Delete. type ClusterEvent struct { Resource GVK ActionType ActionType Label string } // IsWildCard returns true if ClusterEvent follows WildCard semantics func (ce ClusterEvent) IsWildCard() bool { return ce.Resource == WildCard && ce.ActionType == All } // Match returns true if ClusterEvent is matched with the coming event.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
} else if q.patternIsLocal { r.localQueries = append(r.localQueries, q) } else if q.isWildcard() { r.wildcardQueries = append(r.wildcardQueries, q) } else { r.pathQueries = append(r.pathQueries, q) } if q.version == "none" { // Index "none" queries to make noneForPath more efficient. if q.isWildcard() { r.wildcardNones = append(r.wildcardNones, q) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
queueImmediately ) // isEventOfInterest returns true if the event is of interest by some plugins. func (p *PriorityQueue) isEventOfInterest(logger klog.Logger, event framework.ClusterEvent) bool { if event.IsWildCard() { return true } for _, hintMap := range p.queueingHintMap { for eventToMatch := range hintMap { if eventToMatch.Match(event) { // This event is interested by some plugins. return true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0)