Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,012 for deleteSV (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/proxy/conntrack/conntrack.go

    	utilnet "k8s.io/utils/net"
    )
    
    // Interface for dealing with conntrack
    type Interface interface {
    	// ClearEntriesForIP deletes conntrack entries for connections of the given
    	// protocol, to the given IP.
    	ClearEntriesForIP(ip string, protocol v1.Protocol) error
    
    	// ClearEntriesForPort deletes conntrack entries for connections of the given
    	// protocol and IP family, to the given port.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. plugin/pkg/auth/authorizer/node/graph.go

    	for _, edge := range edgesToRemoveFromIndexes {
    		g.removeEdgeFromDestinationIndex_locked(edge)
    	}
    }
    
    // must be called under write lock
    // deletes edges from a given vertex type to a specific vertex
    // will delete each orphaned "from" vertex, but will never delete the "to" vertex
    func (g *Graph) deleteEdges_locked(fromType, toType vertexType, toNamespace, toName string) {
    	// get the "to" side
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. 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)
  9. cmd/site-replication.go

    	UpdatedAt  time.Time
    }
    
    // SRBucketDeleteOp - type of delete op
    type SRBucketDeleteOp string
    
    const (
    	// MarkDelete creates .minio.sys/buckets/.deleted/<bucket> vol entry to hold onto deleted bucket's state
    	// until peers are synced in site replication setup.
    	MarkDelete SRBucketDeleteOp = "MarkDelete"
    
    	// Purge deletes the .minio.sys/buckets/.deleted/<bucket> vol entry
    	Purge SRBucketDeleteOp = "Purge"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. 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)
Back to top