Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildServiceMetadata (0.33 sec)

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