Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildUpstreamTLSSettings (0.14 sec)

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

    			},
    			userSupplied,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cb := NewClusterBuilder(tt.proxy, nil, nil)
    			gotTLS, gotCtxType := cb.buildUpstreamTLSSettings(tt.tls, tt.sans, tt.sni, tt.autoMTLSEnabled, tt.meshExternal, tt.serviceMTLSMode)
    			if !reflect.DeepEqual(gotTLS, tt.want) {
    				t.Errorf("cluster TLS does not match expected result want %#v, got %#v", tt.want, gotTLS)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top