- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetCommonTlsContext (1.29 sec)
-
pilot/test/xdstest/extract.go
continue } tl := UnmarshalAny[tls.UpstreamTlsContext](t, s.GetTypedConfig()) resourceNames.Insert(tl.GetCommonTlsContext().GetCombinedValidationContext().GetValidationContextSdsSecretConfig().GetName()) for _, s := range tl.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs() { resourceNames.Insert(s.GetName()) } } return resourceNames.UnsortedList() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 13.9K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
sim.t.Fatal(err) } if len(t.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs()) == 0 { return false } // This is a lazy heuristic, we could check for explicit default resource or spiffe if it becomes necessary if t.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs()[0].Name != mTLSSecretConfigName { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
t.Fatal(err) } transport := &tls.UpstreamTlsContext{} ads.GetEdsClusters()["outbound|80||test1"].GetTransportSocketMatches()[0].GetTransportSocket().GetTypedConfig().UnmarshalTo(transport) sans := transport.GetCommonTlsContext().GetCombinedValidationContext().GetDefaultValidationContext().GetMatchSubjectAltNames() //nolint: staticcheck if len(sans) != 1 { t.Fatalf("expected 1 san, got %v", sans) } } func TestEds(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0)