- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 53 for serviceHostname (0.28 sec)
-
pilot/pkg/model/push_context_test.go
serviceNs string serviceHostname string expectedDrCount int expectedDrName []string expectedNamespacedFrom map[string][]types.NamespacedName }{ { name: "return list of DRs for specific host", proxyNs: "test", serviceNs: "test", serviceHostname: testhost, expectedDrCount: 3,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go
vips := ic.getClusterSetIPs(namespacedName) name := namespacedName.Name ns := namespacedName.Namespace if len(vips) == 0 || (event == model.EventDelete && ic.opts.MeshServiceController.GetService(kube.ServiceHostname(name, ns, ic.opts.DomainSuffix)) == nil) { if prevMcsService != nil { // There are no vips in this cluster. Just delete the MCS service now. ic.deleteService(prevMcsService) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go
ic.opts.XDSUpdater.(*xdsfake.Updater).MatchOrFail(t, xdsfake.Event{Type: "service", ID: serviceImportClusterSetHost.String()}) } func (ic *serviceImportCacheImpl) clusterLocalHost() host.Name { return kube.ServiceHostname(serviceImportName, serviceImportNamespace, ic.opts.DomainSuffix) } func newServiceImport(importType mcsapi.ServiceImportType, vips []string) *unstructured.Unstructured { si := &mcsapi.ServiceImport{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 15.2K bytes - Viewed (0) -
pkg/proxy/types.go
// It does not return. SyncLoop() } // ServicePortName carries a namespace + name + portname. This is the unique // identifier for a load-balanced service. type ServicePortName struct { types.NamespacedName Port string Protocol v1.Protocol } func (spn ServicePortName) String() string { return fmt.Sprintf("%s%s", spn.NamespacedName.String(), fmtPortName(spn.Port)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 21 14:28:37 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/proxy/conntrack/cleanup.go
klog.ErrorS(err, "Failed to delete endpoint connections", "servicePortName", epSvcPair.ServicePortName) } for _, extIP := range svcInfo.ExternalIPs() { err := ct.ClearEntriesForNAT(extIP.String(), endpointIP, v1.ProtocolUDP) if err != nil { klog.ErrorS(err, "Failed to delete endpoint connections for externalIP", "servicePortName", epSvcPair.ServicePortName, "externalIP", extIP) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/proxy/endpointschangetracker_test.go
currentEndpointSlices []*discovery.EndpointSlice previousEndpointsMap map[ServicePortName][]*BaseEndpointInfo expectedResult map[ServicePortName][]*BaseEndpointInfo expectedDeletedUDPEndpoints []ServiceEndpoint expectedNewlyActiveUDPServices map[ServicePortName]bool expectedLocalEndpoints map[types.NamespacedName]int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 79.9K bytes - Viewed (0) -
pkg/proxy/conntrack/cleanup_test.go
// for that. Also, svcPortMap is read-only from this point on.) tcpPortName := proxy.ServicePortName{ NamespacedName: types.NamespacedName{ Namespace: svc.Namespace, Name: svc.Name, }, Port: svc.Spec.Ports[0].Name, Protocol: svc.Spec.Ports[0].Protocol, } udpPortName := proxy.ServicePortName{ NamespacedName: types.NamespacedName{ Namespace: svc.Namespace, Name: svc.Name,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 7.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/memory/discovery.go
func (sd *ServiceDiscovery) AddEndpoint(service host.Name, servicePortName string, servicePort int, address string, port int) *model.ServiceInstance { instance := &model.ServiceInstance{ Service: &model.Service{Hostname: service}, Endpoint: &model.IstioEndpoint{ Address: address, ServicePortName: servicePortName, EndpointPort: uint32(port), }, ServicePort: &model.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 23:10:01 UTC 2024 - 12.4K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
} func makeNSN(namespace, name string) types.NamespacedName { return types.NamespacedName{Namespace: namespace, Name: name} } func makeServicePortName(ns, name, port string, protocol v1.Protocol) ServicePortName { return ServicePortName{ NamespacedName: makeNSN(ns, name), Port: port, Protocol: protocol, } } func makeIPs(ipStr ...string) []net.IP { var ips []net.IP for _, s := range ipStr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
currentEndpoints []*discovery.EndpointSlice oldEndpoints map[proxy.ServicePortName][]endpointExpectation expectedResult map[proxy.ServicePortName][]endpointExpectation expectedDeletedUDPEndpoints []proxy.ServiceEndpoint expectedNewlyActiveUDPServices map[proxy.ServicePortName]bool expectedLocalEndpoints map[types.NamespacedName]int }{{ // Case[0]: nothing
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0)