Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for deleting (0.07 sec)

  1. tests/associations_has_many_test.go

    		t.Errorf("no error should happened when deleting pet, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Pets", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Pets").Delete(users[0].Pets[0], users[1].Pets[1]); err != nil {
    		t.Errorf("no error should happened when deleting pet, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Pets", 2, "after delete")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. tests/associations_many2many_test.go

    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Languages", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil {
    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    )
    
    func (c *Controller) deleteBrokenPod(pod *corev1.Pod) error {
    	m := podsRepaired.With(typeLabel.Value(deleteType))
    	repairLog.Infof("Pod detected as broken, deleting: %s/%s", pod.Namespace, pod.Name)
    
    	// Make sure we are deleting what we think we are...
    	preconditions := &metav1.Preconditions{
    		UID:             &pod.UID,
    		ResourceVersion: &pod.ResourceVersion,
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	inPodConfigurator.ext = podDeps
    	return configurator, inPodConfigurator, nil
    }
    
    func (cfg *IptablesConfigurator) DeleteInpodRules() error {
    	var inpodErrs []error
    
    	log.Debug("Deleting iptables rules")
    
    	inpodErrs = append(inpodErrs, cfg.executeDeleteCommands(), cfg.delInpodMarkIPRule(), cfg.delLoopbackRoute())
    	return errors.Join(inpodErrs...)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    		// remove it (the pod process is gone, but kube will keep the Pods around in
    		// a terminated || failed state - we should still do cleanup)
    		if isAnnotated && isTerminated {
    			log.Debugf("deleting pod from mesh: pod was enabled but is now terminated")
    			// Unlike the other cases, we actually want to use the "old" event for terminated job pods
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. cmd/ftp-server-driver.go

    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    		return errors.New("deleting all buckets not allowed")
    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return err
    	}
    
    	cctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    			if i.debug {
    				if obj.VersionID != "" {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s v(%s) is locked, not deleting\n", obj.Name, obj.VersionID)
    				} else {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s is locked, not deleting\n", obj.Name)
    				}
    			}
    			// add this version back to remaining versions for
    			// subsequent lifecycle policy applications
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    func (a Action) DeleteVersioned() bool {
    	return a == DeleteVersionAction || a == DeleteRestoredVersionAction
    }
    
    // DeleteAll - Returns true if the action demands deleting all versions of an object
    func (a Action) DeleteAll() bool {
    	return a == DeleteAllVersionsAction || a == DelMarkerDeleteAllVersionsAction
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/list.md

    | `minio_node_ilm_action_count_delete_restored_version_action` | Total action outcome of lifecycle checks since server start for deletion of a temporarily restored version |
    | `minio_node_ilm_action_count_delete_all_versions_action`     | Total action outcome of lifecycle checks since server start for deletion of all versions                   |
    
    ## Tier Metrics
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/MoreFiles.java

          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
      /**
       * Secure method for deleting the contents of a directory using {@code SecureDirectoryStream}.
       * Returns a collection of exceptions that occurred or null if no exceptions were thrown.
       */
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top