- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 47 for nw (0.03 sec)
-
pilot/pkg/xds/endpoints/ep_filters.go
func (b *EndpointBuilder) selectNetworkGateways(nw network.ID, c cluster.ID) []model.NetworkGateway { // Get the gateways for this network+cluster combination. gws := b.gateways().GatewaysForNetworkAndCluster(nw, c) if len(gws) == 0 { // No match for network+cluster, just match the network. gws = b.gateways().GatewaysForNetwork(nw) } return gws }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 9.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller.go
// 1. check the pod/workloadEntry label if nw := labels[label.TopologyNetwork.Name]; nw != "" { return network.ID(nw) } // 2. check the system namespace labels if nw := c.networkFromSystemNamespace(); nw != "" { return nw } // 3. check the meshNetworks config if nw := c.networkFromMeshNetworks(endpointIP); nw != "" { return nw } return "" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 41.2K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses_test.go
ips: sets.New[string]("2001:db8::1", "::1"), }, }, }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { nw := fake.NewFakeNetwork() for _, pair := range tc.itfAddrsPairs { nw.AddInterfaceAddr(&pair.itf, pair.addrs) } for _, family := range []v1.IPFamily{v1.IPv4Protocol, v1.IPv6Protocol} { npa := NewNodePortAddresses(family, tc.cidrs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
meshNetworks.SetNetworks(nil) expectGateways(t, 0) }) } func addLabeledServiceGateway(t *testing.T, c *FakeController, nw string) { svc := &corev1.Service{ ObjectMeta: metav1.ObjectMeta{Name: "istio-labeled-gw", Namespace: "arbitrary-ns", Labels: map[string]string{ label.TopologyNetwork.Name: nw, }}, Spec: corev1.ServiceSpec{ Type: corev1.ServiceTypeLoadBalancer,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
src/io/io.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
}) } } func TestBuildLocalityLbEndpoints(t *testing.T) { proxy := &model.Proxy{ Metadata: &model.NodeMetadata{ ClusterID: "cluster-1", RequestedNetworkView: []string{"nw-0", "nw-1"}, }, } servicePort := &model.Port{ Name: "default", Port: 8080, Protocol: protocol.HTTP, } service := &model.Service{ Hostname: host.Name("*.example.org"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
src/encoding/base32/base32.go
var nr int if d.enc.padChar == NoPadding { nr = d.nbuf } else { nr = d.nbuf / 8 * 8 } nw := d.enc.DecodedLen(d.nbuf) if nw > len(p) { nw, d.end, err = d.enc.decode(d.outbuf[0:], d.buf[0:nr]) d.out = d.outbuf[0:nw] n = copy(p, d.out) d.out = d.out[n:] } else { n, d.end, err = d.enc.decode(p, d.buf[0:nr]) } d.nbuf -= nr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 15.9K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 23:37:42 UTC 2024 - 24.9K bytes - Viewed (0) -
src/internal/poll/fd_windows.go
n := cap(fd.readuint16) - len(fd.readuint16) if n > len(b) { n = len(b) } var nw uint32 err := ReadConsole(fd.Sysfd, &fd.readuint16[:len(fd.readuint16)+1][len(fd.readuint16)], uint32(n), &nw, nil) if err != nil { return 0, err } uint16s := fd.readuint16[:len(fd.readuint16)+int(nw)] fd.readuint16 = fd.readuint16[:0] buf := fd.readbyte[:0] for i := 0; i < len(uint16s); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv11-ECDHE-RSA-AES
00000040 00 00 00 00 00 00 00 00 00 00 92 ce 2d b7 15 d2 |............-...| 00000050 3b c5 42 ad aa 73 a8 e0 ac 26 d2 e7 ef c7 a9 72 |;.B..s...&.....r|
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 7.3K bytes - Viewed (0)