Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addPrunedKind (0.25 sec)

  1. operator/pkg/helmreconciler/prune.go

    	} else {
    		cache.FlushObjectCaches()
    	}
    	metrics.ResourceDeletionTotal.
    		With(metrics.ResourceKindLabel.Value(util.GKString(objGvk.GroupKind()))).
    		Increment()
    	h.addPrunedKind(objGvk.GroupKind())
    	metrics.RemoveResource(obj.FullName(), objGvk.GroupKind())
    	h.opts.Log.LogAndPrintf("  Removed %s.", oh)
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. operator/pkg/helmreconciler/reconciler.go

    }
    
    // getClient returns the kubernetes client associated with this HelmReconciler
    func (h *HelmReconciler) getClient() client.Client {
    	return h.client
    }
    
    func (h *HelmReconciler) addPrunedKind(gk schema.GroupKind) {
    	h.countLock.Lock()
    	defer h.countLock.Unlock()
    	h.prunedKindSet[gk] = struct{}{}
    }
    
    func (h *HelmReconciler) reportPrunedObjectKind() {
    	h.countLock.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top