- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for DeletePropagationForeground (0.24 sec)
-
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) -
pkg/test/kube/util.go
return fetched, nil } // DeleteOptionsForeground creates new delete options that will block until the operation completes. func DeleteOptionsForeground() metav1.DeleteOptions { propagationPolicy := metav1.DeletePropagationForeground gracePeriod := int64(0) return metav1.DeleteOptions{ PropagationPolicy: &propagationPolicy, GracePeriodSeconds: &gracePeriod, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 9.4K bytes - Viewed (0) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
} if options != nil && options.PropagationPolicy != nil { switch *options.PropagationPolicy { case metav1.DeletePropagationOrphan: return true case metav1.DeletePropagationBackground, metav1.DeletePropagationForeground: return false } } // If a finalizer is set in the object, it overrides the default // validation should make sure the two cases won't be true at the same time.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
// orphanDeleteStrategy indicates the default garbage collection policy is // to orphan dependentes. orphanDeleteStrategy := &testOrphanDeleteStrategy{defaultDeleteStrategy} foregroundPolicy := metav1.DeletePropagationForeground backgroundPolicy := metav1.DeletePropagationBackground orphanPolicy := metav1.DeletePropagationOrphan testcases := map[string]struct { options *metav1.DeleteOptions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
// finalizer on the object, and sets its deletionTimestamp. This policy is // cascading, i.e., the dependents will be deleted with Foreground. DeletePropagationForeground DeletionPropagation = "Foreground" ) const ( // DryRunAll means to complete all processing stages, but don't // persist changes to storage. DryRunAll = "All" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 10:52:25 UTC 2024 - 79.2K bytes - Viewed (1)