Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetRouteConfigDump (1.31 sec)

  1. istioctl/pkg/util/configdump/route.go

    		for i := range drc {
    			drc[i].VersionInfo = ""
    			drc[i].LastUpdated = nil
    		}
    	}
    	return &admin.RoutesConfigDump{DynamicRouteConfigs: drc}, nil
    }
    
    // GetRouteConfigDump retrieves the route config dump from the ConfigDump
    func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error) {
    	routeDumpAny, err := w.getSection(routes)
    	if err != nil {
    		return nil, err
    	}
    	routeDump := &admin.RoutesConfigDump{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    func (c *ConfigWriter) retrieveSortedRouteSlice() ([]*route.RouteConfiguration, error) {
    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    	routeDump, err := c.configDump.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	routes := make([]*route.RouteConfiguration, 0)
    	for _, r := range routeDump.DynamicRouteConfigs {
    		if r.RouteConfig != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top