Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeletePropagationForeground (0.38 sec)

  1. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	expiredAt, err := tc.processTTL(logger, fresh)
    	if err != nil {
    		return err
    	} else if expiredAt == nil {
    		return nil
    	}
    	// Cascade deletes the Jobs if TTL truly expires.
    	policy := metav1.DeletePropagationForeground
    	options := metav1.DeleteOptions{
    		PropagationPolicy: &policy,
    		Preconditions:     &metav1.Preconditions{UID: &fresh.UID},
    	}
    	logger.V(4).Info("Cleaning up Job", "job", klog.KObj(fresh))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector.go

    		// doesn't have dependents, the function will remove the
    		// FinalizerDeletingDependents from the item, resulting in the final
    		// deletion of the item.
    		policy := metav1.DeletePropagationForeground
    		return gc.deleteObject(item.identity, &policy)
    	default:
    		// item doesn't have any solid owner, so it needs to be garbage
    		// collected. Also, none of item's owners is waiting for the deletion of
    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. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// orphanDeleteStrategy indicates the default garbage collection policy is
    	// to orphan dependentes.
    	orphanDeleteStrategy := &testOrphanDeleteStrategy{defaultDeleteStrategy}
    
    	foregroundPolicy := metav1.DeletePropagationForeground
    	backgroundPolicy := metav1.DeletePropagationBackground
    	orphanPolicy := metav1.DeletePropagationOrphan
    
    	testcases := map[string]struct {
    		options  *metav1.DeleteOptions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// finalizer on the object, and sets its deletionTimestamp.  This policy is
    	// cascading, i.e., the dependents will be deleted with Foreground.
    	DeletePropagationForeground DeletionPropagation = "Foreground"
    )
    
    const (
    	// DryRunAll means to complete all processing stages, but don't
    	// persist changes to storage.
    	DryRunAll = "All"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
Back to top