- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 201 for uids (0.06 sec)
-
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) -
pkg/api/v1/endpoints/util_test.go
package endpoints import ( "reflect" "testing" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/dump" ) func podRef(uid string) *v1.ObjectReference { ref := v1.ObjectReference{UID: types.UID(uid)} return &ref } func TestPackSubsets(t *testing.T) { // The downside of table-driven tests is that some things have to live outside the table.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 16.6K 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) -
common-protos/k8s.io/api/batch/v1/generated.proto
} // UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't // been accounted in Job status counters. message UncountedTerminatedPods { // succeeded holds UIDs of succeeded Pods. // +listType=set // +optional repeated string succeeded = 1; // failed holds UIDs of failed Pods. // +listType=set // +optional repeated string failed = 2;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
} for _, uid := range uids { if _, ok := w.holds[uid]; !ok { w.holds[uid] = make(chan struct{}) } } } func (w *timeIncrementingWorkers) ReleaseWorkers(uids ...types.UID) { w.lock.Lock() defer w.lock.Unlock() w.ReleaseWorkersUnderLock(uids...) } func (w *timeIncrementingWorkers) ReleaseWorkersUnderLock(uids ...types.UID) { for _, uid := range uids {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/controller/controller_utils.go
u.uidStoreLock.Lock() defer u.uidStoreLock.Unlock() uids := u.GetUIDs(rcKey) if uids != nil && uids.Has(deleteKey) { logger.V(4).Info("Controller received delete for pod", "controller", rcKey, "key", deleteKey) u.ControllerExpectationsInterface.DeletionObserved(logger, rcKey) uids.Delete(deleteKey) } } // DeleteExpectations deletes the UID set and invokes DeleteExpectations on the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K 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)