- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,365 for finalizerB (0.15 sec)
-
pkg/registry/core/namespace/storage/storage.go
} // determine whether there are changes changeNeeded := false for finalizer, shouldHave := range shouldHaveFinalizers { changeNeeded = currentFinalizers[finalizer] != shouldHave || changeNeeded if shouldHave { currentFinalizers[finalizer] = true } else { delete(currentFinalizers, finalizer) } } // make the changes if needed if changeNeeded {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 13.4K bytes - Viewed (0) -
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) -
pkg/controller/volume/persistentvolume/pv_controller_test.go
}, { // same as 13-8 but multiple finalizers exists, only the pv deletion protection finalizer needs to be // removed and the in-tree pv deletion protection finalizer needs to be added. name: "13-9 migration is enabled but plugin migration feature is disabled, volume has multiple finalizers including external PV deletion 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) -
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) -
pkg/controller/volume/pvcprotection/pvc_protection_controller.go
claimClone := pvc.DeepCopy() claimClone.ObjectMeta.Finalizers = append(claimClone.ObjectMeta.Finalizers, volumeutil.PVCProtectionFinalizer) _, err := c.client.CoreV1().PersistentVolumeClaims(claimClone.Namespace).Update(ctx, claimClone, metav1.UpdateOptions{}) logger := klog.FromContext(ctx) if err != nil { logger.Error(err, "Error adding protection finalizer to PVC", "PVC", klog.KObj(pvc)) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go
ResourceVersion: "1", SelfLink: "some/place/only/we/know", Labels: map[string]string{"foo": "bar"}, Annotations: map[string]string{"x": "y"}, Finalizers: []string{ "finalizer.1", "finalizer.2", }, }, } var _ metav1.Object = &j.ObjectMeta var _ metav1.ObjectMetaAccessor = j accessor, err := meta.Accessor(j) if err != nil { t.Fatalf("unexpected error: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 12.9K 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) -
src/crypto/internal/boring/rsa.go
runtime.SetFinalizer(k, (*PublicKeyRSA).finalize) return k, nil } func (k *PublicKeyRSA) finalize() { C._goboringcrypto_RSA_free(k._key) } func (k *PublicKeyRSA) withKey(f func(*C.GO_RSA) C.int) C.int { // Because of the finalizer, any time _key is passed to cgo, that call must // be followed by a call to runtime.KeepAlive, to make sure k is not // collected (and finalized) before the cgo call returns.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 23:38:03 UTC 2024 - 12K bytes - Viewed (0) -
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) -
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)