Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for rmdir (0.32 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. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top