- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for portNames (0.23 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/services.go
) krt.Collection[model.ServiceInfo] { ServicesInfo := krt.NewCollection(Services, func(ctx krt.HandlerContext, s *v1.Service) *model.ServiceInfo { portNames := map[int32]model.ServicePortName{} for _, p := range s.Spec.Ports { portNames[p.Port] = model.ServicePortName{ PortName: p.Name, TargetPortName: p.TargetPort.StrVal, } } waypointKey := ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 12:29:55 UTC 2024 - 7.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go
if svc == nil { t.Fatal("failed to get service") } // Create an endpoint that indicates it's an MCS endpoint for the service. svc1Ips := []string{"128.0.0.1"} portNames := []string{"tcp-port"} createEndpoints(t, controller, svcName, ns, portNames, svc1Ips, nil, map[string]string{ mcs.LabelServiceName: svcName, }) fx.AssertEmpty(t, time.Millisecond*50) // Ensure that no endpoint is create
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/service/portname.go
Xiaopeng Han <******@****.***> 1694789158 +0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Sep 15 14:45:58 UTC 2023 - 2.6K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/destination_rule_tls_test.go
sni: server `).ApplyOrFail(t) for _, portName := range []string{"grpc", "http", "tcp"} { portName := portName t.NewSubTest(portName).Run(func(t framework.TestContext) { opts := echo.CallOptions{ To: server, Count: 1, Port: echo.Port{ Name: portName, }, Check: check.OK(), } if portName == "tcp" { opts.Scheme = scheme.TCP }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/config/kube/conversion.go
) // ConvertProtocol from k8s protocol and port name func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance { if proto == corev1.ProtocolUDP { return protocol.UDP } // If application protocol is set, we will use that // If not, use the port name name := portName if appProto != nil { name = *appProto
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/proxy/servicechangetracker.go
for svcPortName, info := range other { _, exists := (*sm)[svcPortName] if !exists { klog.V(4).InfoS("Adding new service port", "portName", svcPortName, "servicePort", info) } else { klog.V(4).InfoS("Updating existing service port", "portName", svcPortName, "servicePort", info) } (*sm)[svcPortName] = info } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 8.7K bytes - Viewed (0) -
pkg/kubelet/lifecycle/handlers.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 11:40:52 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/proxy/types.go
Sync() // SyncLoop runs periodic work. // This is expected to run as a goroutine or as the main loop of the app. // 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 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 21 14:28:37 UTC 2024 - 1.7K bytes - Viewed (0) -
pilot/pkg/model/gateway_test.go
if !hosts.Equals(expectedHosts) { t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String()) } } func makeConfig(name, namespace, host, portName, portProtocol string, portNumber uint32, gw string, bind string, mode networking.ServerTLSSettings_TLSmode, ) config.Config { c := config.Config{ Meta: config.Meta{ Name: name, Namespace: namespace,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 02:36:23 UTC 2024 - 9K bytes - Viewed (0) -
pkg/apis/networking/fuzzer/fuzzer.go
c.FuzzNoCustom(p) // clear one of the fields if c.RandBool() { p.Name = "" if p.Number == 0 { p.Number = 1 } } else { p.Number = 0 if p.Name == "" { p.Name = "portname" } } }, func(p *networking.IngressClass, c fuzz.Continue) { c.FuzzNoCustom(p) // fuzz self without calling this function again // default Parameters to Cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 4K bytes - Viewed (0)