Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for uid4 (0.03 sec)

  1. cmd/local-locker.go

    1. defer l.mutex.Unlock()
    2. if len(args.UID) == 0 {
    3. for _, resource := range args.Resources {
    4. lris, ok := l.lockMap[resource]
    5. if !ok {
    6. continue
    7. }
    8. // Collect uids, so we don't mutate while we delete
    9. uids := make([]string, 0, len(lris))
    10. for _, lri := range lris {
    11. uids = append(uids, lri.UID)
    12. }
    13.  
    14. // Delete collected uids:
    15. for _, uid := range uids {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/local-locker_test.go

    1. t.Fatal("did not get write lock")
    2. }
    3. rUIDs = append(rUIDs, uid)
    4.  
    5. // RLock twice, different uid
    6. uid = mustGetUUID()
    7. arg.UID = uid
    8. ok, err = l.RLock(ctx, arg)
    9. if err != nil {
    10. t.Fatal(err)
    11. }
    12. if !ok {
    13. t.Fatal("did not get write lock")
    14. }
    15. rResources[i] = name
    16. rUIDs = append(rUIDs, uid)
    17. }
    18. // Each Lock has m entries
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns_test.go

    1. n := NewPodNetnsProcFinder(fakeFs())
    2. pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{
    3. Name: "foo",
    4. Namespace: "bar",
    5. UID: types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"),
    6. }}
    7. podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{
    8. pod.UID: pod,
    9. })
    10. if err != nil {
    11. panic(err)
    12. }
    13. defer podUIDNetns.Close()
    14.  
    15. if len(podUIDNetns) == 0 {
    16. t.Fatal("expected to find pod netns")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns.go

    1. // dashes, which is how the UID is represented within Kubernetes.
    2. func canonicalizePodUID(uid string) types.UID {
    3. return types.UID(strings.Map(func(r rune) rune {
    4. if unicode.IsPunct(r) {
    5. r = '-'
    6. }
    7. return r
    8. }, uid))
    9. }
    10.  
    11. // Cgroup represents a linux cgroup.
    12. type Cgroup struct {
    13. HierarchyID string
    14. ControllerList string
    15. GroupPath string
    16. }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    1. func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    2. // first add all the pods as empty:
    3. for uid := range ambientPodUIDs {
    4. s.currentPodSnapshot.Ensure(string(uid))
    5. }
    6.  
    7. // populate full pod snapshot from cgroups
    8. return s.scanProcForPodsAndCache(ambientPodUIDs)
    9. }
    10.  
    11. func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*corev1.Pod) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    1. // Instead, we track which UIDs we repaired and skip them if already repaired.
    2. //
    3. // An alternative would be to write something to the Pod (status, annotation, etc).
    4. // However, this requires elevated privileges we want to avoid
    5. if uid, f := c.repairedPods[key]; f {
    6. if uid == pod.UID {
    7. log.Debugf("Skipping pod, already repaired")
    8. } else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authentication/v1/generated.proto

    1. optional string username = 1;
    2.  
    3. // A unique value that identifies this user across time. If this user is
    4. // deleted and another user by the same name is added, they will have
    5. // different UIDs.
    6. // +optional
    7. optional string uid = 2;
    8.  
    9. // The names of groups this user is a part of.
    10. // +optional
    11. repeated string groups = 3;
    12.  
    13. // Any additional information provided by the authenticator.
    14. // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

    1. private final ConcurrentMap<Object, Integer> uids =
    2. Platform.tryWeakKeys(new MapMaker()).makeMap();
    3.  
    4. private Integer getUid(Object obj) {
    5. Integer uid = uids.get(obj);
    6. if (uid == null) {
    7. // One or more integer values could be skipped in the event of a race
    8. // to generate a UID for the same object from multiple threads, but
    9. // that shouldn't be a problem.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/batch/v1/generated.proto

    1. }
    2.  
    3. // UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't
    4. // been accounted in Job status counters.
    5. message UncountedTerminatedPods {
    6. // succeeded holds UIDs of succeeded Pods.
    7. // +listType=set
    8. // +optional
    9. repeated string succeeded = 1;
    10.  
    11. // failed holds UIDs of failed Pods.
    12. // +listType=set
    13. // +optional
    14. repeated string failed = 2;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

    1. optional string username = 1;
    2.  
    3. // A unique value that identifies this user across time. If this user is
    4. // deleted and another user by the same name is added, they will have
    5. // different UIDs.
    6. // +optional
    7. optional string uid = 2;
    8.  
    9. // The names of groups this user is a part of.
    10. // +optional
    11. repeated string groups = 3;
    12.  
    13. // Any additional information provided by the authenticator.
    14. // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top