Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,012 for deleteSV (0.15 sec)

  1. 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)
  2. 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)
  3. pilot/test/mock/config.go

    				t.Errorf("Events are not serialized (delete)")
    			}
    			deleted.Inc()
    		}
    		log.Infof("Added %d, deleted %d", added.Load(), deleted.Load())
    	})
    	go cache.Run(stop)
    
    	// run map invariant sequence
    	CheckMapInvariant(store, t, namespace, n)
    
    	log.Infof("Waiting till all events are received")
    	retry.UntilOrFail(t, func() bool {
    		return added.Load() == n64 && deleted.Load() == n64
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K 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. hack/testdata/CRD/multi-crd-list-deleted-field.yaml

    Nikhita Raghunath <******@****.***> 1506872372 +0530
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 307 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go

    	createdNoxuInstance, err := instantiateCustomResource(t, instance, noxuResourceClient, noxuDefinition)
    	require.NoError(t, err)
    
    	// Delete a CR. Because there's a finalizer, it will not get deleted now.
    	uid := createdNoxuInstance.GetUID()
    	err = noxuResourceClient.Delete(context.TODO(), name, metav1.DeleteOptions{
    		Preconditions: &metav1.Preconditions{
    			UID: &uid,
    		},
    	})
    	require.NoError(t, err)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  8. samples/tcp-echo/README.md

        hello world
        pod "dummy" deleted
        ```
    
        As you observe, sending _world_ on a TCP connection to the server results in
        the server prepending _hello_ and echoing back with _hello world_.
    
    1. To clean up, execute the following command:
    
        ```console
        $ kubectl delete -f tcp-echo.yaml
        service "tcp-echo" deleted
        deployment.apps "tcp-echo" deleted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 28 07:41:56 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    				clienttesting.NewListAction(podGVR, podGVK, defaultNS, metav1.ListOptions{}),
    				// Fails too
    				clienttesting.NewUpdateAction(pvcGVR, defaultNS, deleted(pvc())),
    				clienttesting.NewListAction(podGVR, podGVK, defaultNS, metav1.ListOptions{}),
    				// Succeeds
    				clienttesting.NewUpdateAction(pvcGVR, defaultNS, deleted(pvc())),
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top