Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DeletePropagationForeground (0.22 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    		*options.PropagationPolicy != metav1.DeletePropagationForeground &&
    		*options.PropagationPolicy != metav1.DeletePropagationBackground &&
    		*options.PropagationPolicy != metav1.DeletePropagationOrphan {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  2. pkg/kubemark/controller.go

    		return nil
    	}
    	if pod.ObjectMeta.Labels[nodeGroupLabel] != nodeGroup {
    		return fmt.Errorf("can't delete node %s from nodegroup %s. Node is not in nodegroup", node, nodeGroup)
    	}
    	policy := metav1.DeletePropagationForeground
    	var err error
    	for i := 0; i < numRetries; i++ {
    		err = kubemarkController.externalCluster.client.CoreV1().ReplicationControllers(namespaceKubemark).Delete(context.TODO(), pod.ObjectMeta.Labels["name"],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  3. pkg/registry/core/namespace/storage/storage.go

    	if options.OrphanDependents != nil {
    		return *options.OrphanDependents == false
    	}
    	if options.PropagationPolicy != nil {
    		return *options.PropagationPolicy == metav1.DeletePropagationForeground
    	}
    	return haveDeleteDependentsFinalizer
    }
    
    func (e *REST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. 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)
  5. pkg/registry/core/namespace/storage/storage_test.go

    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.store.DestroyFunc()
    
    	propagationBackground := metav1.DeletePropagationBackground
    	propagationForeground := metav1.DeletePropagationForeground
    	propagationOrphan := metav1.DeletePropagationOrphan
    	trueVar := true
    
    	var tests = []struct {
    		name          string
    		deleteOptions *metav1.DeleteOptions
    
    		existingFinalizers  []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 05:13:34 UTC 2022
    - 19.8K bytes
    - Viewed (0)
  6. 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)
Back to top