Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for serviceTargets (0.45 sec)

  1. pilot/pkg/networking/core/gateway_test.go

    		gateways          []config.Config
    		virtualServices   []config.Config
    		expectedListeners []string
    	}{
    		{
    			"targetPort overrides service port",
    			&pilot_model.Proxy{
    				ServiceTargets: []pilot_model.ServiceTarget{
    					{
    						Service: &pilot_model.Service{
    							Hostname: "test",
    						},
    						Port: pilot_model.ServiceInstancePort{
    							ServicePort: &pilot_model.Port{
    								Port: 80,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    		name      string
    		direction model.TrafficDirection
    		cluster   *cluster.Cluster
    		svcInsts  []model.ServiceTarget
    		service   *model.Service
    		want      *core.Metadata
    	}{
    		{
    			name:      "no cluster",
    			direction: model.TrafficDirectionInbound,
    			cluster:   nil,
    			svcInsts: []model.ServiceTarget{
    				{
    					Service: &model.Service{
    						Attributes: model.ServiceAttributes{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    		t.Run(tc.name, func(t *testing.T) {
    			test.SetForTest(t, &features.EnableAutoSni, tc.enableAutoSni)
    			test.SetForTest(t, &features.VerifyCertAtClient, tc.enableVerifyCertAtClient)
    
    			targets := []model.ServiceTarget{
    				{
    					Service: tc.service,
    					Port: model.ServiceInstancePort{
    						ServicePort: tc.port,
    						TargetPort:  10001,
    					},
    				},
    			}
    
    			var cfg *config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top