- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for MatchAll (0.17 sec)
-
pkg/proxy/util/nodeport_addresses_test.go
} for _, family := range []v1.IPFamily{v1.IPv4Protocol, v1.IPv6Protocol} { npa := NewNodePortAddresses(family, tc.cidrs) if npa.MatchAll() != tc.expected[family].matchAll { t.Errorf("unexpected MatchAll(%s), expected: %v", family, tc.expected[family].matchAll) } ips, err := npa.GetNodeIPs(nw) expectedIPs := tc.expected[family].ips // The fake InterfaceAddrs() never returns an error, so
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses.go
npa.cidrs = []*net.IPNet{cidr} npa.matchAll = true break } npa.cidrs = append(npa.cidrs, cidr) } return npa } func (npa *NodePortAddresses) String() string { return fmt.Sprintf("%v", npa.cidrStrings) } // MatchAll returns true if npa matches all node IPs (of npa's given family) func (npa *NodePortAddresses) MatchAll() bool { return npa.matchAll }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/pack/pack.go
type Archive struct { a *archive.Archive files []string // Explicit list of files to be processed. pad int // Padding bytes required at end of current archive file matchAll bool // match all files in archive } // archive opens (and if necessary creates) the named archive. func openArchive(name string, mode int, files []string) *Archive { f, err := os.OpenFile(name, mode, 0666)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/proxy/nftables/proxier.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 55.5K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
b.Run("big-match-all", func(b *testing.B) { benchmarkConvertIstioListenerToWrapper(b, 300, 15, "", true) }) } func benchmarkConvertIstioListenerToWrapper(b *testing.B, vsNum int, hostNum int, wildcard string, matchAll bool) { // virtual service cfgs := make([]config.Config, 0) for i := 0; i < vsNum; i++ { cfgs = append(cfgs, config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.VirtualService,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
} } // List of node IP addresses to be used as IPVS services if nodePort is set. This // can be reused for all nodePort services. var nodeIPs []net.IP if hasNodePort { if proxier.nodePortAddresses.MatchAll() { for _, ipStr := range nodeAddressSet.UnsortedList() { nodeIPs = append(nodeIPs, netutils.ParseIPSloppy(ipStr)) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
samples/bookinfo/src/productpage/static/tailwind/tailwind.css
,r=Z.extname(i)){let n=jC(Z.resolve(e,i),LC.includes(r)?NC:$C);if(n===null||t.has(n))return;t.add(n),yield n,e=Z.dirname(n),r=Z.extname(n);let a=te.readFileSync(n,"utf-8");for(let s of[...a.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),...a.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),...a.matchAll(/require\(['"`](.+)['"`]\)/gi)])!s[1].startsWith(".")||(yield*uh(s[1],e,t,r))}function wo(i){return i===null?new Set:new Set(uh(i,Z.dirname(i),new Set))}var LC,NC,$C,fh=C(()=>{l();je();gt();...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 14:48:01 UTC 2024 - 357.1K bytes - Viewed (1) -
pilot/pkg/networking/core/route/route.go
return true } catchall := false switch m := in.MatchType.(type) { case *networking.StringMatch_Regex: // `*` is NOT a RE2 style regex, it's a metacharacter. // It will be translated as present_match, rather than matching "any string". // see https://github.com/istio/istio/pull/20629 catchall = m.Regex == "*" } return catchall }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
}, }, }, }, want: false, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { catchall := IsCatchAllRoute(tt.route) if catchall != tt.want { t.Errorf("Unexpected catchAllMatch want %v, got %v", tt.want, catchall) } }) } } func TestTranslateCORSPolicyForwardNotMatchingPreflights(t *testing.T) { node := &model.Proxy{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0)