- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for filterMetadata (0.26 sec)
-
pilot/pkg/networking/util/util_test.go
Namespace: "default", Domain: "svc.cluster.local", GroupVersionKind: gvk.DestinationRule, }, &core.Metadata{ FilterMetadata: map[string]*structpb.Struct{}, }, &core.Metadata{ FilterMetadata: map[string]*structpb.Struct{ IstioMetadataKey: { Fields: map[string]*structpb.Value{ "config": { Kind: &structpb.Value_StringValue{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
} if metadata == nil { metadata = &core.Metadata{ FilterMetadata: map[string]*structpb.Struct{}, } } if _, ok := metadata.FilterMetadata[IstioMetadataKey]; !ok { metadata.FilterMetadata[IstioMetadataKey] = &structpb.Struct{ Fields: map[string]*structpb.Value{}, } } metadata.FilterMetadata[IstioMetadataKey].Fields["alpn_override"] = &structpb.Value{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
cluster.Metadata = &core.Metadata{ FilterMetadata: map[string]*structpb.Struct{}, } } // Create Istio metadata if does not exist yet if _, ok := cluster.Metadata.FilterMetadata[util.IstioMetadataKey]; !ok { cluster.Metadata.FilterMetadata[util.IstioMetadataKey] = &structpb.Struct{ Fields: map[string]*structpb.Value{}, } } return cluster.Metadata.FilterMetadata[util.IstioMetadataKey]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
}} ep.Metadata.FilterMetadata[util.OriginalDstMetadataKey] = util.BuildTunnelMetadataStruct(address, port) if b.dir != model.TrafficDirectionInboundVIP { // Add TLS metadata matcher to indicate we can use HBONE for this endpoint. // We skip this for service waypoint, which doesn't need to dynamically match mTLS vs HBONE. ep.Metadata.FilterMetadata[util.EnvoyTransportSocketMetadataKey] = &structpb.Struct{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
} } } func verifyALPNOverride(t *testing.T, md *core.Metadata, tlsMode networking.ClientTLSSettings_TLSmode) { istio, ok := md.FilterMetadata[util.IstioMetadataKey] if tlsMode == networking.ClientTLSSettings_SIMPLE || tlsMode == networking.ClientTLSSettings_MUTUAL { if !ok { t.Errorf("Istio metadata not found") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/ep_filters_test.go
// check workload metadata var gotWorkloadMetadata []string for _, llbEndpoints := range filtered { for _, ep := range llbEndpoints.LbEndpoints { metadata := ep.Metadata.FilterMetadata[util.IstioMetadataKey].Fields["workload"].GetStringValue() gotWorkloadMetadata = append(gotWorkloadMetadata, metadata) } } if !slices.Equal(gotWorkloadMetadata, tt.wantWorkloadMetadata) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 26.8K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return true } } return false } // getIstioConfig returns .metadata.filter_metadata.istio.config, err func getIstioConfig(metadata *core.Metadata) (string, error) { if metadata != nil { istioConfig := asMyProtoValue(metadata.FilterMetadata[util.IstioMetadataKey]). keyAsString("config") return istioConfig, nil } return "", fmt.Errorf("no istio config") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0)