Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BuildTunnelMetadataStruct (0.71 sec)

  1. 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)
  2. 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)
Back to top