Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getUid (0.33 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		mutex.Lock()
    		defer mutex.Unlock()
    		switch action.GetVerb() {
    		case "create":
    			if obj.GetUID() != "" {
    				return true, nil, errors.New("UID must not be set on create")
    			}
    			if obj.GetResourceVersion() != "" {
    				return true, nil, errors.New("ResourceVersion must not be set on create")
    			}
    			obj.SetUID(types.UID(fmt.Sprintf("UID-%d", uidCounter)))
    			uidCounter++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_utils_test.go

    				},
    			},
    			setUID:        "set",
    			podUID:        "pod",
    			nonController: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		claim := v1.PersistentVolumeClaim{}
    		claim.SetOwnerReferences(tc.refs)
    		pod := v1.Pod{}
    		pod.SetUID(tc.podUID)
    		pod.SetName("pod")
    		set := apps.StatefulSet{}
    		set.SetUID(tc.setUID)
    		set.SetName("set")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    			fatalf("unknown test %q", name)
    		}
    	}
    
    	// On a few builders, make GOROOT unwritable to catch tests writing to it.
    	if strings.HasPrefix(os.Getenv("GO_BUILDER_NAME"), "linux-") {
    		if os.Getuid() == 0 {
    			// Don't bother making GOROOT unwritable:
    			// we're running as root, so permissions would have no effect.
    		} else {
    			xatexit(t.makeGOROOTUnwritable())
    		}
    	}
    
    	if !t.json {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	return mapper.Munmap(b)
    }
    
    //sys   Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
    //sysnb	Getgid() (gid int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getpgid(pid int) (pgid int, err error) = SYS_GETPGID
    
    func Getpgrp() (pid int) {
    	pid, _ = Getpgid(0)
    	return
    }
    
    //sysnb	Getppid() (pid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	t.Helper()
    	uids := sets.New[string]()
    	workloads := s.lookup("")
    	for _, wl := range workloads {
    		if wl.GetWorkload() != nil && uids.InsertContains(wl.GetWorkload().GetUid()) {
    			t.Fatal("Index has workloads with the same UID")
    		}
    	}
    }
    
    func (s *ambientTestServer) deletePolicy(name, ns string, kind config.GroupVersionKind,
    ) {
    	switch kind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. pkg/workloadapi/workload.pb.go

    }
    
    // Deprecated: Use Workload.ProtoReflect.Descriptor instead.
    func (*Workload) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{3}
    }
    
    func (x *Workload) GetUid() string {
    	if x != nil {
    		return x.Uid
    	}
    	return ""
    }
    
    func (x *Workload) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getgid() (gid int) {
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETGID<<4)
    	gid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getpid() (pid int) {
    	r0, _, _ := CallLeFuncWithErr(GetZosLibVec() + SYS_GETPID<<4)
    	pid = int(r0)
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                for (Profile profile : m.getProfiles()) {
                    String prefix = "profiles.profile[" + profile.getId() + "].";
    
                    validateProfileId(prefix, "id", problems, Severity.ERROR, Version.V40, profile.getId(), null, m);
    
                    if (!profileIds.add(profile.getId())) {
                        addViolation(
                                problems,
                                errOn30,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .getDelegate()
                                .getDistributionManagement()
                                .getRepository();
                        if (r.getId() != null
                                && !r.getId().isEmpty()
                                && r.getUrl() != null
                                && !r.getUrl().isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                for (Profile profile : m.getProfiles()) {
                    String prefix = "profiles.profile[" + profile.getId() + "].";
    
                    validateProfileId(prefix, "id", problems, Severity.ERROR, Version.V40, profile.getId(), null, m);
    
                    if (!profileIds.add(profile.getId())) {
                        addViolation(
                                problems,
                                errOn30,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top