Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for port_name (0.34 sec)

  1. pilot/pkg/model/gateway.go

    	} else if strings.HasPrefix(name, "https.") && strings.Count(name, ".") == 4 {
    		name = name[len("https."):]
    		// format: https.<port>.<port_name>.<gw name>.<gw namespace>
    		portNums, rest, ok := strings.Cut(name, ".")
    		if !ok {
    			return
    		}
    		portNumber, _ = strconv.Atoi(portNums)
    		portName, rest, ok = strings.Cut(rest, ".")
    		if !ok {
    			return
    		}
    		gwName, gwNs, ok := strings.Cut(rest, ".")
    		if !ok {
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    							},
    						},
    					},
    					PortNames: map[int32]model.ServicePortName{
    						// Not a named port
    						80: {PortName: "80"},
    						// Named port found in WE
    						81: {PortName: "81", TargetPortName: "81-target"},
    						// Named port target found in WE
    						82: {PortName: "82", TargetPortName: "82-target"},
    						// Named port not found in WE
    						83: {PortName: "83", TargetPortName: "83-target"},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/traffic_allow_any_test.go

    	"net/http"
    	"testing"
    
    	"istio.io/istio/pkg/test/framework/components/prometheus"
    )
    
    func TestOutboundTrafficPolicy_AllowAny(t *testing.T) {
    	cases := []*TestCase{
    		{
    			Name:     "HTTP Traffic",
    			PortName: "http",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_requests_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"reporter":                 "source",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  6. pkg/config/kube/conversion_test.go

    		},
    		{
    			name:          "resolves from port name",
    			portName:      "http-something",
    			expectedProto: protocol.HTTP,
    		},
    		{
    			name:          "prefers appProto over portName",
    			portName:      "http-something",
    			appProto:      &https,
    			expectedProto: protocol.HTTPS,
    		},
    		{
    			name:          "resolves from appProto",
    			portName:      "something-httpx",
    			appProto:      &https,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 15:30:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. tests/integration/telemetry/policy/traffic_registry_only_test.go

    			},
    		},
    		{
    			Name:     "HTTPS Traffic",
    			PortName: "https",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_tcp_connections_closed_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"destination_service_name": "BlackHoleCluster",
    					},
    				},
    			},
    		},
    		{
    			Name:     "HTTPS Traffic Conflict",
    			PortName: "https-conflict",
    			Expected: Expected{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(null)
                .add(SHORT_NAME, java.util.Optional.of("1"))
                .add(LONG_NAME, java.util.Optional.of("1"))
                .add(SHORT_NAME, java.util.Optional.empty())
                .add(LONG_NAME, java.util.Optional.empty())
                .add(SHORT_NAME, Optional.of("2"))
                .add(SHORT_NAME, Optional.absent())
                .addValue(null)
                .add(SHORT_NAME, new int[] {1})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(null)
                .add(SHORT_NAME, Optional.of("1"))
                .add(LONG_NAME, Optional.of("1"))
                .add(SHORT_NAME, Optional.absent())
                .add(LONG_NAME, Optional.absent())
                .add(SHORT_NAME, Optional.of("2"))
                .add(SHORT_NAME, Optional.absent())
                .addValue(null)
                .add(SHORT_NAME, new int[] {1})
                .add(LONG_NAME, new int[] {2})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top