Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,159 for deleteRS (0.14 sec)

  1. pkg/kubelet/config/config.go

    		}
    		if len(updates.Pods) > 0 {
    			s.updates <- *updates
    		}
    		if len(deletes.Pods) > 0 {
    			s.updates <- *deletes
    		}
    		if firstSet && len(adds.Pods) == 0 && len(updates.Pods) == 0 && len(deletes.Pods) == 0 {
    			// Send an empty update when first seeing the source and there are
    			// no ADD or UPDATE or DELETE pods from the source. This signals kubelet that
    			// the source is ready.
    			s.updates <- *adds
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/testing/fake_test.go

    	}
    	if len(list) != 3 {
    		t.Errorf("Expect 2 virtual servers, got: %d", len(list))
    	}
    	// Delete a virtual server
    	err = fake.DeleteVirtualServer(vs1)
    	if err != nil {
    		t.Errorf("Fail to delete virtual server: %v, error: %v", vs1, err)
    	}
    	// Check the deleted virtual server no longer exists
    	got, _ := fake.GetVirtualServer(vs1)
    	if got != nil {
    		t.Errorf("Expect nil, got: %v", got)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. pkg/controller/util/selectors/bimultimap.go

    		labeled := m.labeledBySelecting[sObject.selectorKey]
    		labeled.objects[labeledObject.key] = labeledObject
    	}
    }
    
    // Delete removes a labeled object and incoming associations.
    func (m *BiMultimap) Delete(key Key) {
    	m.mux.Lock()
    	defer m.mux.Unlock()
    	m.delete(key)
    }
    
    func (m *BiMultimap) delete(key Key) {
    	if _, ok := m.labeledObjects[key]; !ok {
    		// Does not exist.
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 21:41:32 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.cc

    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
      DLManagedTensor tensor;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. pkg/controller/daemon/daemon_controller_test.go

    	err = client.AppsV1().DaemonSets(oldDS.Namespace).Delete(context.Background(), oldDS.Name, metav1.DeleteOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	waitForQueueLength(1, "deleted DS")
    
    	_, exists, err = dsc.expectations.GetExpectations(oldDSKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if exists {
    		t.Errorf("There should be no expectations for DaemonSet %q after it was deleted", oldDSKey)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    	// Only handle add. The controller only acts on parts of the service
    	// that are immutable (e.g. name). When we create ServiceExport, we bind its
    	// lifecycle to the Service so that when the Service is deleted,
    	// k8s automatically deletes the ServiceExport.
    	c.services.AddEventHandler(controllers.EventHandler[controllers.Object]{AddFunc: c.queue.AddObject})
    
    	return c
    }
    
    func (c *autoServiceExportController) Run(stopCh <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. pkg/controller/bootstrap/tokencleaner.go

    		if len(secret.UID) > 0 {
    			options.Preconditions = &metav1.Preconditions{UID: &secret.UID}
    		}
    		err := tc.client.CoreV1().Secrets(secret.Namespace).Delete(ctx, secret.Name, options)
    		// NotFound isn't a real error (it's already been deleted)
    		// Conflict isn't a real error (the UID precondition failed)
    		if err != nil && !apierrors.IsConflict(err) && !apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	if apierrors.IsNotFound(err) || apierrors.IsConflict(err) {
    		// deleted or changed in the meantime, we'll get called again
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    	// Now we can start deleting items.  We should use the REST API to ensure that all normal admission runs.
    	// Since we control the endpoints, we know that delete collection works. No need to delete if not established.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. pkg/controller/controller_utils.go

    	// when a pod for a replica set is failed to be deleted.
    	FailedDeletePodReason = "FailedDelete"
    	// SuccessfulDeletePodReason is added in an event when a pod for a replica set
    	// is successfully deleted.
    	SuccessfulDeletePodReason = "SuccessfulDelete"
    )
    
    // RSControlInterface is an interface that knows how to add or delete
    // ReplicaSets, as well as increment or decrement them. It is used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. cmd/peer-s3-server.go

    	if err := listAllBuckets(ctx, localDrives, healBuckets, quorum); err != nil {
    		return nil, err
    	}
    
    	// include deleted buckets in listBuckets output
    	deletedBuckets := map[string]VolInfo{}
    
    	if opts.Deleted {
    		// lists all deleted buckets across drives.
    		if err := listDeletedBuckets(ctx, localDrives, deletedBuckets, quorum); err != nil {
    			return nil, err
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top