- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for uids (0.04 sec)
-
pkg/controller/job/tracking_utils.go
logger.V(4).Info("Expecting tracking finalizers removed", "key", jobKey, "podUIDs", deletedKeys) uids := u.getSet(jobKey) if uids == nil { uids = &uidSet{ key: jobKey, set: sets.New[string](), } if err := u.store.Add(uids); err != nil { return err } } uids.Lock() uids.set.Insert(deletedKeys...) uids.Unlock() return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/controller/job/tracking_utils_test.go
for i, err := range errs { if err != nil { t.Errorf("Failed adding first round of UIDs for job %s: %v", tracks[i].job, err) } } for _, track := range tracks { uids := expectations.getSet(track.job) if uids == nil { t.Errorf("Set of UIDs is empty for job %s", track.job) } else if diff := cmp.Diff(track.firstRound, sets.List(uids.set)); diff != "" { t.Errorf("Unexpected keys for job %s (-want,+got):\n%s", track.job, diff)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/controller/garbagecollector/dump.go
return toDOTNodesAndEdgesForObj(m.uidToNode, uids...) } func toDOTNodesAndEdgesForObj(uidToNode map[types.UID]*node, uids ...types.UID) ([]*dotVertex, []dotEdge) { uidsToCheck := append([]types.UID{}, uids...) interestingNodes := map[types.UID]*node{} // build the set of nodes to inspect first, then use the normal construction on the subset for i := 0; i < len(uidsToCheck); i++ { uid := uidsToCheck[i]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 17:12:33 UTC 2022 - 9.5K bytes - Viewed (0) -
pkg/kubelet/cm/dra/state/state_checkpoint.go
DriverName string // ClassName is a resource class of the claim ClassName string // ClaimUID is an UID of the resource claim ClaimUID types.UID // ClaimName is a name of the resource claim ClaimName string // Namespace is a claim namespace Namespace string // PodUIDs is a set of pod UIDs that reference a resource PodUIDs sets.Set[string]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:27 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/types/namespacedname.go
limitations under the License. */ package types // NamespacedName comprises a resource name, with a mandatory namespace, // rendered as "<namespace>/<name>". Being a type captures intent and // helps make sure that UIDs, namespaced names and non-namespaced names // do not get conflated in code. For most use cases, namespace and name // will already have been format validated at the API entry point, so we
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 10:47:59 UTC 2023 - 1.6K bytes - Viewed (0) -
pkg/controller/deployment/recreate_test.go
} }) } } func rsWithUID(uid string) *apps.ReplicaSet { d := newDeployment("foo", 1, nil, nil, nil, map[string]string{"foo": "bar"}) rs := newReplicaSet(d, fmt.Sprintf("foo-%s", uid), 0) rs.UID = types.UID(uid) return rs } func podMapWithUIDs(uids []string) map[types.UID][]*v1.Pod { podMap := make(map[types.UID][]*v1.Pod) for _, uid := range uids { podMap[types.UID(uid)] = []*v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
n := NewPodNetnsProcFinder(fakeFs()) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"), }} podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{ pod.UID: pod, }) if err != nil { panic(err) } defer podUIDNetns.Close() if len(podUIDNetns) == 0 { t.Fatal("expected to find pod netns")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/kubelet/cm/types.go
ReduceCPULimits(name CgroupName) error // GetAllPodsFromCgroups enumerates the set of pod uids to their associated cgroup based on state of cgroupfs system. GetAllPodsFromCgroups() (map[types.UID]CgroupName, error) // IsPodCgroup returns true if the literal cgroupfs name corresponds to a pod IsPodCgroup(cgroupfs string) (bool, types.UID) // Get value of memory usage for the pod Cgroup
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/types_swagger_doc_generated.go
"username": "The name that uniquely identifies this user among all active users.", "uid": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", "groups": "The names of groups this user is a part of.", "extra": "Any additional information provided by the authenticator.", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/generated.proto
optional string username = 1; // A unique value that identifies this user across time. If this user is // deleted and another user by the same name is added, they will have // different UIDs. // +optional optional string uid = 2; // The names of groups this user is a part of. // +optional // +listType=atomic repeated string groups = 3; // Any additional information provided by the authenticator.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5.3K bytes - Viewed (0)