- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nameMatches (0.57 sec)
-
operator/cmd/mesh/test-util_test.go
o.objMap[h] = obj o.keySlice = append(o.keySlice, h) } // size reports the length of o. func (o *ObjectSet) size() int { return len(o.keySlice) } // nameMatches returns a subset of o where objects names match the given regex. func (o *ObjectSet) nameMatches(nameRegex string) *ObjectSet { ret := &ObjectSet{} for k, v := range o.objMap { _, _, objName := object.FromHash(k) m, err := regexp.MatchString(nameRegex, objName)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0)