Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 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. 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)
  3. 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)
  4. 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