Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetListValue (0.68 sec)

  1. pkg/test/framework/components/istio/istio.go

    			retVal = thisVal
    		case 3: // match something like aaa[100]
    			thisVal := val[match[1]]
    			// If it is a list and looking for more down the path
    			if thisVal.GetListValue() != nil && len(path) > 1 {
    				index, _ := strconv.Atoi(match[2])
    				return getConfigValue(path[1:], thisVal.GetListValue().Values[index].GetStructValue().Fields)
    			}
    			retVal = thisVal
    		}
    	}
    	return retVal
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_waypoint.go

    	im.Fields["services"] = &structpb.Value{
    		Kind: &structpb.Value_ListValue{
    			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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    	im.Fields["services"] = &structpb.Value{
    		Kind: &structpb.Value_ListValue{
    			ListValue: &structpb.ListValue{
    				Values: []*structpb.Value{},
    			},
    		},
    	}
    
    	svcMetaList := im.Fields["services"].GetListValue()
    
    	// Add service related metadata. This will be consumed by telemetry v2 filter for metric labels.
    	if direction == model.TrafficDirectionInbound {
    		// For inbound cluster, add all services on the cluster port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top