Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for portNames (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/kubelet/lifecycle/handlers.go

    	if portReference.Type == intstr.Int {
    		return portReference.IntValue(), nil
    	}
    	portName := portReference.StrVal
    	port, err := strconv.Atoi(portName)
    	if err == nil {
    		return port, nil
    	}
    	for _, portSpec := range container.Ports {
    		if portSpec.Name == portName {
    			return int(portSpec.ContainerPort), nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
Back to top