Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for structpb (0.15 sec)

  1. pilot/pkg/model/telemetry_logging_test.go

    		{
    			name: "with-metadata",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    					"key1": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(CLUSTER:istio)%"}},
    				},
    			},
    			expected: []*core.TypedExtensionConfig{
    				metadataFormatter,
    			},
    		},
    		{
    			name: "with-both",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_logging.go

    	// the reason why Envoy rejects a request.
    	EnvoyJSONLogFormatIstio = &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			"start_time":                        {Kind: &structpb.Value_StringValue{StringValue: "%START_TIME%"}},
    			"route_name":                        {Kind: &structpb.Value_StringValue{StringValue: "%ROUTE_NAME%"}},
    			"method":                            {Kind: &structpb.Value_StringValue{StringValue: "%REQ(:METHOD)%"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    				FilterMetadata: map[string]*structpb.Struct{
    					util.IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"services": {
    								Kind: &structpb.Value_ListValue{
    									ListValue: &structpb.ListValue{
    										Values: []*structpb.Value{
    											{
    												Kind: &structpb.Value_StructValue{
    													StructValue: &structpb.Struct{
    														Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util.go

    		metadata = &core.Metadata{
    			FilterMetadata: map[string]*structpb.Struct{},
    		}
    	}
    
    	if _, ok := metadata.FilterMetadata[IstioMetadataKey]; !ok {
    		metadata.FilterMetadata[IstioMetadataKey] = &structpb.Struct{
    			Fields: map[string]*structpb.Value{},
    		}
    	}
    
    	metadata.FilterMetadata[IstioMetadataKey].Fields["alpn_override"] = &structpb.Value{
    		Kind: &structpb.Value_StringValue{
    			StringValue: "false",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_test.go

    						Labels: &structpb.Struct{
    							Fields: map[string]*structpb.Value{
    								"req1": {Kind: &structpb.Value_StringValue{StringValue: "%REQ_WITHOUT_QUERY(key1:val1)%"}},
    								"req2": {Kind: &structpb.Value_StringValue{StringValue: "%REQ_WITHOUT_QUERY(key2:val1)%"}},
    								"key1": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(CLUSTER:istio)%"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  6. 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
    					"host": {
    						Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	IngressPorts         []*structpb.Struct    `protobuf:"bytes,36,rep,name=ingressPorts,proto3" json:"ingressPorts,omitempty"`
    	AdditionalContainers []*structpb.Struct    `protobuf:"bytes,37,rep,name=additionalContainers,proto3" json:"additionalContainers,omitempty"`
    	ConfigVolumes        []*structpb.Struct    `protobuf:"bytes,38,rep,name=configVolumes,proto3" json:"configVolumes,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder.go

    		return
    	}
    
    	im := getOrCreateIstioMetadata(cluster)
    
    	// Add services field into istio metadata
    	im.Fields["services"] = &structpb.Value{
    		Kind: &structpb.Value_ListValue{
    			ListValue: &structpb.ListValue{
    				Values: []*structpb.Value{},
    			},
    		},
    	}
    
    	svcMetaList := im.Fields["services"].GetListValue()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    					FilterMetadata: map[string]*structpb.Struct{
    						util.IstioMetadataKey: {
    							Fields: map[string]*structpb.Value{
    								"services": {Kind: &structpb.Value_ListValue{ListValue: &structpb.ListValue{Values: []*structpb.Value{
    									{Kind: &structpb.Value_StructValue{StructValue: &structpb.Struct{Fields: map[string]*structpb.Value{
    										"host": {
    											Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_builder_test.go

    				VirtualInboundListener:  lb.virtualInboundListener,
    			}
    
    			assert.Equal(t, got, tt.want)
    		})
    	}
    }
    
    func buildPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    	_ = protomarshal.UnmarshalString(config, val)
    	return val
    }
    
    func getEnvoyFilterConfigs(configPatches []*networking.EnvoyFilter_EnvoyConfigObjectPatch) []config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top