- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,402 for finalizer (1.11 sec)
-
plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go
// if we can't convert the obj to PV, just return if !ok { return nil } for _, f := range pv.Finalizers { if f == volumeutil.PVProtectionFinalizer { // Finalizer is already present, nothing to do return nil } } klog.V(4).Infof("adding PV protection finalizer to %s", pv.Name) pv.Finalizers = append(pv.Finalizers, volumeutil.PVProtectionFinalizer) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 02 21:13:50 UTC 2021 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java
* `entryNodes` is not changed by this class. * * <h2>Note about finalizers</h2> * A dependency of a finalizer must not run until it is known to be needed by something else that should run. * So if the dependency is only required by a finalizer, then it should not start until the finalizer is ready to start
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 17.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** * Iterates through the given loaders until it finds one that can load Finalizer. * * @return Finalizer.class */ private static Class<?> loadFinalizer(FinalizerLoader... loaders) { for (FinalizerLoader loader : loaders) { Class<?> finalizer = loader.loadFinalizer(); if (finalizer != null) { return finalizer; } } throw new AssertionError(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go
require.NoError(t, err) // Create a CR with a finalizer. ns := "not-the-default" name := "foo123" noxuResourceClient := newNamespacedCustomResourceClient(ns, dynamicClient, noxuDefinition) instance := fixtures.NewNoxuInstance(ns, name) instance.SetFinalizers([]string{"noxu.example.com/finalizer"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 5.8K bytes - Viewed (0) -
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) -
pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go
}, { name: "deleted PVC with finalizer + pod with the PVC exists -> finalizer is not removed", initialObjects: []runtime.Object{ withPVC(defaultPVCName, pod()), }, updatedPVC: deleted(withProtectionFinalizer(pvc())), expectedActions: []clienttesting.Action{}, }, { name: "deleted PVC with finalizer + pod with unrelated PVC and EmptyDir exists -> finalizer is removed",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 15.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/FinalizerGroup.java
} private boolean hasACycle(Node finalized, SetMultimap<FinalizerGroup, FinalizerGroup> reachableGroups) { if (!(finalized.getGroup() instanceof HasFinalizers) || finalized.getGroup().isReachableFromEntryPoint()) { // Is not a member of a finalizer group or will not be blocked return false; } HasFinalizers groups = (HasFinalizers) finalized.getGroup();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jul 01 16:25:48 UTC 2023 - 14.3K bytes - Viewed (0) -
src/runtime/mfinal_test.go
ch := make(chan bool, 10) finalize := func(x *int) { if *x != 97531 { t.Errorf("finalizer %d, want %d", *x, 97531) } ch <- true } var finalizerTests = []struct { convert func(*int) any finalizer any }{ {func(x *int) any { return x }, func(v *int) { finalize(v) }}, {func(x *int) any { return Tintptr(x) }, func(v Tintptr) { finalize(v) }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:58 UTC 2023 - 5.6K bytes - Viewed (0) -
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) -
pkg/controller/volume/persistentvolume/pv_controller_test.go
// yet to sync the volume and add the pv deletion protection finalizer. The custom finalizer is some // pre-existing finalizer, for example the pv-protection finalizer. When csi-migration is disabled, // the migrated-to annotation will be removed shortly when updateVolumeMigrationAnnotationsAndFinalizers // is called followed by adding back the in-tree pv protection finalizer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.4K bytes - Viewed (0)