Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetDeletionTimestamp (0.41 sec)

  1. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    					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
    			}
    
    			if oldIOP.GetGeneration() != newIOP.GetGeneration() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/controller/servicecidrs/servicecidrs_controller.go

    	if err != nil {
    		if apierrors.IsNotFound(err) {
    			logger.V(4).Info("ServiceCIDR no longer exist", "ServiceCIDR", key)
    			return nil
    		}
    		return err
    	}
    
    	// Deleting ....
    	if !cidr.GetDeletionTimestamp().IsZero() {
    		// check if the existing ServiceCIDR can be deleted before removing the finalizer
    		ok, err := c.canDeleteCIDR(ctx, cidr)
    		if err != nil {
    			return err
    		}
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector.go

    		if isDangling {
    			dangling = append(dangling, reference)
    			continue
    		}
    
    		ownerAccessor, err := meta.Accessor(owner)
    		if err != nil {
    			return nil, nil, nil, err
    		}
    		if ownerAccessor.GetDeletionTimestamp() != nil && hasDeleteDependentsFinalizer(ownerAccessor) {
    			waitingForDependentsDeletion = append(waitingForDependentsDeletion, reference)
    		} else {
    			solid = append(solid, reference)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/graph_builder.go

    		return false
    	}
    	return !beingDeleted(oldAccessor) || !hasFinalizer(oldAccessor, matchingFinalizer)
    }
    
    func beingDeleted(accessor metav1.Object) bool {
    	return accessor.GetDeletionTimestamp() != nil
    }
    
    func hasDeleteDependentsFinalizer(accessor metav1.Object) bool {
    	return hasFinalizer(accessor, metav1.FinalizerDeleteDependents)
    }
    
    func hasOrphanFinalizer(accessor metav1.Object) bool {
    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