Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 276 for getUid (0.15 sec)

  1. 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)
  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. 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)
  4. src/syscall/exec_linux_test.go

    }
    
    func TestCloneNEWUSERAndRemap(t *testing.T) {
    	for _, setgroups := range []bool{false, true} {
    		setgroups := setgroups
    		t.Run(fmt.Sprintf("setgroups=%v", setgroups), func(t *testing.T) {
    			uid := os.Getuid()
    			gid := os.Getgid()
    
    			cmd := whoamiNEWUSER(t, uid, gid, setgroups)
    			out, err := cmd.CombinedOutput()
    			t.Logf("%v: %v", cmd, err)
    
    			if uid != 0 && setgroups {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    						}
    
    						// it should have a UUID
    						createdMetadata, err := meta.Accessor(createdNoxuInstance)
    						if err != nil {
    							t.Fatal(err)
    						}
    						if e, a := createdMetadata.GetUID(), eventMetadata.GetUID(); e != a {
    							t.Errorf("expected equal UID for (expected) %v, and (actual) %v", createdNoxuInstance, watchEvent.Object)
    						}
    
    					case <-time.After(5 * time.Second):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

     * @see DaemonCompatibilitySpec
     * @see DaemonRequestContext
     */
    @ServiceScope(Scope.Global.class)
    public interface DaemonContext {
    
        /**
         * The unique identifier for this daemon.
         */
        String getUid();
    
        /**
         * The JAVA_HOME in use, as the canonical file.
         */
        File getJavaHome();
    
        JavaLanguageVersion getJavaVersion();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

            this.scheduledExecutorService = executorFactory.createScheduled("Daemon periodic checks", 1);
            this.listenerManager = listenerManager;
        }
    
        public String getUid() {
            return daemonContext.getUid();
        }
    
        public Address getAddress() {
            return connectorAddress;
        }
    
        public DaemonContext getDaemonContext() {
            return daemonContext;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/os/read_test.go

    		t.Fatalf("ReadFile %s: %v", f.Name(), err)
    	}
    
    	if string(data) != msg {
    		t.Fatalf("ReadFile: wrong data:\nhave %q\nwant %q", string(data), msg)
    	}
    }
    
    func TestReadOnlyWriteFile(t *testing.T) {
    	if Getuid() == 0 {
    		t.Skipf("Root can write to read-only files anyway, so skip the read-only test.")
    	}
    	if runtime.GOOS == "wasip1" {
    		t.Skip("no support for file permissions on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                uid, javaHome, javaVersion, daemonRegistryDir, pid, idleTimeout, priority, applyInstrumentationAgent, nativeServicesMode, Joiner.on(',').join(daemonOpts));
        }
    
        @Override
        public String getUid() {
            return uid;
        }
    
        @Override
        public File getJavaHome() {
            return javaHome;
        }
    
        @Override
        public JavaLanguageVersion getJavaVersion() {
            return javaVersion;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top