Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tool (0.25 sec)

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

    func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	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{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    )
    
    // RouteFilter is used to pass filter information into route based config writer print functions
    type RouteFilter struct {
    	Name    string
    	Verbose bool
    }
    
    // Verify returns true if the passed route matches the filter fields
    func (r *RouteFilter) Verify(route *route.RouteConfiguration) bool {
    	if r.Name != "" && r.Name != route.Name {
    		return false
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top