Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rmdir (0.15 sec)

  1. cni/test/install_cni.go

    	testWorkRootDir := getEnv("TEST_WORK_ROOTDIR", "/tmp")
    
    	tempCNIConfDir := mktemp(testWorkRootDir, "cni-conf-", t)
    	defer rmDir(tempCNIConfDir, t)
    	tempCNIBinDir := mktemp(testWorkRootDir, "cni-bin-", t)
    	defer rmDir(tempCNIBinDir, t)
    	tempK8sSvcAcctDir := mktemp(testWorkRootDir, "kube-svcacct-", t)
    	defer rmDir(tempK8sSvcAcctDir, t)
    
    	populateTempDirs(wd, cniConfDirOrderedFiles, tempCNIConfDir, tempK8sSvcAcctDir, t)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. Jenkinsfile.s390x

                                sh "rm -rvf $WORK_DIR/dists $WORK_DIR/it-local-repo"
                            } else {
                                bat "if exist it-local-repo rmdir /s /q it-local-repo"
                                bat "if exist dists         rmdir /s /q dists"
                            }
                            dir('dists') {
                              unstash 'maven-dist-s390x'
                            }
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    fun BuildFeatures.publishBuildStatusToGithub(model: CIBuildModel) {
        if (model.publishStatusToGitHub) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    	defer stopFn(err)
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return err
    	}
    
    	switch r.Method {
    	case "Setstat", "Rename", "Link", "Symlink":
    		return NotImplemented{}
    
    	case "Rmdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("deleting all buckets not allowed")
    		}
    
    		cctx, cancel := context.WithCancel(context.Background())
    		defer cancel()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                          TF_Status* status) {
      if (rmdir(path) != 0)
        TF_SetStatusFromIOError(status, errno, path);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static void RenameFile(const TF_Filesystem* filesystem, const char* src,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_redirect.go

    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    	if len(redir.excludeInboundPorts) > 0 && redir.excludeInboundPorts[len(redir.excludeInboundPorts)-1] != ',' {
    		redir.excludeInboundPorts += ","
    	}
    	redir.excludeInboundPorts += "15020,15021,15090"
    	redir.excludeInboundPorts = strings.Join(dedupPorts(splitPorts(redir.excludeInboundPorts)), ",")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.POSTROUTING, iptablesconstants.NAT,
    		"-j", ChainHostPostrouting,
    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top