- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,291 for getUid (0.11 sec)
-
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) -
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) -
staging/src/k8s.io/apiserver/pkg/authentication/user/user.go
type Info interface { // GetName returns the name that uniquely identifies this user among all // other active users. GetName() string // GetUID returns a unique value for a particular user that will change // if the user is removed from the system and another user is added with // the same name. GetUID() string // GetGroups returns the names of the groups the user is a member of GetGroups() []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 24 16:21:55 UTC 2020 - 2.6K bytes - Viewed (0) -
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) -
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) -
src/syscall/creds_test.go
} switch err { case syscall.EPERM, syscall.EINVAL: default: t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err) } } ucred.Pid = int32(os.Getpid()) ucred.Uid = uint32(os.Getuid()) ucred.Gid = uint32(os.Getgid()) oob := syscall.UnixCredentials(&ucred) // On SOCK_STREAM, this is internally going to send a dummy byte n, oobn, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 02:43:05 UTC 2022 - 3.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/fs_resource_analyzer.go
for _, pod := range s.statsProvider.GetPods() { if value, found := oldCache[pod.GetUID()]; !found { newCache[pod.GetUID()] = newVolumeStatCalculator(s.statsProvider, s.calcPeriod, pod, s.eventRecorder).StartOnce() } else { newCache[pod.GetUID()] = value } } // Stop entries for pods that have been deleted for uid, entry := range oldCache {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 09 16:16:37 UTC 2021 - 3.3K bytes - Viewed (0) -
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) -
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) -
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)