Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 899 for finalizerB (0.22 sec)

  1. pkg/controller/volume/pvprotection/pv_protection_controller.go

    		logger.V(3).Info("Error adding protection finalizer to PV", "PV", klog.KObj(pv), "err", err)
    		return err
    	}
    	logger.V(3).Info("Added protection finalizer to PV", "PV", klog.KObj(pv))
    	return nil
    }
    
    func (c *Controller) removeFinalizer(ctx context.Context, pv *v1.PersistentVolume) error {
    	pvClone := pv.DeepCopy()
    	pvClone.ObjectMeta.Finalizers = slice.RemoveString(pvClone.ObjectMeta.Finalizers, volumeutil.PVProtectionFinalizer, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/edges/ComplexDependentNodesSet.java

            return this;
        }
    
        @Override
        public SortedSet<Node> getFinalizers() {
            return finalizers;
        }
    
        @Override
        public DependentNodesSet addFinalizer(Node finalizer) {
            finalizers.add(finalizer);
            return this;
        }
    
        @Override
        public Set<Node> getMustPredecessors() {
            return mustPredecessors;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. test/tinyfin.go

    		runtime.SetFinalizer(x, func(p *int32) {
    			finalized <- *p
    		})
    	}
    	runtime.GC()
    	count := 0
    	done := make([]bool, N)
    	timeout := time.After(5*time.Second)
    	for {
    		select {
    		case <-timeout:
    			println("timeout,", count, "finalized so far")
    			panic("not all finalizers are called")
    		case x := <-finalized:
    			// Check that p points to the correct subobject of the tiny allocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 18:57:18 UTC 2015
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/abi_test.go

    			runtime.SetFinalizer(x, test.fin)
    
    			runtime.KeepAlive(x)
    
    			// Queue the finalizer.
    			runtime.GC()
    			runtime.GC()
    
    			if !runtime.BlockUntilEmptyFinalizerQueue(int64(time.Second)) {
    				t.Fatal("finalizer failed to execute")
    			}
    			if got := int(regConfirmRun.Load()); got != test.confirmValue {
    				t.Fatalf("wrong finalizer executed? got %d, want %d", got, test.confirmValue)
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. plugin/pkg/admission/storage/storageobjectinuseprotection/admission_test.go

    		expectedObject runtime.Object
    		namespace      string
    	}{
    		{
    			"create -> add finalizer",
    			api.SchemeGroupVersion.WithResource("persistentvolumeclaims"),
    			claim,
    			claimWithFinalizer,
    			claim.Namespace,
    		},
    		{
    			"finalizer already exists -> no new finalizer",
    			api.SchemeGroupVersion.WithResource("persistentvolumeclaims"),
    			claimWithFinalizer,
    			claimWithFinalizer,
    			claimWithFinalizer.Namespace,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/plan/CompositeNodeGroup.java

            return new CompositeNodeGroup(original.isReachableFromEntryPoint() || finalizers.isReachableFromEntryPoint(), original, finalizers.getFinalizerGroups());
        }
    
        public static HasFinalizers mergeInto(HasFinalizers original, HasFinalizers finalizers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers.go

    	for _, finalizer := range crd.Finalizers {
    		if finalizer != needle {
    			newFinalizers = append(newFinalizers, finalizer)
    		}
    	}
    	crd.Finalizers = newFinalizers
    }
    
    // HasServedCRDVersion returns true if the given version is in the list of CRD's versions and the Served flag is set.
    func HasServedCRDVersion(crd *CustomResourceDefinition, version string) bool {
    	for _, v := range crd.Spec.Versions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 27 10:54:44 UTC 2019
    - 9K bytes
    - Viewed (0)
  8. pkg/controller/volume/pvprotection/pv_protection_controller_test.go

    	}{
    		// PV events
    		//
    		{
    			name:      "PV without finalizer -> finalizer is added",
    			updatedPV: pv(),
    			expectedActions: []clienttesting.Action{
    				clienttesting.NewUpdateAction(pvVer, "", withProtectionFinalizer(pv())),
    			},
    		},
    		{
    			name:            "PVC with finalizer -> no action",
    			updatedPV:       withProtectionFinalizer(pv()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. samples/ambient-argo/application/application.yaml

    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: bookinfo-application
      namespace: argocd
      finalizers:
      - resources-finalizer.argocd.argoproj.io
    spec:
      destination:
        name: ambient-cluster
        namespace: ambient
      source:
        path: application
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
        directory:
          exclude: application.yaml
      project: default
      syncPolicy:
        automated:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 461 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go

    	newFinalizers := []string{}
    	for _, finalizer := range crd.Finalizers {
    		if finalizer != needle {
    			newFinalizers = append(newFinalizers, finalizer)
    		}
    	}
    	crd.Finalizers = newFinalizers
    }
    
    // HasServedCRDVersion returns true if the given version is in the list of CRD's versions and the Served flag is set.
    func HasServedCRDVersion(crd *apiextensionsv1.CustomResourceDefinition, version string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 9.5K bytes
    - Viewed (0)
Back to top