Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,291 for getUid (0.21 sec)

  1. cluster/gce/gci/apiserver_etcd_test.go

    			c := newManifestTestCase(t, kubeAPIServerManifestFileName, kubeAPIServerStartFuncName, nil)
    			defer c.tearDown()
    			tc.env.KubeHome = c.kubeHome
    			tc.env.KubeAPIServerRunAsUser = strconv.Itoa(os.Getuid())
    
    			c.mustInvokeFunc(
    				tc.env,
    				[]string{"configure-helper.sh", kubeAPIServerConfigScriptName},
    				"etcd.template",
    				"testdata/kube-apiserver/base.template",
    				"testdata/kube-apiserver/etcd.template",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 18 11:14:24 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// This accessor provides the methods needed to support matching against webhook
    	// predicates
    	namespace.NamespaceSelectorProvider
    	object.ObjectSelectorProvider
    
    	// GetUID gets a string that uniquely identifies the webhook.
    	GetUID() string
    
    	// GetConfigurationName gets the name of the webhook configuration that owns this webhook.
    	GetConfigurationName() string
    
    	// GetRESTClient gets the webhook client
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cluster/gce/gci/apiserver_kms_test.go

    			defer c.tearDown()
    
    			e := kubeAPIServerEnv{
    				KubeHome:                     c.kubeHome,
    				KubeAPIServerRunAsUser:       strconv.Itoa(os.Getuid()),
    				EncryptionProviderConfigPath: filepath.Join(c.kubeHome, "encryption-provider-config.yaml"),
    				EncryptionProviderConfig:     tc.encryptionProviderConfig,
    			}
    
    			c.mustInvokeFunc(
    				e,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  4. src/net/interface_unix_test.go

    func TestPointToPointInterface(t *testing.T) {
    	if testing.Short() {
    		t.Skip("avoid external network")
    	}
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    	if os.Getuid() != 0 {
    		t.Skip("must be root")
    	}
    
    	// We suppose that using IPv4 link-local addresses doesn't
    	// harm anyone.
    	local, remote := "169.254.0.1", "169.254.0.254"
    	ip := ParseIP(remote)
    	for i := 0; i < 3; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

                lastBusy = clock.getCurrentTime();
            }
            this.state = state;
            return this;
        }
    
        @Override
        public String getUid() {
            return context.getUid();
        }
    
        @Override
        public Long getPid() {
            return context.getPid();
        }
    
        @Override
        public Address getAddress() {
            return address;
        }
    
        public DaemonContext getContext() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonConnectDetails.java

    package org.gradle.launcher.daemon.context;
    
    import org.gradle.internal.remote.Address;
    
    /**
     * Data to identify and connect to a daemon.
     */
    public interface DaemonConnectDetails {
        String getUid();
    
        Long getPid();
    
        Address getAddress();
    
        byte[] getToken();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 893 bytes
    - Viewed (0)
  7. src/runtime/testdata/testsuid/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    )
    
    func main() {
    	if os.Geteuid() == os.Getuid() {
    		os.Exit(99)
    	}
    
    	fmt.Fprintf(os.Stdout, "GOTRACEBACK=%s\n", os.Getenv("GOTRACEBACK"))
    	f, err := os.OpenFile(os.Getenv("TEST_OUTPUT"), os.O_CREATE|os.O_RDWR, 0600)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 534 bytes
    - Viewed (0)
  8. src/runtime/os_aix.go

    }
    
    //go:nosplit
    func getuid() int32 {
    	r, errno := syscall0(&libc_getuid)
    	if errno != 0 {
    		print("getuid failed ", errno)
    		throw("getuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    func geteuid() int32 {
    	r, errno := syscall0(&libc_geteuid)
    	if errno != 0 {
    		print("geteuid failed ", errno)
    		throw("geteuid")
    	}
    	return int32(r)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonStartupInfo.java

            this.uid = uid;
            this.address = address;
            this.diagnostics = diagnostics;
        }
    
        public String getUid() {
            return uid;
        }
    
        public Address getAddress() {
            return address;
        }
    
        public @Nullable Long getPid() {
            return diagnostics.getPid();
        }
    
        /**
         * @return the diagnostics
         */
        public DaemonDiagnostics getDiagnostics() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    	GetPath() string
    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    	GetName() string
    	GetUID() string
    	GetGroups() []string
    	GetExtra() map[string][]string
    })(nil)
    
    // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top