- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for nameMatches (0.34 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 Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
g.Expect(objs.kind(name.ServiceStr).labels("istio=ingressgateway").size()).Should(Equal(3)) g.Expect(objs.kind(name.RoleStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) g.Expect(objs.kind(name.RoleBindingStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) g.Expect(objs.kind(name.SAStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) dobj := mustGetDeployment(g, objs, "istio-ingressgateway") d := dobj.Unstructured()
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml
<!-- The variants from org.gradle.util.internal should be used instead--> <property name="illegalClasses" value="^org\.gradle\.util\.(CollectionUtils|NameMatcher|NameValidator|VersionNumber|TextUtil|WrapUtil|RelativePathUtil|DistributionLocator|SingleMessageLogger|ClosureBackedAction|ConfigureUtil)"/> </module> <!-- Naming --> <module name="ConstantName"/>
XML - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Fri Dec 16 22:05:16 GMT 2022 - 6.3K bytes - Viewed (0) -
statement.go
} } } } return false } var matchName = func() func(tableColumn string) (table, column string) { nameMatcher := regexp.MustCompile(`^(?:\W?(\w+?)\W?\.)?(?:(\*)|\W?(\w+?)\W?)$`) return func(tableColumn string) (table, column string) { if matches := nameMatcher.FindStringSubmatch(tableColumn); len(matches) == 4 { table = matches[1] star := matches[2] columnName := matches[3]
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 19.8K bytes - Viewed (0)