Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,431 for delete1 (0.2 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/file/DeleteSpec.java

     */
    @HasInternalProtocol
    public interface DeleteSpec {
        /**
         * Specifies the files to delete.
         *
         * @param files the list of files which should be deleted. Any type of object
         * accepted by {@link org.gradle.api.Project#files(Object...)}
         */
        DeleteSpec delete(Object... files);
    
        /**
         * Specifies whether or not symbolic links should be followed during deletion.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 01 02:14:13 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/checkpointmanager/testing/util.go

    	defer mstore.Unlock()
    	data, ok := mstore.mem[key]
    	if !ok {
    		return nil, fmt.Errorf("checkpoint is not found")
    	}
    	return data, nil
    }
    
    // Delete deletes data from the store
    func (mstore *MemStore) Delete(key string) error {
    	mstore.Lock()
    	defer mstore.Unlock()
    	delete(mstore.mem, key)
    	return nil
    }
    
    // List returns all the keys from the store
    func (mstore *MemStore) List() ([]string, error) {
    	mstore.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		return framework.QueueSkip, nil
    	}
    
    	// Pod is deleted. Return Queue when the deleted Pod has a label that matches with topologySpread's selector.
    	if podLabelsMatchSpreadConstraints(constraints, originalPod.Labels) {
    		logger.V(5).Info("a scheduled pod which matches with the pod's topology spread constraints was deleted, and the pod may be schedulable now",
    			"pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/watch/watch_test.go

    		f.Modify(testType("bar"))
    		f.Delete(testType("bar"))
    		f.Error(testType("error: blah"))
    		f.Stop()
    	}
    
    	go sender()
    	consumer(f)
    }
    
    func TestRaceFreeFake(t *testing.T) {
    	f := NewRaceFreeFake()
    
    	table := []struct {
    		t EventType
    		s testType
    	}{
    		{Added, testType("foo")},
    		{Modified, testType("qux")},
    		{Modified, testType("bar")},
    		{Deleted, testType("bar")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 15 11:34:31 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    				return false, nil
    			}
    			if watch.Deleted != watchEvent.Type {
    				return false, fmt.Errorf("expected DELETE, but got %#v", watchEvent)
    			}
    		case <-time.After(5 * time.Second):
    			return false, fmt.Errorf("gave up waiting for watch event")
    		}
    	}
    
    	return true, nil
    }
    
    // DeleteV1CustomResourceDefinition deletes a CRD and waits until it disappears from discovery.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  8. pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go

    	steps := []struct {
    		added        *v1.ConfigMap
    		updated      *v1.ConfigMap
    		deleted      *v1.ConfigMap
    		expectCalled bool
    		expectCM     *v1.ConfigMap
    	}{
    		{added: cm2},
    		{added: cm, expectCalled: true, expectCM: cm},
    		{updated: cm},
    		{updated: cm1, expectCalled: true, expectCM: cm1},
    		{deleted: cm1, expectCalled: true},
    		{deleted: cm2},
    	}
    
    	stop := make(chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/serviceaccount/tokens_controller_test.go

    		},
    
    		"deleted serviceaccount with no secrets": {
    			DeletedServiceAccount: serviceAccount(emptySecretReferences()),
    			ExpectedActions:       []core.Action{},
    		},
    		"deleted serviceaccount with missing secrets": {
    			DeletedServiceAccount: serviceAccount(missingSecretReferences()),
    			ExpectedActions:       []core.Action{},
    		},
    		"deleted serviceaccount with non-token secrets": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top