Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newTestCluster (0.45 sec)

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

    				Mode: networking.ClientTLSSettings_DISABLE,
    			},
    			result: expectedResult{nil, nil},
    		},
    		{
    			name: "tls mode ISTIO_MUTUAL",
    			opts: &buildClusterOpts{
    				mutable: newTestCluster(),
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode:            networking.ClientTLSSettings_ISTIO_MUTUAL,
    				SubjectAltNames: []string{"SAN"},
    				Sni:             "some-sni.com",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    				t.Errorf("Unexpected Discovery type or Lb policy, got Discovery type: %v, Lb Policy: %v", passthrough.GetType(), passthrough.GetLbPolicy())
    			}
    		})
    	}
    }
    
    func newTestCluster() *clusterWrapper {
    	return newClusterWrapper(&cluster.Cluster{
    		Name: "test-cluster",
    	})
    }
    
    func newH2TestCluster() *clusterWrapper {
    	mc := newClusterWrapper(&cluster.Cluster{
    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