- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toMatcher (0.11 sec)
-
pilot/pkg/networking/core/match/match_test.go
// fallback: chain leaf := NewSourceIP() leaf.Map["1.2.3.4"] = ToChain("chain") inner := NewDestinationIP() inner.OnNoMatch = ToMatcher(leaf.Matcher) root := NewDestinationPort() root.OnNoMatch = ToMatcher(inner.Matcher) return root }, want: func() *matcher.Matcher { // src port // 15001: chain want := NewSourceIP()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java
if (specs != null) { ImmutableList.Builder<SpecMatcher> builder = ImmutableList.builderWithExpectedSize(specs.size()); for (ContentSpec spec : specs) { builder.add(spec.toMatcher()); } matchers = builder.build(); } return matchers; } private static void checkNotNull(@Nullable String value, String message) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 19.5K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
Action: &xds.TypedExtensionConfig{ Name: name, TypedConfig: protoconv.MessageToAny(&wrappers.StringValue{Value: name}), }, }, } } func ToMatcher(match *matcher.Matcher) *matcher.Matcher_OnMatch { return &matcher.Matcher_OnMatch{ OnMatch: &matcher.Matcher_OnMatch_Matcher{ Matcher: match, }, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
} if port.Protocol.IsUnsupported() { // If we need to sniff, insert two chains and the protocol detector chains = append(chains, tcpChain, httpChain) portMapper.Map[portString] = match.ToMatcher(match.NewAppProtocol(match.ProtocolMatch{ TCP: match.ToChain(tcpName), HTTP: match.ToChain(httpName), })) } else if port.Protocol.IsHTTP() { // Otherwise, just insert HTTP/TCP
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
return nil } match := &security.Match{ DestinationPorts: stringToPort(op.Ports), NotDestinationPorts: stringToPort(op.NotPorts), } toMatches = append(toMatches, match) } fromMatches := []*security.Match{} for _, from := range rule.From { op := from.Source
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0)