Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,144 for getUid (0.44 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors_test.go

    			uid := fmt.Sprintf("test.configuration.admission/%s/0", orig.Name)
    			accessor := NewMutatingWebhookAccessor(uid, "test.configuration.admission", orig)
    			if uid != accessor.GetUID() {
    				t.Errorf("expected GetUID to return %s, but got %s", accessor.GetUID(), uid)
    			}
    			m, ok := accessor.GetMutatingWebhook()
    			if !ok {
    				t.Errorf("expected GetMutatingWebhook to return ok for mutating webhook accessor")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/os/proc.go

    }
    
    func runtime_args() []string // in package runtime
    
    // Getuid returns the numeric user id of the caller.
    //
    // On Windows, it returns -1.
    func Getuid() int { return syscall.Getuid() }
    
    // Geteuid returns the numeric effective user id of the caller.
    //
    // On Windows, it returns -1.
    func Geteuid() int { return syscall.Geteuid() }
    
    // Getgid returns the numeric group id of the caller.
    //
    // On Windows, it returns -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat fstat ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/NotMostRecentlyUsedDaemonExpirationStrategy.java

                Date daemonAccessTime = daemonInfo.getLastBusy();
                if (daemonAccessTime.after(mruTimestamp)) {
                    mruUid = daemonInfo.getUid();
                    mruTimestamp = daemonAccessTime;
                }
            }
            return thisDaemonContext.getUid().equals(mruUid);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref.go

    func IsControlledBy(obj Object, owner Object) bool {
    	ref := GetControllerOfNoCopy(obj)
    	if ref == nil {
    		return false
    	}
    	return ref.UID == owner.GetUID()
    }
    
    // GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller
    func GetControllerOf(controllee Object) *OwnerReference {
    	ref := GetControllerOfNoCopy(controllee)
    	if ref == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 05:14:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/runtime/security_aix.go

    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = !(getuid() == geteuid() && getgid() == getegid())
    }
    
    func isSecureMode() bool {
    	return secureMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 449 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top