Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 3,431 for delete1 (0.18 sec)

  1. pkg/controller/tainteviction/taint_eviction_test.go

    						}
    						if podName == deleteAction.GetName() {
    							deleted = true
    						}
    					}
    					if !deleted {
    						t.Errorf("Failed to deleted pod %v after %v", podName, delay)
    					}
    				}
    				for _, action := range fakeClientset.Actions() {
    					deleteAction, ok := action.(clienttesting.DeleteActionImpl)
    					if !ok {
    						t.Logf("Found not-delete action with verb %v. Ignoring.", action.GetVerb())
    						continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue("ByteBuffers should be equal.", expected.equals(actual));
      }
    
      public void testMap_noSuchFile() throws IOException {
        // Setup
        File file = createTempFile();
        boolean deleted = file.delete();
        assertTrue(deleted);
    
        // Test
        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    fi
    
    ./mc rm minio3/newbucket/README.md
    sleep 5
    
    ./mc stat minio2/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc stat minio1/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 10.1K bytes
    - Viewed (2)
  4. pkg/controller/namespace/namespace_controller.go

    	listerSynced cache.InformerSynced
    	// namespaces that have been queued up for processing by workers
    	queue workqueue.TypedRateLimitingInterface[string]
    	// helper to delete all resources in the namespace when the namespace is deleted.
    	namespacedResourcesDeleter deletion.NamespacedResourcesDeleterInterface
    }
    
    // NewNamespaceController creates a new NamespaceController
    func NewNamespaceController(
    	ctx context.Context,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    		Into(result)
    	return
    }
    
    // Delete takes name of the example and deletes it. Returns an error if one occurs.
    func (c *examples) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error {
    	return c.client.Delete().
    		Namespace(c.ns).
    		Resource("examples").
    		Name(name).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // DeleteCollection deletes a collection of objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. pkg/controller/job/tracking_utils.go

    			uids.set.Delete(deleteKey)
    		}
    		uids.Unlock()
    	}
    }
    
    // DeleteExpectations deletes the UID set.
    func (u *uidTrackingExpectations) deleteExpectations(logger klog.Logger, jobKey string) {
    	set := u.getSet(jobKey)
    	if set != nil {
    		if err := u.store.Delete(set); err != nil {
    			logger.Error(err, "Could not delete tracking annotation UID expectations", "key", jobKey)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo.go

    	info, exists := cache.claimInfo[namespace+"/"+claimName]
    	return info, exists
    }
    
    // delete deletes a specific claim info object from the cache.
    func (cache *claimInfoCache) delete(claimName, namespace string) {
    	delete(cache.claimInfo, namespace+"/"+claimName)
    }
    
    // hasPodReference checks if there is at least one claim
    // that is referenced by the pod with the given UID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		// valid case with existing volume and file to delete.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "success-file",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		// The file was deleted in the last  case, so Delete should not fail.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "success-file",
    			expectedErr: nil,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/stackcheck.go

    		if _, ok := nodes[sym]; !ok {
    			// We already deleted this node.
    			return false, 0
    		}
    		delete(nodes, sym)
    
    		if origin == sym {
    			// We found an unrooted cycle. We already
    			// deleted all children of this node. Walk
    			// back up, tracking the lowest numbered
    			// symbol in this cycle.
    			return true, sym
    		}
    
    		// Delete children of this node.
    		for _, out := range sc.graph[sym] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. src/cmd/fix/fix.go

    			if oldImport != impspec {
    				continue
    			}
    
    			// We found an import spec that imports path.
    			// Delete it.
    			deleted = true
    			copy(gen.Specs[j:], gen.Specs[j+1:])
    			gen.Specs = gen.Specs[:len(gen.Specs)-1]
    
    			// If this was the last import spec in this decl,
    			// delete the decl, too.
    			if len(gen.Specs) == 0 {
    				copy(f.Decls[i:], f.Decls[i+1:])
    				f.Decls = f.Decls[:len(f.Decls)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
Back to top