Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 287 for finalizer (0.23 sec)

  1. 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)
  2. api/openapi-spec/v3/apis__authentication.k8s.io__v1_openapi.json

    significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/DestroyerTaskCommandLineOrderIntegrationTest.groovy

                result.assertTaskOrder(cleanBar.fullPath, generateBar.fullPath, generate.fullPath)
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20195")
        def "destroyer task that is a finalizer of a producer task will run after the producer even when ordered first (type: #type)"() {
            def foo = subproject(':foo')
            def bar = subproject(':bar')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 14:13:02 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  10. 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)
Back to top