Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for absentOwnerCache (0.28 sec)

  1. pkg/controller/garbagecollector/garbagecollector_test.go

    					}
    				}
    				if len(s.absentOwnerCache) != ctx.gc.absentOwnerCache.cache.Len() {
    					// only way to inspect is to drain them all, but that's ok because we're failing the test anyway
    					ctx.gc.absentOwnerCache.cache.OnEvicted = func(key lru.Key, item interface{}) {
    						found := false
    						for _, absent := range s.absentOwnerCache {
    							if absent == key {
    								found = true
    								break
    							}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector.go

    ) (*GarbageCollector, error) {
    	attemptToDelete, attemptToOrphan, absentOwnerCache := graphBuilder.GetGraphResources()
    
    	gc := &GarbageCollector{
    		metadataClient:         metadataClient,
    		restMapper:             mapper,
    		attemptToDelete:        attemptToDelete,
    		attemptToOrphan:        attemptToOrphan,
    		absentOwnerCache:       absentOwnerCache,
    		kubeClient:             kubeClient,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/graph_builder.go

    	attemptToDelete workqueue.TypedRateLimitingInterface[*node]
    	attemptToOrphan workqueue.TypedRateLimitingInterface[*node]
    	// GraphBuilder and GC share the absentOwnerCache. Objects that are known to
    	// be non-existent are added to the cached.
    	absentOwnerCache *ReferenceCache
    	sharedInformers  informerfactory.InformerFactory
    	ignoredResources map[schema.GroupResource]struct{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top