- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BuildTunnelMetadataStruct (0.36 sec)
-
pilot/pkg/xds/endpoints/endpoint_builder.go
Address: util.BuildInternalAddressWithIdentifier(connectOriginate, net.JoinHostPort(address, strconv.Itoa(port))), }} 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.
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/util/util.go
// extract host from endpoint id host, _, _ := net.SplitHostPort(endpointID) return host } return "" } func BuildTunnelMetadataStruct(address string, port int) *structpb.Struct { m := map[string]interface{}{ // logical destination behind the tunnel, on which policy and telemetry will be applied
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0)