Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildGolangPatchStruct (0.38 sec)

  1. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    				ConfigType: &core.TransportSocket_TypedConfig{
    					TypedConfig: protoconv.MessageToAny(&udpa.TypedStruct{
    						TypeUrl: "type.googleapis.com/envoy.extensions.transport_sockets.alts.v3.Alts",
    						Value:   buildGolangPatchStruct(`{"handshaker_service":"1.2.3.4"}`),
    					}),
    				},
    			},
    		},
    		{
    			Name:            "outbound|7777||custom-tls-replacement",
    			DnsLookupFamily: cluster.Cluster_V6_ONLY,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    	return store
    }
    
    func buildPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    	_ = protomarshal.UnmarshalString(config, val)
    	return val
    }
    
    // nolint: unparam
    func buildGolangPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    	_ = protomarshal.Unmarshal([]byte(config), val)
    	return val
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top