Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getgid (0.13 sec)

  1. pkg/controller/statefulset/stateful_set_utils.go

    func hasNonControllerOwner(claim *v1.PersistentVolumeClaim, set *apps.StatefulSet, pod *v1.Pod) bool {
    	for _, ownerRef := range claim.GetOwnerReferences() {
    		if ownerRef.UID == set.GetUID() || ownerRef.UID == pod.GetUID() {
    			if ownerRef.Controller == nil || !*ownerRef.Controller {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. src/os/exec.go

    type Signal interface {
    	String() string
    	Signal() // to distinguish from other Stringers
    }
    
    // Getpid returns the process id of the caller.
    func Getpid() int { return syscall.Getpid() }
    
    // Getppid returns the process id of the caller's parent.
    func Getppid() int { return syscall.Getppid() }
    
    // FindProcess looks for a running process by its pid.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            daemon.start();
    
            try {
                DaemonContext daemonContext = daemonServices.get(DaemonContext.class);
                Long pid = daemonContext.getPid();
                daemonStarted(pid, daemon.getUid(), daemon.getAddress(), daemonLog);
                DaemonExpirationStrategy expirationStrategy = daemonServices.get(MasterExpirationStrategy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    // (and thus cannot run as an ordinary Test function, since the testing
    // package monkey-patches those variables before running tests).
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	pid := os.Getpid()
    	if os.Getenv("GO_EXEC_TEST_PID") == "" {
    		os.Setenv("GO_EXEC_TEST_PID", strconv.Itoa(pid))
    
    		if runtime.GOOS == "windows" {
    			// Normalize environment so that test behavior is consistent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/fsys/fsys.go

    func Trace(op, path string) {
    	if !doTrace {
    		return
    	}
    	traceMu.Lock()
    	defer traceMu.Unlock()
    	fmt.Fprintf(traceFile, "%d gofsystrace %s %s\n", os.Getpid(), op, path)
    	if pattern := gofsystracestack.Value(); pattern != "" {
    		if match, _ := pathpkg.Match(pattern, path); match {
    			traceFile.Write(debug.Stack())
    		}
    	}
    }
    
    var (
    	doTrace   bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. pkg/istio-agent/agent.go

    	// will break due to permission errors if we start envoy as 1337.
    	// This is a mode used for permission-less docker, where iptables can't be
    	// used.
    	a.envoyOpts.AgentIsRoot = os.Getuid() == 0 && strings.HasSuffix(a.cfg.DNSAddr, ":53")
    
    	envoyProxy := envoy.NewProxy(a.envoyOpts)
    
    	drainDuration := a.proxyConfig.TerminationDrainDuration.AsDuration()
    	localHostAddr := localHostIPv4
    	if a.cfg.IsIPv6 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top