Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TrafficDirection (0.13 sec)

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

    	}
    
    	cases := []struct {
    		name            string
    		clusterName     string
    		discovery       cluster.Cluster_DiscoveryType
    		endpoints       []*endpoint.LocalityLbEndpoints
    		direction       model.TrafficDirection
    		external        bool
    		expectedCluster *cluster.Cluster
    	}{
    		{
    			name:        "default EDS cluster",
    			clusterName: "foo",
    			discovery:   cluster.Cluster_EDS,
    			endpoints:   nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    				t.Fatalf("want %v got %v", tt.want, clusterNames)
    			}
    		})
    	}
    }
    
    func TestTelemetryMetadata(t *testing.T) {
    	cases := []struct {
    		name      string
    		direction model.TrafficDirection
    		cluster   *cluster.Cluster
    		svcInsts  []model.ServiceTarget
    		service   *model.Service
    		want      *core.Metadata
    	}{
    		{
    			name:      "no cluster",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top