Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 434 for getUid (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    	}
    	if e, a := "a", typeAccessor.GetAPIVersion(); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    	if e, a := "b", typeAccessor.GetKind(); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    
    	accessor.SetNamespace("baz")
    	accessor.SetName("bar")
    	accessor.SetGenerateName("generate")
    	accessor.SetUID("other")
    	typeAccessor.SetAPIVersion("c")
    	typeAccessor.SetKind("d")
    	accessor.SetResourceVersion("2")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    		return
    	}
    	u.setNestedField(generateName, "metadata", "generateName")
    }
    
    func (u *Unstructured) GetUID() types.UID {
    	return types.UID(getNestedString(u.Object, "metadata", "uid"))
    }
    
    func (u *Unstructured) SetUID(uid types.UID) {
    	if len(string(uid)) == 0 {
    		RemoveNestedField(u.Object, "metadata", "uid")
    		return
    	}
    	u.setNestedField(string(uid), "metadata", "uid")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		return nil
    	}
    
    	user := &kubecontainer.ContainerUser{}
    	if statusUser.GetLinux() != nil {
    		user.Linux = &kubecontainer.LinuxContainerUser{
    			UID:                statusUser.GetLinux().GetUid(),
    			GID:                statusUser.GetLinux().GetGid(),
    			SupplementalGroups: statusUser.GetLinux().GetSupplementalGroups(),
    		}
    	}
    
    	return user
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go

    func Getgid() (gid int) {
    	r0, _ := RawSyscallNoError(SYS_GETGID32, 0, 0, 0)
    	gid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getuid() (uid int) {
    	r0, _ := RawSyscallNoError(SYS_GETUID32, 0, 0, 0)
    	uid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getegid() (egid int) {
    	r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
    	egid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Geteuid() (euid int) {
    	r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
    	euid = int(r0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int fchmod(int, unsigned int);
    int fchmodat(int, uintptr_t, unsigned int, int);
    int fchownat(int, uintptr_t, int, int, int);
    int fdatasync(int);
    int getpgid(int);
    int getpgrp();
    int getpid();
    int getppid();
    int getpriority(int, int);
    int getrusage(int, uintptr_t);
    int getsid(int);
    int kill(int, int);
    int syslog(int, uintptr_t, size_t);
    int mkdir(int, uintptr_t, unsigned int);
    int mkdirat(int, uintptr_t, unsigned int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_freebsd_arm.go

    	SYS_GETPID                   = 20  // { pid_t getpid(void); }
    	SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
    	SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
    	SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
    	SYS_GETUID                   = 24  // { uid_t getuid(void); }
    	SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_GETPID                   = 20  // { pid_t getpid(void); }
    	SYS_MOUNT                    = 21  // { int mount(char *type, char *path, \
    	SYS_UNMOUNT                  = 22  // { int unmount(char *path, int flags); }
    	SYS_SETUID                   = 23  // { int setuid(uid_t uid); }
    	SYS_GETUID                   = 24  // { uid_t getuid(void); }
    	SYS_GETEUID                  = 25  // { uid_t geteuid(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  9. misc/wasm/wasm_exec.js

    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    	}
    
    	if (!globalThis.process) {
    		globalThis.process = {
    			getuid() { return -1; },
    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    			chdir() { throw enosys(); },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_GETPID        = 20  // { pid_t getpid(void); }
    	SYS_MOUNT         = 21  // { int mount(char *type, char *path, int flags, \
    	SYS_UNMOUNT       = 22  // { int unmount(char *path, int flags); }
    	SYS_SETUID        = 23  // { int setuid(uid_t uid); }
    	SYS_GETUID        = 24  // { uid_t getuid(void); }
    	SYS_GETEUID       = 25  // { uid_t geteuid(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
Back to top