Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for getUid (0.16 sec)

  1. 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)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServices.java

            LOGGER.debug("Creating daemon context with opts: {}", configuration.getJvmOptions());
            return new DefaultDaemonContext(configuration.getUid(),
                canonicalize(Jvm.current().getJavaHome()),
                JavaLanguageVersion.current(),
                configuration.getBaseDir(),
                processEnvironment.maybeGetPid(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/os/user/cgo_lookup_unix.go

    package user
    
    import (
    	"fmt"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            daemon.start();
    
            try {
                DaemonContext daemonContext = daemonServices.get(DaemonContext.class);
                Long pid = daemonContext.getPid();
                daemonStarted(pid, daemon.getUid(), daemon.getAddress(), daemonLog);
                DaemonExpirationStrategy expirationStrategy = daemonServices.get(MasterExpirationStrategy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	if err := s.syncHostIPSets(ambientPods); err != nil {
    		log.Warnf("failed to sync host IPset: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID)
    	if err := s.buildZtunnelSnapshot(podsByUID); err != nil {
    		log.Warnf("failed to construct initial ztunnel snapshot: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	return errors.Join(consErr...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. pkg/istio-agent/agent.go

    	// will break due to permission errors if we start envoy as 1337.
    	// This is a mode used for permission-less docker, where iptables can't be
    	// used.
    	a.envoyOpts.AgentIsRoot = os.Getuid() == 0 && strings.HasSuffix(a.cfg.DNSAddr, ":53")
    
    	envoyProxy := envoy.NewProxy(a.envoyOpts)
    
    	drainDuration := a.proxyConfig.TerminationDrainDuration.AsDuration()
    	localHostAddr := localHostIPv4
    	if a.cfg.IsIPv6 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

            boolean activatedPomProfileNotByDefault = false;
    
            for (Profile profile : profiles) {
                if (!deactivatedIds.contains(profile.getId())) {
                    if (activatedIds.contains(profile.getId()) || isActive(profile, context, problems)) {
                        activeProfiles.add(profile);
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandler.java

                for (NodeState ns : nodes) {
                    if (ns.isSelected()) {
                        candidatesForConflict.add(ns);
                        if (ns.isRoot()) {
                            rootId = ns.getComponent().getId().getModule();
                        }
                    }
                }
                if (rootId != null && candidatesForConflict.size() > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top