Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemoveCache (0.13 sec)

  1. operator/pkg/cache/cache.go

    	objectCachesMu.RUnlock()
    
    	if objectCache != nil {
    		objectCache.Mu.Lock()
    		delete(objectCache.Cache, objHash)
    		objectCache.Mu.Unlock()
    	}
    }
    
    // RemoveCache removes the object Cache with the give name.
    func RemoveCache(name string) {
    	objectCachesMu.Lock()
    	defer objectCachesMu.Unlock()
    
    	delete(objectCaches, name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 13:12:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    					host = restConfig.Host
    				}
    				for _, component := range name.AllComponentNames {
    					crHash := strings.Join([]string{newIOP.Name, newIOP.Namespace, string(component), host}, "-")
    					cache.RemoveCache(crHash)
    				}
    			}
    
    			if oldIOP.GetDeletionTimestamp() != newIOP.GetDeletionTimestamp() {
    				metrics.IncrementReconcileRequest("update_deletion_timestamp")
    				return true
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top