Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BuildInternalEndpoint (0.28 sec)

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

    		Name:                 name,
    		ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_STATIC},
    		LoadAssignment: &endpoint.ClusterLoadAssignment{
    			ClusterName: name,
    			Endpoints:   util.BuildInternalEndpoint(internalListener, nil),
    		},
    		TransportSocket: util.DefaultInternalUpstreamTransportSocket,
    		TypedExtensionProtocolOptions: map[string]*anypb.Any{
    			v3.HttpProtocolOptionsType: passthroughHttpProtocolOptions,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/util/util.go

    func DomainName(host string, port int) string {
    	return net.JoinHostPort(host, strconv.Itoa(port))
    }
    
    // BuildInternalEndpoint builds an lb endpoint pointing to the internal listener named dest.
    // If the metadata contains "tunnel.destination" that will become the "endpointId" to prevent deduplication.
    func BuildInternalEndpoint(dest string, meta *core.Metadata) []*endpoint.LocalityLbEndpoints {
    	llb := []*endpoint.LocalityLbEndpoints{{
    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