Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for lastUsed (0.42 sec)

  1. pkg/kubelet/images/image_gc_manager.go

    		// Images that are currently in used were given a newer lastUsed.
    		if image.lastUsed.Equal(freeTime) || image.lastUsed.After(freeTime) {
    			klog.V(5).InfoS("Image ID was used too recently, not eligible for garbage collection", "imageID", image.id, "lastUsed", image.lastUsed, "freeTime", freeTime)
    			continue
    		}
    
    		// Avoid garbage collect the image if the image is not old enough.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_gc_manager_test.go

    	require.True(t, ok)
    	assert.Equal(zero, container1.firstDetected)
    	assert.Equal(zero, container1.lastUsed)
    	container2, ok := manager.getImageRecord(imageID(1))
    	require.True(t, ok)
    	assert.Equal(zero, container2.firstDetected)
    	assert.True(container2.lastUsed.Equal(withContainer.lastUsed))
    }
    
    func TestDetectImagesWithRemovedImages(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    		// since the legacy token starts to track.
    		lastUsed, ok := secret.Labels[serviceaccount.LastUsedLabelKey]
    		if ok {
    			_, err := time.Parse(dateFormat, lastUsed)
    			if err != nil {
    				// the lastUsed value is not well-formed thus we cannot determine it
    				logger.Error(err, "Parsing lastUsed time", "secret", klog.KRef(secret.Namespace, secret.Name))
    				continue
    			}
    			if lastUsed >= preserveUsedOnOrAfter {
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. pkg/serviceaccount/legacy.go

    	now := time.Now().UTC()
    	today := now.Format("2006-01-02")
    	tomorrow := now.AddDate(0, 0, 1).Format("2006-01-02")
    	lastUsed := secret.Labels[LastUsedLabelKey]
    	if lastUsed != today && lastUsed != tomorrow {
    		patchContent, err := json.Marshal(applyv1.Secret(secret.Name, secret.Namespace).WithUID(secret.UID).WithLabels(map[string]string{LastUsedLabelKey: today}))
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/GradleUserHomeCleanupFixture.groovy

                    )
                }
            }
        }
    
        GradleDistDirs versionedDistDirs(String version, MarkerFileType lastUsed, String customDistName) {
            def distVersion = GradleVersion.version(version)
            return new GradleDistDirs(
                createVersionSpecificCacheDir(distVersion, lastUsed),
                createDistributionChecksumDir(distVersion).parentFile,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/jwks_resolver.go

    		// with no success refresh for too much time.
    		if now.Sub(e.lastUsedTime) >= r.evictionDuration || now.Sub(e.lastRefreshedTime) >= r.evictionDuration {
    			log.Infof("Removed cached JWT public key (lastRefreshed: %s, lastUsed: %s) from %q",
    				e.lastRefreshedTime, e.lastUsedTime, k.issuer)
    			r.keyEntries.Delete(k)
    			return true
    		}
    
    		oldPubKey := e.pubKey
    		// Increment the WaitGroup counter.
    		wg.Add(1)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. cmd/last-minute.go

    type lastMinuteLatency struct {
    	Totals  [60]AccElem
    	LastSec int64
    }
    
    // Merge data of two lastMinuteLatency structure
    func (l lastMinuteLatency) merge(o lastMinuteLatency) (merged lastMinuteLatency) {
    	if l.LastSec > o.LastSec {
    		o.forwardTo(l.LastSec)
    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. cmd/last-minute_gen.go

    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002)
    								return
    							}
    						}
    					}
    				}
    			case "LastSec":
    				z[za0001].LastSec, err = dc.ReadInt64()
    				if err != nil {
    					err = msgp.WrapError(err, za0001, "LastSec")
    					return
    				}
    			default:
    				err = dc.Skip()
    				if err != nil {
    					err = msgp.WrapError(err, za0001)
    					return
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ContinuousBuildToolingApiSpecification.groovy

            } catch (Throwable t) {
                throw new RuntimeException("Timeout waiting for build to complete.", t)
            } finally {
                if (!success) {
                    println "Polling lasted ${(long) ((System.nanoTime() - pollingStartNanos) / 1000000L)} ms measured with monotonic clock"
                    requestJstackForBuildProcess()
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

          Pray how did you manage to do it?'
    
        `In my youth,' said his father, `I took to the law,
          And argued each case with my wife;
        And the muscular strength, which it gave to my jaw,
          Has lasted the rest of my life.'
    
        `You are old,' said the youth, `one would hardly suppose
          That your eye was as steady as ever;
        Yet you balanced an eel on the end of your nose--
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
Back to top