Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 174 for typeurl (0.2 sec)

  1. istioctl/pkg/writer/envoy/configdump/route.go

    	for _, r := range routeDump.DynamicRouteConfigs {
    		if r.RouteConfig != nil {
    			routeTyped := &route.RouteConfiguration{}
    			// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    			r.RouteConfig.TypeUrl = v3.RouteType
    			err = r.RouteConfig.UnmarshalTo(routeTyped)
    			if err != nil {
    				return nil, err
    			}
    			routes = append(routes, routeTyped)
    		}
    	}
    	for _, r := range routeDump.StaticRouteConfigs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/grpcgen/grpcgen.go

    }
    
    func (g *GrpcConfigGenerator) Generate(proxy *model.Proxy, w *model.WatchedResource, req *model.PushRequest) (model.Resources, model.XdsLogDetails, error) {
    	switch w.TypeUrl {
    	case v3.ListenerType:
    		return g.BuildListeners(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	case v3.ClusterType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. pkg/config/validation/envoyfilter/envoyfilter.go

    		m, isMessage := value.Interface().(protoreflect.Message)
    		if isMessage {
    			anyMessage, isAny := m.Interface().(*anypb.Any)
    			if isAny {
    				mt, err := protoregistry.GlobalTypes.FindMessageByURL(anyMessage.TypeUrl)
    				if err != nil {
    					topError = err
    					return false
    				}
    				var fileOpts proto.Message = mt.Descriptor().ParentFile().Options().(*descriptorpb.FileOptions)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. pilot/pkg/xds/eds_sh_test.go

    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: metadata,
    		},
    		TypeUrl: v3.ClusterType,
    	})
    
    	clusterName := "outbound|1080||service5.default.svc.cluster.local"
    	res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: metadata,
    		},
    		TypeUrl:       v3.EndpointType,
    		ResourceNames: []string{clusterName},
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    			TransportSocket: &core.TransportSocket{
    				Name: "transport_sockets.alts",
    				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"}`),
    					}),
    				},
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/route.go

    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range drc {
    		drc[i].RouteConfig.TypeUrl = v3.RouteType
    	}
    	sort.Slice(drc, func(i, j int) bool {
    		r := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		name := r.Name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. istioctl/pkg/xds/client.go

    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    	response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "")
    	return response, err
    }
    
    // DialOptions constructs gRPC dial options from command line configuration
    func DialOptions(opts clioptions.CentralControlPlaneOptions,
    	ns, serviceAccount string, kubeClient kube.CLIClient,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. hack/unwanted-dependencies.json

          ],
          "github.com/gogo/protobuf": [
            "github.com/Microsoft/hcsshim",
            "github.com/containerd/cgroups",
            "github.com/containerd/ttrpc",
            "github.com/containerd/typeurl",
            "github.com/google/cadvisor",
            "github.com/grpc-ecosystem/go-grpc-middleware",
            "go.etcd.io/etcd/api/v3",
            "go.etcd.io/etcd/client/v3",
            "go.etcd.io/etcd/raft/v3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. pilot/test/xds/fake.go

    	f.t.Helper()
    	p = f.SetupProxy(p)
    	initialWatch := []*discovery.DiscoveryRequest{}
    	for _, typeURL := range watch {
    		initialWatch = append(initialWatch, &discovery.DiscoveryRequest{TypeUrl: typeURL})
    	}
    	opts := []grpc.DialOption{grpc.WithTransportCredentials(insecure.NewCredentials())}
    	if f.BufListener != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/grpcgen/grpcgen_test.go

    		proxy := ds.SetupProxy(&model.Proxy{Metadata: &model.NodeMetadata{
    			Generator: "grpc",
    		}})
    		adscConn := ds.Connect(proxy, []string{}, []string{})
    
    		adscConn.Send(&discovery.DiscoveryRequest{
    			TypeUrl: v3.ListenerType,
    		})
    
    		msg, err := adscConn.WaitVersion(5*time.Second, v3.ListenerType, "")
    		if err != nil {
    			t.Fatal("Failed to receive lds", err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top