Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buildServiceMetadata (0.29 sec)

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

    			ListValue: &structpb.ListValue{
    				Values: []*structpb.Value{},
    			},
    		},
    	}
    	svcMetaList := im.Fields["services"].GetListValue()
    	svcMetaList.Values = append(svcMetaList.Values, buildServiceMetadata(svc))
    
    	// no TLS, we are just going to internal address
    	localCluster.cluster.TransportSocketMatches = nil
    	localCluster.cluster.TransportSocket = util.TunnelHostInternalUpstreamTransportSocket
    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/core/cluster_builder.go

    				continue
    			}
    			svcMetaList.Values = append(svcMetaList.Values, buildServiceMetadata(svc.Service))
    			have.Insert(svc.Service.Hostname)
    		}
    	} else if direction == model.TrafficDirectionOutbound {
    		// For outbound cluster, add telemetry metadata based on the service that the cluster is built for.
    		svcMetaList.Values = append(svcMetaList.Values, buildServiceMetadata(service))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster.go

    	}
    }
    
    // Build a struct which contains service metadata and will be added into cluster label.
    func buildServiceMetadata(svc *model.Service) *structpb.Value {
    	return &structpb.Value{
    		Kind: &structpb.Value_StructValue{
    			StructValue: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    					// service fqdn
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top