Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for DELETING (0.24 sec)

  1. src/packaging/common/scripts/postrm

        fi
    
        if command -v update-rc.d >/dev/null; then
            update-rc.d fess remove >/dev/null || true
        fi
    fi
    
    if [ "$REMOVE_DIRS" = "true" ]; then
        if [ -d "$PID_DIR" ]; then
            echo -n "Deleting PID directory..."
            rm -rf "$PID_DIR" && echo " OK" || echo " ERROR: unable to delete directory [$PID_DIR]"
        fi
    fi
    
    if [ "$REMOVE_USER_AND_GROUP" = "true" ]; then
        if id "$FESS_USER" > /dev/null 2>&1 ; then
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  2. src/os/removeall_at.go

    	}
    
    	// Simple case: if Remove works, we're done.
    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/podgccontroller.go

    	if o == nil {
    		return
    	}
    
    	fs.Int32Var(&o.TerminatedPodGCThreshold, "terminated-pod-gc-threshold", o.TerminatedPodGCThreshold, "Number of terminated pods that can exist before the terminated pod garbage collector starts deleting terminated pods. If <= 0, the terminated pod garbage collector is disabled.")
    }
    
    // ApplyTo fills up PodGCController config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. pkg/ledger/smt_test.go

    	assert.NoError(t, err)
    	if !bytes.Equal(root, smt.root) {
    		t.Fatal("deleting a default key shouldn't modify the tree")
    	}
    }
    
    // test updating and deleting at the same time
    func TestTrieUpdateAndDelete(t *testing.T) {
    	smt := newSMT(hasher, nil, time.Minute)
    	key0 := make([]byte, 8)
    	values := getFreshData(1)
    	root, _ := smt.Update([][]byte{key0}, values)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/copy.go

    		// When calling os.Rename(), an "invalid cross-device link" error may occur
    		// if the source and destination files are on different file systems.
    		// In this case, the file is moved by copying and then deleting the source file,
    		// although it is less efficient than os.Rename().
    		klog.V(4).Infof("cannot rename %v to %v due to %v, attempting an alternative method", src, dest, err)
    		if err := CopyFile(src, dest); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pod/mirror_client.go

    		klog.ErrorS(err, "Failed to parse a pod full name", "podFullName", podFullName)
    		return false, err
    	}
    
    	var uidValue types.UID
    	if uid != nil {
    		uidValue = *uid
    	}
    	klog.V(2).InfoS("Deleting a mirror pod", "pod", klog.KRef(namespace, name), "podUID", uidValue)
    
    	var GracePeriodSeconds int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 21 11:38:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    }
    
    // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
    func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) {
    	if !isDryRun {
    		fmt.Printf("[reset] Deleting contents of directories: %v\n", dirsToClean)
    		for _, dir := range dirsToClean {
    			if err := CleanDir(dir); err != nil {
    				klog.Warningf("[reset] Failed to delete contents of %q directory: %v", dir, err)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/FileBackedOutputStream.java

     * in CVE number once it's available.)
     *
     * <p>Temporary files created by this stream may live in the local filesystem until either:
     *
     * <ul>
     *   <li>{@link #reset} is called (removing the data in this stream and deleting the file), or...
     *   <li>this stream (or, more precisely, its {@link #asByteSource} view) is finalized during
     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pkg/controller/podgc/metrics/metrics.go

    	DeletingPodsErrorTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      podGCController,
    			Name:           "force_delete_pod_errors_total",
    			Help:           "Number of errors encountered when forcefully deleting the pods since the Pod GC Controller started.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"namespace", "reason"},
    	)
    )
    
    const (
    	// Possible values for the "reason" label in the above metrics.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 18:06:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/controller/bootstrap/tokencleaner.go

    	logger := klog.FromContext(ctx)
    	secret := o.(*v1.Secret)
    	ttl, alreadyExpired := bootstrapsecretutil.GetExpiration(secret, time.Now())
    	if alreadyExpired {
    		logger.V(3).Info("Deleting expired secret", "secret", klog.KObj(secret))
    		var options metav1.DeleteOptions
    		if len(secret.UID) > 0 {
    			options.Preconditions = &metav1.Preconditions{UID: &secret.UID}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top