Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for lastUpdated (0.21 sec)

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

    			drLastUpdated := drc[i].LastUpdated.AsTime()
    			if drLastUpdated.After(lastUpdated) {
    				lastUpdated = drLastUpdated
    			}
    		}
    	}
    	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
    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/compare/route.go

    	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")
    		}
    		lastUpdatedStr = fmt.Sprintf(" (RDS last loaded at %s)", lastUpdated.In(loc).Format(time.RFC1123))
    	}
    	if text != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/cluster.go

    		err = dac[j].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		return name < cluster.Name
    	})
    	if stripVersions {
    		for i := range dac {
    			dac[i].VersionInfo = ""
    			dac[i].LastUpdated = nil
    		}
    	}
    	return &admin.ClustersConfigDump{DynamicActiveClusters: dac}, nil
    }
    
    // GetClusterConfigDump retrieves the cluster config dump from the ConfigDump
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/analyzer_test.go

    						VersionInfo: "2023-06-20T09:07:41Z/3",
    						Listener: &anypb.Any{
    							TypeUrl: "type.googleapis.com/envoy.config.listener.v3.Listener",
    						},
    						LastUpdated: timestamppb.Now(),
    					},
    					ClientStatus: 453,
    				},
    			},
    		},
    	}
    	tests := []struct {
    		name  string
    		input *envoy_admin.ListenersConfigDump_DynamicListener
    	}{
    		{
    			name: "Test2",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/listener.go

    		if err != nil {
    			return false
    		}
    		return name < l.Name
    	})
    	if stripVersions {
    		for i := range dal {
    			dal[i].ActiveState.VersionInfo = ""
    			dal[i].ActiveState.LastUpdated = nil
    			dal[i].Name = "" // In Istio 1.5, Envoy creates this; suppress it
    		}
    	}
    	return &admin.ListenersConfigDump{DynamicListeners: dal}, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  6. cmd/metacache_test.go

    		recursive:    false,
    		status:       scanStateSuccess,
    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp,
    		dataVersion:  metacacheStreamVersion,
    	},
    	1: {
    		id:           "case-2-recursive",
    		bucket:       "bucket",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. cmd/metacache-manager.go

    				exit = true
    			}
    			m.mu.RLock()
    			for _, v := range m.buckets {
    				if !exit {
    					v.cleanup()
    				}
    			}
    			m.mu.RUnlock()
    			m.mu.Lock()
    			for k, v := range m.trash {
    				if time.Since(v.lastUpdate) > metacacheMaxRunningAge {
    					v.delete(context.Background())
    					delete(m.trash, k)
    				}
    			}
    			m.mu.Unlock()
    		}
    	}()
    }
    
    // updateCacheEntry will update non-transient state.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. cmd/data-usage-utils.go

    	TotalUsedCapacity uint64 `json:"usedCapacity,omitempty"`
    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_test.go

    	nmeta1.Pools = append(nmeta1.Pools, meta.Pools...)
    	for i, pool := range nmeta1.Pools {
    		if i == 0 {
    			nmeta1.Pools[i] = PoolStatus{
    				CmdLine:    pool.CmdLine,
    				ID:         i,
    				LastUpdate: UTCNow(),
    				Decommission: &PoolDecommissionInfo{
    					Complete: true,
    				},
    			}
    		}
    	}
    
    	var nmeta2 poolMeta
    	nmeta2.Version = poolMetaVersion
    	nmeta2.Pools = append(nmeta2.Pools, meta.Pools...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-usage.go

    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not been captured yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return nil
    	}
    
    	m.Set(usageSinceLastUpdateSeconds, float64(time.Since(dataUsageInfo.LastUpdate)))
    
    	for _, bucket := range buckets {
    		usage, ok := dataUsageInfo.BucketsUsage[bucket]
    		if !ok {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top