- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 142 for finalizer (0.26 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
if err != nil { return allWarnings } newAdded = newAdded.Difference(sets.NewString(oldObjAccessor.GetFinalizers()...)) } for _, finalizer := range newAdded.List() { allWarnings = append(allWarnings, validateKubeFinalizerName(finalizer, fldPath)...) } return allWarnings } // Canonicalize normalizes the object after validation. func (customResourceStrategy) Canonicalize(obj runtime.Object) { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/types.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" ) const ( // Finalizer is the finalizer that gets set for claims // which were allocated through a builtin controller. // Reserved for use by Kubernetes, DRA driver controllers must // use their own finalizer. Finalizer = "dra.k8s.io/delete-protection" ) // +genclient
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 10:22:35 UTC 2024 - 30K bytes - Viewed (0) -
src/runtime/mgcsweep.go
// Two complications here: // 1. An object can have both finalizer and profile special records. // In such case we need to queue finalizer for execution, // mark the object as live and preserve the profile special. // 2. A tiny object can have several finalizers setup for different offsets. // If such object is not marked, we need to queue all finalizers at once. // Both 1 and 2 are possible at the same time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Task.java
*/ void setFinalizedBy(Iterable<?> finalizedBy); /** * <p>Returns tasks that finalize this task.</p> * * @return The tasks that finalize this task. Returns an empty set if there are no finalising tasks for this task. */ @Internal TaskDependency getFinalizedBy(); /** * <p>Specifies that this task should run after all of the supplied tasks.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 17:25:12 UTC 2024 - 31.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
return hasFinalizer(accessor, metav1.FinalizerOrphanDependents) } func hasFinalizer(accessor metav1.Object, matchingFinalizer string) bool { finalizers := accessor.GetFinalizers() for _, finalizer := range finalizers { if finalizer == matchingFinalizer { return true } } return false } // this function takes newAccessor directly because the caller already
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
claim = claim.DeepCopy() // As far the controller is concerned, a claim was allocated by us if it has // this finalizer. For testing we don't need to update the allocation result. claim.Finalizers = append(claim.Finalizers, resourcev1alpha2.Finalizer) return claim } func reserveClaim(claim *resourcev1alpha2.ResourceClaim, pod *v1.Pod) *resourcev1alpha2.ResourceClaim { claim = claim.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 08:56:16 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector.go
// the dependents, so set propagationPolicy based on existing finalizers. var policy metav1.DeletionPropagation switch { case hasOrphanFinalizer(latest): // if an existing orphan finalizer is already on the object, honor it. policy = metav1.DeletePropagationOrphan case hasDeleteDependentsFinalizer(latest): // if an existing foreground finalizer is already on the object, honor it.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.9K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
return err } // Now also remove the finalizer if it is not needed anymore. // Note that the index may have changed as a result of the UpdateStatus call. builtinControllerFinalizer := slices.Index(claim.Finalizers, resourcev1alpha2.Finalizer) if builtinControllerFinalizer >= 0 && claim.Status.Allocation == nil { claim.Finalizers = slices.Delete(claim.Finalizers, builtinControllerFinalizer, builtinControllerFinalizer+1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* separate method to make it somewhat more likely to be unreachable. */ private static void createUnreachableLatchFinalizer(CountDownLatch latch) { Object unused = new Object() { @SuppressWarnings("removal") // b/260137033 @Override protected void finalize() { latch.countDown(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.6K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy
@Issue("https://github.com/gradle/gradle/issues/25361") @RunFor([ @Scenario(type = PER_COMMIT, operatingSystems = LINUX, testProjects = "largeAndroidBuild"), ]) def "calculate task graph with test finalizer"() { given: AndroidTestProject testProject = androidTestProject testProject.configure(runner) runner.setMinimumBaseVersion('8.3')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:24:57 UTC 2024 - 10.2K bytes - Viewed (0)