Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,370 for finalizers (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    func (u *Unstructured) GetFinalizers() []string {
    	val, _, _ := NestedStringSlice(u.Object, "metadata", "finalizers")
    	return val
    }
    
    func (u *Unstructured) SetFinalizers(finalizers []string) {
    	if finalizers == nil {
    		RemoveNestedField(u.Object, "metadata", "finalizers")
    		return
    	}
    	u.setNestedStringSlice(finalizers, "metadata", "finalizers")
    }
    
    func (u *Unstructured) GetManagedFields() []metav1.ManagedFieldsEntry {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. test/deferfin.go

    			})
    			defer f()
    		}()
    	}
    	wg.Wait()
    	for i := 0; i < 3; i++ {
    		time.Sleep(10 * time.Millisecond)
    		runtime.GC()
    	}
    	if count != 0 {
    		println(count, "out of", N, "finalizer are not called")
    		panic("not all finalizers are called")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 05 21:11:31 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. pkg/registry/rbac/helpers_test.go

    			},
    			old: func() runtime.Object {
    				return newPod()
    			},
    			expected: true,
    		},
    		{
    			name: "ownerRef and finalizer",
    			obj: func() runtime.Object {
    				obj := newPod()
    				obj.OwnerReferences = append(obj.OwnerReferences, metav1.OwnerReference{Name: "foo"})
    				obj.Finalizers = []string{"final"}
    				return obj
    			},
    			old: func() runtime.Object {
    				return newPod()
    			},
    			expected: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go

    	}
    	return b
    }
    
    // WithFinalizers adds the given value to the Finalizers field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    // If called multiple times, values provided by each call will be appended to the Finalizers field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go

    	}
    	return b
    }
    
    // WithFinalizers adds the given value to the Finalizers field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    // If called multiple times, values provided by each call will be appended to the Finalizers field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  6. pkg/controller/namespace/deletion/status_condition_utils_test.go

    			},
    		},
    		{
    			name: "just finalizers", // this shouldn't happen
    
    			contentTotals: allGVRDeletionMetadata{
    				gvrToNumRemaining: map[schema.GroupVersionResource]int{},
    				finalizersToNumRemaining: map[string]int{
    					"service-catalog": 6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 06 13:58:41 UTC 2019
    - 7.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.RangeAllocation.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.RangeAllocation.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go

    	}
    	*a.annotations = annotations
    }
    
    func (a genericAccessor) GetFinalizers() []string {
    	if a.finalizers == nil {
    		return nil
    	}
    	return *a.finalizers
    }
    
    func (a genericAccessor) SetFinalizers(finalizers []string) {
    	*a.finalizers = finalizers
    }
    
    func (a genericAccessor) GetOwnerReferences() []metav1.OwnerReference {
    	var ret []metav1.OwnerReference
    	s := a.ownerReferences
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 16.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.ComponentStatus.yaml

    kind: ComponentStatus
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 945 bytes
    - Viewed (0)
Back to top