Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetLastUpdatedDynamicRouteTime (0.26 sec)

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

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // GetLastUpdatedDynamicRouteTime retrieves the LastUpdated timestamp of the
    // most recently updated DynamicRouteConfig
    func (w *Wrapper) GetLastUpdatedDynamicRouteTime() (*time.Time, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/route.go

    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	lastUpdatedStr := ""
    	if lastUpdated, err := c.envoy.GetLastUpdatedDynamicRouteTime(); err != nil {
    		return err
    	} else if lastUpdated != nil {
    		loc, err := time.LoadLocation(c.location)
    		if err != nil {
    			loc, _ = time.LoadLocation("UTC")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top