Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,012 for deleteSV (0.22 sec)

  1. pkg/volume/csi/csi_drivers_store.go

    	if s.store == nil {
    		s.store = store{}
    	}
    
    	s.store[driverName] = driver
    }
    
    // Delete lets you delete a CSI Driver by name.
    // This method is protected by a mutex.
    func (s *DriversStore) Delete(driverName string) {
    	s.Lock()
    	defer s.Unlock()
    
    	delete(s.store, driverName)
    }
    
    // Clear deletes all entries in the store.
    // This methiod is protected by a mutex.
    func (s *DriversStore) Clear() {
    	s.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector.go

    	// system. If it's not a valid resource, the garbage collector should i)
    	// ignore the reference when decide if the object should be deleted, and
    	// ii) should update the object to remove such references. This is to
    	// prevent objects having references to an old resource from being
    	// deleted during a cluster upgrade.
    	resource, namespaced, err := gc.apiResource(reference.APIVersion, reference.Kind)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

        private final Deleter deleter;
        private final OutputChangeListener outputChangeListener;
        private final Step<? super C, ? extends R> delegate;
    
        public RemovePreviousOutputsStep(
            Deleter deleter,
            OutputChangeListener outputChangeListener,
            Step<? super C, ? extends R> delegate
        ) {
            this.deleter = deleter;
            this.outputChangeListener = outputChangeListener;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. pkg/controller/storageversiongc/gc_controller_test.go

    	clientset := fake.NewSimpleClientset(lease1, lease2, lease3, storageVersion)
    	_, ctx := ktesting.NewTestContext(t)
    	setupController(ctx, clientset)
    
    	// Delete the lease object and verify that storage version status is updated
    	if err := clientset.CoordinationV1().Leases(metav1.NamespaceSystem).Delete(context.Background(), "kube-apiserver-1", metav1.DeleteOptions{}); err != nil {
    		t.Fatalf("error deleting lease object: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

        }
    
        def "classes files of generated sources are deleted when annotated file is deleted"() {
            given:
            def a = java "@Helper class A {}"
            java "class Unrelated {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.delete()
            run "compileJava"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. hack/testdata/frontend-controller.yaml

      template:
        metadata:
          labels:
            app: guestbook
            tier: frontend
        spec:
          # Setting terminationGracePeriodSeconds to zero to delete pods immediately on delete request,
          # since in tests we usually check and expect the pods being deleted right after deletion.
          terminationGracePeriodSeconds: 0
          containers:
          - name: php-redis
            image: gcr.io/google_samples/gb-frontend:v4
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 23 22:22:41 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

        private final Deleter deleter;
        private final FileSystemAccess fileSystemAccess;
    
        private final ImmutableWorkspaceMetadataStore workspaceMetadataStore;
        private final OutputSnapshotter outputSnapshotter;
        private final Step<? super PreviousExecutionContext, ? extends CachingResult> delegate;
    
        public AssignImmutableWorkspaceStep(
            Deleter deleter,
            FileSystemAccess fileSystemAccess,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:44:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. pkg/controller/endpoint/endpoints_controller_test.go

    		name             string
    		batchPeriod      time.Duration
    		podsCount        int
    		deletes          []podDelete
    		finalDelay       time.Duration
    		wantRequestCount int
    	}{
    		{
    			name:        "three deletes with no batching",
    			batchPeriod: 0 * time.Second,
    			podsCount:   10,
    			deletes: []podDelete{
    				{
    					// endpoints.Run needs ~100 ms to start processing updates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  9. pkg/scheduler/util/assumecache/assume_cache.go

    	c.add(newObj)
    }
    
    func (c *AssumeCache) delete(obj interface{}) {
    	if obj == nil {
    		return
    	}
    
    	name, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
    	if err != nil {
    		c.logger.Error(&ObjectNameError{err}, "Failed to delete")
    		return
    	}
    
    	c.rwMutex.Lock()
    	defer c.rwMutex.Unlock()
    
    	objInfo := &objInfo{name: name}
    	err = c.store.Delete(objInfo)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. pkg/registry/flowcontrol/ensurer/strategy.go

    		err = objectOps.Delete(ctx, object.GetName(), metav1.DeleteOptions{ /* TODO: expectedResourceVersion */ })
    		if err == nil {
    			klog.V(2).InfoS(fmt.Sprintf("Successfully deleted the unwanted %s", object.GetObjectKind().GroupVersionKind().Kind), "name", name)
    			continue
    		}
    		if apierrors.IsNotFound(err) {
    			klog.V(5).InfoS("Unwanted APF object was concurrently deleted", "name", name)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top