Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetDynamicRouteDump (0.09 sec)

  1. istioctl/pkg/writer/compare/route.go

    	envoyRouteDump, err := c.envoy.GetDynamicRouteDump(true)
    	if err != nil {
    		envoyBytes.WriteString(err.Error())
    	} else {
    		envoy, err := protomarshal.ToJSONWithAnyResolver(envoyRouteDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		envoyBytes.WriteString(envoy)
    	}
    	istiodRouteDump, err := c.istiod.GetDynamicRouteDump(true)
    	if err != nil {
    		istiodBytes.WriteString(err.Error())
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/route.go

    			}
    		}
    	}
    	if lastUpdated.After(time.Unix(0, 0)) { // if a timestamp was obtained from a drc
    		return &lastUpdated, nil
    	}
    	return nil, nil
    }
    
    // GetDynamicRouteDump retrieves a route dump with just dynamic active routes in it
    func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    	sPort := strconv.Itoa(int(port))
    
    	// Routes know their destination Service name, namespace, and port, and the DR that configures them
    	rcd, err := cd.GetDynamicRouteDump(false)
    	if err != nil {
    		return "", err
    	}
    	for _, rcd := range rcd.DynamicRouteConfigs {
    		routeTyped := &route.RouteConfiguration{}
    		err = rcd.RouteConfig.UnmarshalTo(routeTyped)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top